Overview β’ Features β’ Installation β’ Architecture β’ Usage β’ Requirements
AI Math Tutor helps students solve math problems by taking a photo and getting AI-powered step-by-step explanations. The app uses OpenAI's gpt-4o-2024-08-06 model to analyze problems and provide detailed solutions.
- πΈ Capture homework problems with camera
- π― Interactive cropping with adjustable bounding box
- π€ AI-powered problem analysis
- π Step-by-step solution explanations
- π¬ Follow-up questions support
- π History of past questions and answers
- Clone the repository
- Open
ai tutors.xcodeproj - Add your OpenAI API key to
OpenAIService.swift - Build and run
- Views: SwiftUI-based UI components
- ViewModels: MVVM architecture with Combine
- Services: OpenAI API integration
- Models: Data structures for questions/answers
- Utils: Image processing helpers
- Launch app and allow camera access
- Take photo of math problem
- Adjust crop area with bounding box
- Confirm to send to AI for analysis
- View step-by-step solution
- Ask follow-up questions if needed
- iOS 17.0+
- Xcode 15.0+
- Swift 5.9+
- OpenAI API key
- Camera access
This project is licensed under the MIT License - see the LICENSE file for details.