Hi Eddie,
I'd suggest contacting the author of the PHP wrapper, that isn't
something provided by the core Tesseract project, and it doesn't
look like any issue with Tesseract proper, just with the caller.
Nick
On Wed, Jun 25, 2014 at 12:36:59AM -0700, Eddie G wrote:
> 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.
--
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/20140625190144.GA13360%40manta.lan.
For more options, visit https://groups.google.com/d/optout.