Skip to content

valmat/rotate_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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