This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, March 21, 2008 2:26:49 AM(UTC)
Groups: Registered
Posts: 15
Ok, here's the problem. We have a large industrial scanner that is fed paper very rapidly. It scans both the front and back of the paper. Sometimes, either due to people feeding the scanner wrong or the way the back side of the paper is printed, we get the occassional image (or page in an image) upside down.
This is causing us problems with performing OCR. Is there a way to detect that an image is upside down and flip it? Leadtools has a lot of helpful image cleanup/preparation commands like deskew and black-border removal and my thought is that if it can do that kind of image analysis it aught to be able to determine the orientation too.
Any ideas would be appreciated.
#2
Posted
:
Sunday, March 23, 2008 2:27:58 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can determine
if an image needs to be oriented or not using the RasterOcr.GetOrientationDegree
method, if this method returns 0, this means that you do not have to orient
this page. If this method did not return 0 and it returned the orientation
degree, you can apply the RasterOcr.AutoOrientPage method. Please check the LEADTOOLS
.NET help file for more information about these functions.
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.