hello all
i have to run tesseract in php project with exec command
but the exec will crash on start of tesseract working
my code is something like this
foreach($files as $key=>$fil){
exec("tesseract $fil $html -l eng -psm 6 hocr > /home/t/$key.txt ");
}
print('1000');
but this code crash the exec and script dont continue hish job
and thats amazing the tesseract will work and ocr all pages!!!