/rotate_detection

Detects the rotation of scanned documents.

Primary LanguageC++OtherNOASSERTION

Angle rotation detection on scanned documents

Detects the rotation of scanned documents.

Uses libleptonica

Designed for embedding in systems using tesseract OCR

See usage examples


The detection algorithm based on Rényi entropy

The proposed algorithm works quite well. However, it can be improved.


Original image Rotated automatically

The MIT License