0
我试图用https://uk.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html错误运行从MATLAB
什么是错误的线2和3的含义运行从MATLAB正方体的tesseract 3.04-OCR为外部命令?
1 !tesseract im.tif imTif
2 >> tesseract: /usr/local/MATLAB/R2016b/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/liblept.so.5)
3 >> tesseract: symbol lookup error: tesseract: undefined symbol: _ZN9tesseract19TessBoxTextRendererC1EPKc
Tesseract在Linux终端中正常运行,但我可以在一系列MATLAB函数中调用该函数。
由于
它看起来可能是路径问题?您可能想尝试指定tesseract的完整路径?检查MATLAB可用的系统路径可能也很明显:https://www.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html – DMR
@DMR,我已添加tesseract到系统包,如上面链接中所建议的。 – roadRunner