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.