Detects the rotation of scanned documents.
Uses libleptonica
Designed for embedding in systems using tesseract OCR
The detection algorithm based on Rényi entropy
The proposed algorithm works quite well. However, it can be improved.
Original image | Rotated automatically |
---|---|