🔄 Simulator: Deskew Correction
Canny → Hough → Rotation
True Angle
0.0°
Estimated (Hough)
0.0°
Residual Error
0.0°
📄 Original Skewed
🔍 Canny Edges
✅ Corrected (Deskewed)
🧠 Processing Pipeline
1
Canny: Detects edges of text segments — high-gradient pixels that form the outlines of lines.
2
Hough: Each edge pixel votes for the associated lines. The median of the angles of the lines with the most votes estimates the global tilt.
3
Inverse Rotation: Applies an affine transform with the estimated opposite angle, reorienting the document horizontally.
–
Description: Figure 6.6: Interactive skew correction simulator ( deskew ): move the slider to tilt the document and observe the three steps of the pipeline — tilted image, Canny edges, and corrected result.