遇到问题:
后续为了能够在特殊需求下训练自身的样本字体,需要使用jTessBoxEditor做训练,其中一个步骤就是要使用unicharset_extractor提取字符集文件,但是提示unicharset_extractor: command not found错误原因是因为安装tesseract时候没有安装训练工具集tesseract training tools。
解决方案:
卸载原先tesseract:brew uninstall tesseract
安装tesseract:brew install --with-training-tools tesseract
如果提示(出错)tesseract:XQuartz is required to install this formula. X11Requirment unsatiffied!
需要先安装brew cask install xquartz, 在执行 brew install --with-training-tools tesseract
网友评论