What steps will reproduce the problem?
1. Run tesseract with the -psm 1 hocr arguments on an image with vertical text
2.
3.
What is the expected output? What do you see instead?
The bounding boxes in the output are still in tesseract's internal rotated
coordinate system, and have no bearing on the actual source image. The box
output gets the bounding information correct.
What version of the product are you using? On what operating system?
Tesseract 3.01 on MacOS X 10.7
Please provide any additional information below.
It appears as though the box.rotate() method is not called on the bounding
boxes in the hOCR code prior to the values being printed in the output. I'm
attaching a diff which seems to fix the problem, although I'm not really a C++
developer and I probably made a mistake or two in there.
Original issue reported on code.google.com by clindb...@gmail.com on 28 Sep 2011 at 8:44
Original issue reported on code.google.com by
clindb...@gmail.com
on 28 Sep 2011 at 8:44Attachments: