combine_tessdata: 找不到命令

combine_tessdata: command not found

我已经安装了 tesseract(linux mint)并使用 tesseract -v 命令我得到了

tesseract 3.03
 leptonica-1.70
  libgif 4.1.6(?) : libjpeg 8d : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8 : webp 0.4.0

但是,当我运行下面的命令

combine_tessdata -u /usr/share/tesseract-ocr/tessdata/tur.traineddata /home/hp/tur.

我明白了。

combine_tessdata: command not found

我需要什么运行 combine_tessdata 命令?我认为它应该随 tesseract 安装一起提供,还是我错过了什么?

问题已解决。我使用 linux/mint 的软件管理器安装了 tesseract。这样我就可以使用 tesseract 命令但不能使用 combine_tessdata。我删除了所有与使用软件管理器安装的 tesseract 相关的东西。

然后我下载了tesseract的源码,编译好了,终于可以用了combine_tessdata。

如果您不删除之前安装的 tesseract 库,它会传递 "command not found" 错误,但随后会出现 "segmentation fault error".