lundi 7 janvier 2019

Command not found in macos

Im using tesseract ocr for some development part. My programme working fine in linux environment but programme not working in my mac. tesseract command still working on command line interface. but in the programme, still given following error.

Error! The command "tesseract" was not found. Make sure you have >Tesseract OCR installed on your system: https://github.com/tesseract->ocr/tesseract The current $PATH is /usr/bin:/bin:/usr/sbin:/sbin

Steps to reproduce the behavior Add the tesseract command generated by the library, example:

$data['fileText'] = (new TesseractOCR(public_path() . $document->file_path))
->hocr()
->psm(4)
->run();

Environment

Operating system: MacOS Mojave
PHP version: 7.2 (home brew)
Tesseract version: tesseract 4.0.0
tesseract-ocr-for-php version: "thiagoalessio/tesseract_ocr": "2.7.2",



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2CVxA52
via IFTTT

Aucun commentaire:

Enregistrer un commentaire