We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am using Centos 5 with tesseract-2.04-2.
When I use tesseract on console I can only read .tif image, for other it does not recognise the type.
But in my script it does not even read the tif, juste return empty string.
This is how I am using it.
include('TesseractOCR.php'); if (isset($_FILES['file'])) { $tesseract = new TesseractOCR($_FILES['file']['tmp_name']); $result = $tesseract->recognize(); }
include('TesseractOCR.php');
if (isset($_FILES['file'])) {
$tesseract = new TesseractOCR($_FILES['file']['tmp_name']);
$result = $tesseract->recognize();
}
Any idea where I am going wrong with it.
The text was updated successfully, but these errors were encountered:
Did you get any error? I also got empty string but with error message where it could not get the file from temp folder because it could not locate it
Sorry, something went wrong.
No branches or pull requests
Hi,
I am using Centos 5 with tesseract-2.04-2.
When I use tesseract on console I can only read .tif image, for other it does not recognise the type.
But in my script it does not even read the tif, juste return empty string.
This is how I am using it.
include('TesseractOCR.php');
if (isset($_FILES['file'])) {
$tesseract = new TesseractOCR($_FILES['file']['tmp_name']);
$result = $tesseract->recognize();
}
Any idea where I am going wrong with it.
The text was updated successfully, but these errors were encountered: