问题
由 tif
图片生成 box
的过程中出现如下错误:
read_params_file: Can't open batch.nochop
read_params_file: Can't open makebox
解决方法
下载源码,将 https://github.com/tesseract-ocr/tesseract/tree/master/tessdata
目录拷贝至 /usr/local/share/tessdata
。
之后使用 export TESSDATA_PREFIX=/usr/local/share/
即可。