I am using gdPicture to do OMR processing on some scanned forms. I added an AutoDeskew line, figuring it would help the overall process and tidy things up before I started finding the anchors and doing the OMR. However, I was noticing that some of the images were too skewed to OMR accurately. After some trial-and-error, I discovered that in some cases, the AutoDeskew method itself was making things worse (more skewed).
Line in Code:
oGdPictureImaging.AutoDeskew(_scanImageId, 10)
Attached you will find the original scan and the post-deskew scan. I have edited out the middle (content) portions of these images because of the private nature of the project, but you get the point (there is not a lot of text in this content area anyway...mostly its for student response). The original is clearly less skewed than the post-autodeskew image. Any ideas? I would like to have deskewing occur, but only if it actually helps.
AutoDeskew actually making things worse
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: AutoDeskew actually making things worse
Hi,
I have downloaded your image and tried the line of code and do not get the resulting image you are getting.
Hence, pleas update to the latest version of GdPicture 8, and I think that shall solve your problem. If not, please inform us of such.
Best Regards,
Sami Kharma
GdPicture Support Team Member
I have downloaded your image and tried the line of code and do not get the resulting image you are getting.
Hence, pleas update to the latest version of GdPicture 8, and I think that shall solve your problem. If not, please inform us of such.
Best Regards,
Sami Kharma
GdPicture Support Team Member
Re: AutoDeskew actually making things worse
Ok, thanks for checking. I am almost on the latest version (just one minor rev back). I will update and play around with it a bit. I have quite a few other operations going on in the same code. Perhaps they are causing some issue as well. If I can continue to replicate this issue, I will post again.
Bryan
Bryan
Who is online
Users browsing this forum: No registered users and 1 guest