Hello,

Just got started with Tesseract, and from a command prompt, I can do, 
"C:\\Program Files\\Tesseract-OCR\\tesseract.exe" I:\\OCR\\arf-0026.pbm 
"I:\\OCR\\aa"  --psm 6 --dpi 300 successfully, no problem.

However, in trying to replicate this in a perl script, I cannot work in 
those { --psm 6 --dpi 300 } params.

Without getting in the --psm 6, I get an 'Empty page!!' result.

I have tried  my @args = ('I:\\OCR\\arf-0026.pbm',  'I:\\OCR\\aa', ' --psm 
6',  ' --dpi 300'), 

by way of -->  system("C:\\Program Files\\Tesseract-OCR\\tesseract.exe", 
@args);

but that leads to --> read_params_file: Can't open  --psm 6 <--

Must be simple but I am stuck. thanks





-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/4e03f45b-afe5-4fff-91c4-09df91047566%40googlegroups.com.

Reply via email to