Deskew & ROI relationship

General discussions about GdPicture.NET.
Post Reply
Posts: 8
Joined: Sun Oct 16, 2016 4:35 pm

Deskew & ROI relationship

Post by stammd » Sat Feb 11, 2017 2:06 pm

If I deskew an image do I also need to correct any ROI used by my code? Or should I expect that a pure skew error would not impact the ROI that I might be targeting?

It appears that the deskew method changes the image passed in the call and does not create a new image. Is this correct?

Thus any any OCR/ROI operations on the deskewed image would not require me to use a new image created from the deskew method.

Posts: 66
Joined: Mon Feb 08, 2016 3:12 pm

Re: Deskew & ROI relationship

Post by David » Tue Feb 14, 2017 2:57 pm


Thank you for your interest in Orpalis'technologies.

If scanned document is slightly oblique, as it is usual for scanned documents, the deskew functionality corrects the angle introduced during the scanning process. The AutoDeskew method auto-rotates a GdPicture image by the skew angle, which is circa 15 degrees in both directions. ... nt32).html

As the image is rotated, it's content is moved and the region of interest should be adapted accordingly. I confirm no new image is created.



Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests