baopham1340 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Unable to detect orientation #1345

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Rotate image
2. Process the image with pagesegmode set to auto osd
3. Detect orientation

What is the expected output? What do you see instead?
I expect the orientation to tell me what the orientation of the image is. 
Instead the orientation is always page up. 

What version of the product are you using? On what operating system?
3.02 on windows 7

Please provide any additional information below.
I have taught tesseract a new font which helps pick up this image with 91% mean 
confidence. However when I rotate the image I'm unable to detect the 
orientation. I have attached the image file. 

Original issue reported on code.google.com by adee...@gmail.com on 17 Oct 2014 at 12:55

Attachments:

GoogleCodeExporter commented 9 years ago
Can you provide more detail what you did?
I tried this (with recent repository code):
    tesseract Original.JPG - -psm 0
and I got:
    Too few characters. Skipping this page
e.g. there is not enough characters for orientation and script detection...

Original comment by zde...@gmail.com on 20 Feb 2015 at 10:27

GoogleCodeExporter commented 9 years ago
Close because of missing input from reporter

Original comment by zde...@gmail.com on 17 Apr 2015 at 8:12