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 rotations
  • Deskew(int maxDeskewAngle = 45): corrects skew up to a maximum angle (default 45°); returns true if correction was applied
  • Scale(int percent, bool scaleCrop = true): resizes the image proportionally (e.g. 150 for 150%)

Explore Image Orientation Correction Techniques in C#

Ready to Get Started?
Nuget Downloads 5,468,290 | Version: 2026.3 just released
Still Scrolling Icon

Still Scrolling?

Want proof fast? PM > Install-Package IronOcr
run a sample watch your image become searchable text.