Just to add one point:

By chance is it assuming it to be English if I don't mention -l <*lang*>?

In any case, what option/argument should be given for detecting script?

Regards,
Chirag


On Wed, Mar 14, 2012 at 3:22 PM, Chirag <[email protected]> wrote:

> Hi all,
>
> I was able to successfully test orientation detection (after stepping
> though the code) for various scripts using following commands:
>
> English: tesseract.exe  english_doc.tif  test_osd -l eng -psm 0
> Japanese: tesseract.exe  japanese_doc.tif  test_osd -l jpn -psm 0
> Korean: tesseract.exe  korean_doc.tif  test_osd -l kor -psm 0
>
> In these cases, the executable search for eng.traineddata, jpn.traineddata
> and kor.traineddata respectively along with osd.traineddata.
>
> The performance is really good.
>
>
> However, it seems like Tesseract is detecting orientation given script.
>
>
> If I run the executable as following:
>
> Japanese: tesseract.exe  japanese_doc.tif  test_osd  -psm 0
> Korean: tesseract.exe  korean_doc.tif  test_osd  -psm 0
>
> The results are not good. It seems like script detection is not robust.
>
> Am I missing some step? Kindly clarify.
>
>
> Regards,
> Chirag
>
>
>
> On Sat, Mar 3, 2012 at 7:12 PM, koray <[email protected]> wrote:
>
>>  OSD returns emty text when I tried. Can anyone please clarify if
>> this is a bug or I m doing things wrong?
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "tesseract-ocr" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/tesseract-ocr?hl=en
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to