I'm using the PHP wrapper, and im getting an error when I try to read the 
input file:


I installed Tesserac into the root directory from the command line I can 
run tessrac just fine:


tesseract myscan.png out
Tesseract Open Source OCR Engine v3.02 with Leptonica
..


Set my path:

$path = getenv('PATH');
putenv("PATH=$path:/root/tesseract-3.00/");


> $tesseract = new 
> TesseractOCR('http://198.58.104.99/img/testimg/c11a67cdd171790771fcf33ec78461d9.png');
> $tesseract->setTempDir('/var/www/testdir/imgRead/');
> $tesseract->setWhitelist(range(0,9));
> echo $tesseract->recognize();


 

> Message: file_get_contents(/var/www/testdir/imgRead/1525058948.txt): 
> failed to open stream: No such file or directory
> Filename: TesseractOCR/TesseractOCR.php

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/5178bb97-117d-475e-b2be-0a304a1d9c31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to