トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

tips-OCR

  Open source OCR

google-tesseract

https://github.com/tesseract-ocr/tesseract

https://github.com/tesseract-ocr

NHocr

https://ja.osdn.net/projects/nhocr/

INSTALL

zypper install leptonica
## zypper install tesseract-ocr tesseract-ocr-devel
zypper install libtesseract3 tesseract-ocr tesseract-ocr-traineddata-english, tesseract-ocr-traineddata-japanese
pip3.6 install pyocr  :: PYTHON で呼び出す為;;
# install 
$ git clone git://github.com/tesseract-ocr/tesseract.git
$ git clone git://github.com/tesseract-ocr/langdata.git

# cd tesseract
$ git checkout 4.1 
# ver 4.1 を ( 最新は 5.0_
$ git submodule update --init --recursive   
# autoconf ( Error がでるので再実行 )
$ autoconf 
# autoreconf --install
# ./configure --prefix=$HOME/opt
# make
# make check
# make install
# make training
# make training-install
# # wget  tesseract-4.0.0.tar.gz
# # tar xvfz tesseract-4.0.0.tar.gz 
# # cd tesseract-4.0.0
# # ./autogen.sh
# # ./configure --prefix=$HOME/opt/tess
# # make
# # make install
# # make check

CPPFLAGS="-I$HOME/opt/includ -L$HOME/opt/lib64" pip3.7 install tesserocr

ToDO

https://qiita.com/atuyosi/items/c0933b5edf605c4a7c19

https://qiita.com/bohemian916/items/67f22ee7aeac103dd205

http://hadashi-gensan.hatenablog.com/entry/2013/10/14/170129

http://hadashi-gensan.hatenablog.com/entry/2014/01/15/135316

http://a244.hateblo.jp/entry/2015/07/28/060803