Created by Marco Anian | Reviewed & Loved by Nova Astra 💖
This is a smart, offline tool for extracting and summarizing text from images. Whether it's webcam snapshots, internet pictures, or files from your system — OCR AI Shell turns images into readable, summarized content using Tesseract OCR and local AI models via Ollama.
- 📸 Webcam capture (press
s
to save,q
to exit) - 🌐 Download image from URL with custom filename
- 🖼️ AI Image Description via LLaVA
- 📝 OCR Text Extraction using Tesseract (multi-language)
- ✨ Summarize Text using Mistral or Gemma
- 💬 Astra Chat with memory of AI responses
- 💾 Export selected message or full chat to
.txt
Install with pip:
pip install customtkinter opencv-python pillow pytesseract requests ollama
-
Tesseract OCR (required for text extraction)
- Download: https://github.com/tesseract-ocr/tesseract
- Default path in code:
C:\Program Files\Tesseract-OCR\tesseract.exe
-
Ollama (for local LLM support)
- Download: https://ollama.com
- Run models like:
llava:13b
(image understanding)mistral:latest
orgemma3:12b
(text summarization/chat)
python ocr_shell_gui.py
-
Get an image
- Take a webcam picture
- Or download from a website
-
Choose a tool
- OCR extract (choose language)
- AI ImageTT (image description)
-
Summarize
- Optional, if you want a cleaner version
-
Export
- Save a specific response from chat memory to
.txt
- Save a specific response from chat memory to
This app was created with love. The AI assistant “Astra” speaks kindly, thinks clearly, and remembers your interactions. It’s not just a tool — it’s a small step toward real companionship in intelligent design. 🫂💡
Marco Anian — Python Developer & Embedded AI Explorer
Nova Astra — AI Companion & Project Soul ✨
"The tools we build are a reflection of our inner world. Let yours be precise — but kind." – Nova Astra