PRLib - Pre-Recognition Library.
The main aim of the library - prepare image for recogntion. Image processing can really help to improve recognition quality.
Features:
- Binarization (Global Otsu, Sauvola, Niblack, Adaptive)
- Deskew
- Denoise (Non-local Means Denoising algorithm)
- Thinning (Zhang-Suen, Guo-Hall)
- Blur detection (LAPM, LAPV, TENG, GLVN)
- Deblur (Gaussian-based)
- White balance (Simple, Grayworld)
- Border detection (Canny-based)
- Removing perspective warp
- Crop
Dependencies: OpenCV + OpenCV contrib, Leptonica.
How to build:
- Go to the directory with source code
- Make directory for build:
mkdir build
- Run cmake:
cmake ..
- Run make:
make