ocr-php-tesseract-example
ocr-php-tesseract-example copied to clipboard
render result is blank
Hi, It's great tutorial that you have provided. I am having trouble getting the result as on the error log of apache, it says "Error in pixReadMemJpeg: tmpfile stream not opened Error in pixReadMem: jpeg: no pix returned Error during processing."
The images can be successfully upload, but just wonder render the text to the output.
I have also alter a line of code in the code you provided in order to make it work (around line 65 under public/index.php)
// Perform OCR on the uploaded image $text = $tesseract->executable('/opt/local/bin/tesseract')->run();
I am not sure what does this mean? if you share me some light on this issue?
thanks Mike