An intelligent study card generator that uses Google's Gemini AI to extract information from images and PDFs to create Anki-compatible flashcards.
- 📷 Upload images containing text (documents, notes, screenshots)
- 📄 Upload PDF files (textbooks, papers, lecture notes)
- 🤖 AI-powered text extraction using Gemini Vision and Document AI
- 📚 Custom study material generation based on your learning goals
- 🎯 Anki-compatible deck export (.apkg format)
- 🎨 Beautiful Gradio web interface
- Install dependencies:
pip install -r requirements.txt- Set up your Google API key:
- Get a Gemini API key from Google AI Studio
- Create a
.envfile with your API key:
GOOGLE_API_KEY=your_api_key_here
- Run the application:
python app.py- Upload an image or PDF containing text you want to study
- Describe what kind of study materials you want (e.g., "vocabulary words", "historical facts", "math formulas")
- Let the AI extract information and generate study cards
- Download the generated Anki deck (.apkg file)
- Import into Anki for studying
- Python 3.8+
- Google Gemini API key
- Anki (for importing the generated decks)
-
Images: JPEG, PNG, GIF, BMP, TIFF, WebP
- Handwritten notes
- Screenshots of presentations
- Scanned documents
- Whiteboard photos
-
PDFs: Text-based and scanned PDFs
- Research papers
- Textbooks
- Lecture notes
- Study guides