Deskew image, give me the data
Posted: 2012-11-14T09:54:12-07:00
Hi all
I am processing a form which has a very slight skew on it.
This form is scanned at 24bpp JPG
If I try to deskew the image, it doesn't work, presumably due to the colour/algorithm whatever
If I threshold the image to black and white, then deskew it deskews perfectly. However is there a way for me to 'read the angle' from this image and apply it back to the original colour scan?
I do this quite often using identify, as it's easier to process a form in B&W and then extract new geometry info from identify which to apply to the colour scan. Can I do this with deskew angle data ?
Thanks
I am processing a form which has a very slight skew on it.
This form is scanned at 24bpp JPG
If I try to deskew the image, it doesn't work, presumably due to the colour/algorithm whatever
If I threshold the image to black and white, then deskew it deskews perfectly. However is there a way for me to 'read the angle' from this image and apply it back to the original colour scan?
I do this quite often using identify, as it's easier to process a form in B&W and then extract new geometry info from identify which to apply to the colour scan. Can I do this with deskew angle data ?
Thanks