錯誤:
tesserocr.cpp:653:10: fatal error: leptonica/allheaders.h: 沒有那個文件或目錄
#include "leptonica/allheaders.h"
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
解決辦法: sudo apt install libleptonica-dev
sudo apt install libtesseract-dev
原文:https://blog.csdn.net/u011148366/article/details/75674845
