Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 837 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 837 Bytes

AFOr OCR project

Contains computer vision utils (based on OpenCV) and an OCR class based on tesseract Also contains a web application demo for AFOR OCR project built with holoviews and panel.

Installation

Install tesseract on your system (documentation)

# ubuntu
$ sudo apt install tesseract-ocr libtesseract-dev
$ sudo apt install tesseract-ocr-eng tesseract-ocr-ita tesseract-ocr-ita_old

# archlinux  
$ sudo pacman -S tesseract
$ sudo pacman -S tesseract-data-eng tesseract-data-ita tesseract-data-ita_old

Install virtual environment

# For production usage
$ make bootstrap

Launch web interface

$ make demo

How to add images

Move some .png or .jpg images in images folder and relaunch app.