1.0.0 – June 2025
This is a lightweight Flask web app that uses Tesseract OCR to extract text from uploaded images. It demonstrates how to turn AI and automation concepts into accessible, browser-based tools.
- Upload
.png
,.jpg
, or.jpeg
image files - Extract printed text using Tesseract OCR
- Display extracted text in the browser
- Simple, customizable UI with Flask and HTML/CSS
git clone https://github.com/patrickjmckee/Python_OCR_app.git
cd Python_OCR_app
Windows (Git Bash / WSL):
python -m venv venv
source venv/Scripts/activate
Windows (CMD):
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python app.py
Then open your browser to http://127.0.0.1:5000
Python_OCR_app/
│
├── app.py # Main Flask app
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── .gitignore # Git ignore rules
│
├── static/
│ └── style.css # Stylesheet
│
├── templates/
│ └── index.html # HTML template
│
└── uploads/ # Uploaded image files (excluded from Git)
- Python 3.8 or higher
- Tesseract OCR installed and added to your system PATH Tesseract installation guide
This project is actively maintained and open to feature contributions or suggestions.
This project is provided for personal and educational use.
Built using:
- Flask
- pytesseract
- Pillow
- Tesseract OCR
EOF