Skip to content

archiviofontiorali/afor-ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.