/ImageReader

Using Flask and Tesseract this website is able to read all the text written in an image using OCR (Optical Character Recognition).

Primary LanguageJavaScript

ImageReader

This website is able to read all the text written in an image using OCR (Optical Character Recognition). It uses Flask (back-end) and as front-end framework Material Design Bootstrap (jQuery edition).

Homepage

Home page

Scan results

Scan result

Setup

Install requirements

UNIX

pip3 install -r requirements.txt

Windows

pip install -r requirements.txt

Setup Tesseract path

Insert Tesseract file path in main.py (line 54):

# Example: r'D:\TesseractOCR\tesseract'
pytesseract.pytesseract.tesseract_cmd = r'<path_to_tesseract_exe>'

Start Flask webserver

UNIX

python3 main.py

Windows

python main.py

PS: The webserver will start on the port 5000