This project allows users to compare handwritten text recognition performance between different OCR (Optical Character Recognition) algorithms. It supports Pytesseract and EasyOCR algorithms and provides options to compare either letters or words from two uploaded images.
The project aims to help users understand and compare the effectiveness of different OCR algorithms when it comes to recognizing handwritten text. By providing a user-friendly interface, users can easily upload images and compare the output of Pytesseract and EasyOCR algorithms side by side.
- Supports Pytesseract and EasyOCR algorithms for text recognition.
- Allows users to compare either letters or words from two uploaded images.
- Provides a simple and intuitive interface for users to upload images and view comparison results.
Install and configure Tesseract OCR based on your operating system.
For windows, installl the Tesseract executable file from here
To run this project locally, follow these steps:
- Clone this repository:
git clone https://github.com/cobbyrecks/ocr-handwriting-comparison.git
cd OCR-Handwriting-Comparison
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
streamlit run streamlit_app.py
- Select the OCR Algorithm (Pytesseract or EasyOCR).
- Choose the comparison mode (letters or words).
- Upload two images containing handwritten text.
- Click the button to create a juxtaposed collage for comparison.
Note: The two uploaded images should be of high quality and resolution to enable the OCR algorithm to detect the letters and words effectively.
This project is licensed under the MIT License. See the LICENSE file for details.