ocr-php-tesseract-example icon indicating copy to clipboard operation
ocr-php-tesseract-example copied to clipboard

render result is blank

Open mikeetsai opened this issue 8 years ago • 0 comments

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

mikeetsai avatar Jun 30 '16 06:06 mikeetsai