我正在尝试使用perl从扫描的PDF中获取文本,所以我在perl中使用了PDF::OCR2模块,但我无法安装此模块,安装Image::OCR::Tesseract模块失败,我使用的是CentOS7,这是我在安装过程中的错误one dependency not OK (Image::OCR::Tesseract); additionally test harness failed sudo
我已经安装了activestate perl v5.8.8我安装了以下模块Image::OCR::Tesseract with the ppm use Image::OCR::Tesseract 'get_ocr';
我得到以下错误消息:
无效参数- -compress1024在C:/Perl/site
#Run OCR (using shell command tesseract) on img and save text as ocr_result.txtprint "GET '$txt' > ocr_result.txt\n";
system "GET '$txt' > ocr_result.tx