Forum Discussion
RoxanaTFA
Oct 20, 2020Copper Contributor
Vision API: deskew
Hello,
On the Vision API in the response there's an angle field that's supposed to give us the skew of the image (I need to do OCR on some documents). How should I interpret that angle (seems to be...
RoxanaTFA
Oct 20, 2020Copper Contributor
Thank you for your answer Shunderpooch! We are looking for an automated solution that would read the angle, deskew the image and send it for preprocessing again. Are there any plans to deskew the image automatically (as part of the Computer Vision API call) in the future (since you know the angle) or release any tools that would do that?
jakeatmsft
Microsoft
Oct 20, 2020Here is a repository that uses techniques to deskew/scale images using opencv, this is mostly geared toward form documents, but it could also be adapted to general images as well:
https://github.com/jakeatmsft/Form_OCR_ACV_API
https://github.com/jakeatmsft/Form_OCR_ACV_API