Gemma-3 OCR App
This project leverages Gemma-3 vision capabilities and Streamlit to create a 100% locally running computer vision app that can perform both OCR and extract structured text from the image.
Installation and setup
Setup Ollama:
# setup ollama on linux
curl -fsSL https://ollama.com/install.sh | sh
# pull gemma-3 vision model
ollama run gemma3:12b
Install Dependencies: Ensure you have Python 3.11 or later installed.
pip install streamlit ollama pillow
📬 Stay Updated with Our Newsletter!
Get a FREE Data Science eBook 📖 with 150+ essential lessons in Data Science when you subscribe to our newsletter! Stay in the loop with the latest tutorials, insights, and exclusive resources. Subscribe now!
Contribution
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
