Skip to content

m-learning/georgian-ocr-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

378 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Georgian OCR

Requierments

Ubuntu

apt install python-tk
apt install libffi-dev
apt install python-opencv

pip install tensorflow
pip install keras
pip install cairocffi
pip install editdistance
pip install matplotlib
pip install nose2
pip install h5py

cp fonts/* /usr/share/fonts/truetype

Arch Linux

pacman -Sy opencv

pip2 install tensorflow
pip2 install keras
pip2 install cairocffi
pip2 install matplotlib
pip2 install image
pip2 install h5py
pip2 install elasticsearch

mkdir -f ~/.fonts
cp bulk_fonts/latin/* ~/.fonts/
cp bulk_fonts/utf-8/* ~/.fonts/

Learn

bin/learn.sh

Predict

save model file model.h5 to results/data from release page then

python geo_ocr/read.py -i tests/mnatobi-lines.png --debug

Model and Test files

see releases page

Use as module

pip install .
import geo_ocr
geo_ocr.train()
geo_ocr.read(path)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors