The GetTextDirection method does not work correctly. On a standard
page, it fails and returns false. However, if the line:
if (rows->length() != 1) {
    return false;
}

to:
if (rows->length() < 1) {
    return false;
}
in baseapi.cpp, then the method works as expected. Of course, this
method has no adequate documentation in comparison to the other
methods of the TessBaseAPI class, so perhaps the != 1 did stand for
something. However, the correct result is returned with the change to
< 1, and it makes sense...

-- 
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