Mac上的默认tesseract安装文件夹在哪里? [英] Where is the default tesseract installation folder on a mac?
问题描述
我刚刚通过自制软件安装了tesseract,我需要在tessdata文件夹中放入一些文件,但是在Mac上找不到它.
I've just installed tesseract through homebrew, I need to put some files inside the tessdata folder but I can't find it anywhere on my mac.
我在查找器中搜索了"tesseract",但搜索未返回任何内容,我也无法在Google上找到任何内容.
I searched for "tesseract" in the finder and the search returned nothing, I couldn't find anything on google either.
推荐答案
如果是通过brew安装的,请尝试运行brew list tesseract
If you installed it through brew, try running brew list tesseract
就我而言,它给出了以下位置:
In my case it gave out the following locations:
MBP-2:/ joantune$ brew list tesseract
/usr/local/Cellar/tesseract/3.04.01_1/bin/tesseract
/usr/local/Cellar/tesseract/3.04.01_1/include/tesseract/ (27 files)
/usr/local/Cellar/tesseract/3.04.01_1/lib/libtesseract.3.dylib
/usr/local/Cellar/tesseract/3.04.01_1/lib/pkgconfig/tesseract.pc
/usr/local/Cellar/tesseract/3.04.01_1/lib/ (2 other files)
/usr/local/Cellar/tesseract/3.04.01_1/share/man/ (11 files)
/usr/local/Cellar/tesseract/3.04.01_1/share/tessdata/ (27 files)
端口和其他端口应具有类似的命令.
Port and others should have similar commands.
您可以随时在终端上按cd / && sudo find . -iname tesseract
You can always go on the terminal and cd / && sudo find . -iname tesseract
这篇关于Mac上的默认tesseract安装文件夹在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!