I installed tesseract v3.01 on windows 7. I added tesseract path to the environments variables. I obtains the right output after typing this command in the cmd windows: "tesseract test.tif test".
When I try to get the same result in php using the folowing script, I get an empty array and no file is generated:
<?php
try {
exec("tesseract.exe test.tif test", $msg);
var_export($msg);
} catch (Exception $e) {
echo $e;
}
?>
Any clue ?
thanks in advance !