This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, October 5, 2006 1:02:08 AM(UTC)
Groups: Registered
Posts: 2
Hi,
I am using lead tools for last couple of years. I came across with a problem, I have a tiff image with 5 pages, The problem is few of the pages are in wrong rotation, Is there any way which I can detect the text direction or image direction to rotate properly. If you can help me on this that will be great.
Thanks
Jithesh
#2
Posted
:
Saturday, October 7, 2006 11:03:09 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Which version of LEADTOOLS are you using? And which product do you have (e.g. Raster, Document, etc.)?
Thanks,
#3
Posted
:
Wednesday, October 11, 2006 2:53:46 AM(UTC)
Groups: Registered
Posts: 2
Hi , Sorry for late reply. I am Document Imaging & Document Imaging Siute for .NET ver 14. We are currently running the ICR as well. One more question with this, Is there anyway to get the rotation value while loading an image ? I mean (0 or 90 etc..) Sorry for the silly question.
#4
Posted
:
Wednesday, October 11, 2006 8:38:04 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If the image skewed by up to 45 degrees, then you can use the
DeskewExtendedCommand class to deskew it and/or get the rotate
degree. On the other hand, if the image is rotated by a multiple
of 90 degrees, then you can use the RasterOcr.AutoOrientPage
method. However, to use this method you need to insert the image
into the OCR engine using the AddPage method. Also, this method
doesn't return the angle of rotation.
I hope this helps.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.