Where is the default tesseract installation folder on Mac?

I just installed tesseract via homebrew, I need to put some files in the tessdata folder, but I can not find it anywhere on my mac.

I searched for "tesseract" in the finder, and the search returned nothing, I also did not find anything in google.

+6
source share
1 answer

If you installed it through brew, try running the brew list tesseract

In my case, it gave out the following addresses:

 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) 

The port and others should have similar commands.

You can always connect to the terminal and cd / && sudo find . -iname tesseract cd / && sudo find . -iname tesseract

+4
source

All Articles