Skew correction
When a page is fed to a flatbed scanner (mechanically or manually) or photographed with a smartphone, it is nearly impossible to achieve perfect alignment. As a result, a slight skew (tilt) inevitably occurs in scanned images or photographs.
Skew angle detection and image straightening is critical to the OCR process as it directly affects the reliability and efficiency of segmentation and text extraction. Aspose.OCR Cloud offers automated processing algorithms to correct image tilt (deskew).
Manual skew correction
When the image is rotated by a significant angle or upside down, automatic skew correction may fail to detect the correct angle.
To deal with such situations, you can manually specify the image rotation angle using the rotate
recognition setting, which is available for all image recognition methods.
- Manual image rotation can be combined with automatic deskew for best results.
- You cannot get the rotated image as a file.
cURL example
Usage scenarios
- Straightening skewed images.
- Turning flipped images.