33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# 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**:
|
|
```bash
|
|
# 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.
|
|
```bash
|
|
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!](https://join.dailydoseofds.com)
|
|
|
|
[](https://join.dailydoseofds.com)
|
|
|
|
---
|
|
|
|
## Contribution
|
|
|
|
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
|