I used the following command line:
tesseract test_osd_cr.tif test_osd -psm 1
"-psm 1" stands for "Use automatic page segmentation with orientation
and script detection. (OSD)"
I used a copy of "eng.traineddata" as "osd.traineddata"
HTH
Warm regards,
Dmitri Silaev
www.CustomOCR.com
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesser...@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-oc...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>
Warm regards,
Dmitri Silaev
www.CustomOCR.com
Here you confuse the "DetectOS" function with the processing pipeline
invoked via command-line. The truth is that "DetectOS" *is not* (!)
called when the OSD is requested from the command line, it's only an
API wrapper having its own logic. Command-line OSD logic is somewhat
different from DetectOS's, hence the discrepancies for seemingly equal
conditions.
Warm regards,
Dmitri Silaev
www.CustomOCR.com