Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

skew detection and reduction in opencv

I've been working on a project that involves several preprocessing on a scanned document. Part of this preprocesses is skew detection and correction . Before skew detection and correction i have a binarization process going on for the document image.

I would like to see some projects or sample codes. Thanks !!

like image 414
kcire arraveug Avatar asked Dec 26 '11 17:12

kcire arraveug


1 Answers

Some time ago I found a blog that had 2 interesting posts on this subject:

  • Detect skew angle

  • Rotation (Deskew)

These posts also share the source code.

like image 174
karlphillip Avatar answered Oct 16 '22 21:10

karlphillip