Fix Image Orientation
IronOCR’s OcrInput
includes built-in methods to adjust image orientation for optimal OCR accuracy:
Rotate(double degrees)
: rotates the image clockwise by the given degrees; use negative values for counter-clockwise rotationsDeskew(int maxDeskewAngle = 45)
: corrects skew up to a maximum angle (default 45°); returnstrue
if correction was appliedScale(int percent, bool scaleCrop = true)
: resizes the image proportionally (e.g. 150 for 150%)