TIFF Images Orientation

How can I distinguish whether TIFF Image which contains a Text if it is portrait or landscape?

Explanation:

1. TIFF image represents an A4 paper size.

2. This paper contains Text inside it.

3. TIFF Image (paper) should be displayed (flipped) according the Text orientation.

4. Need to figure out the right orientation for the TIFF image to be displayed.

[404 byte] By [JDragona] at [2007-11-27 6:28:23]
# 1
It seems like what you'd have to do is get or build some kind of OCR algorithm that tells you which way up the text is. Alternatively, wouldn't it be ALOT easier to just let the user flip the image around the right way?
RedUnderTheBeda at 2007-7-12 17:51:34 > top of Java-index,Security,Cryptography...
# 2

you are right, i was reading about that, and i need to integrate a kind of OCR with my application, then i can flip the image according the text direction.

the user is a naive end user, and I should assume that he do not know how to deal with the computer :P

now there are a lot of job to do :) guess i have to start.

JDragona at 2007-7-12 17:51:34 > top of Java-index,Security,Cryptography...