This is report based on
http://groups.google.com/group/tesseract-ocr/msg/d06528c479c588c6
What steps will reproduce the problem?
1. create rorated image (e.g. phototest_rotate.bmp)
2. try to use GetTextDirection (see example gettextdirectiontest.cpp)
3. result is Offset: 0 Slope: 0.00
What is the expected output? What do you see instead?
Offset: 328 Slope: 0.11
It looks like problem is in api/baseapi.cpp line:
if (rows->length() != 1) {
should be:
if (rows->length() < 1) {
Original issue reported on code.google.com by zde...@gmail.com on 27 Jul 2011 at 6:39
Original issue reported on code.google.com by
zde...@gmail.com
on 27 Jul 2011 at 6:39Attachments: