W A lightweight Flask web app that uses Microsoft’s TrOCR model from Hugging Face Transformers to recognize and extract text from uploaded handwritten images. Simply upload an image, and the app processes it to display the recognized handwriting instantly.
A simple yet powerful web application that performs handwriting recognition using Microsoft’s TrOCR model and displays the recognized text from uploaded handwritten image files.
Built with Flask (Python web framework) and Transformers (by Hugging Face).
.jpg
, .jpeg
, .png
handwritten image filesLayer | Tech |
---|---|
Backend | Python, Flask |
AI Model | microsoft/trocr-base-handwritten (Hugging Face) |
Frontend | HTML, CSS (basic) |
Image Processing | Pillow (PIL) |
git clone https://github.com/sujit-codezen/Handwriting-Recognition-Web-App.git cd handwriting-recognizer
python -m venv venv source venv/bin/activate # on Windows: venv\Scripts\activate
pip install -r requirements.txt
python app.py