Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 728 Bytes

README.md

File metadata and controls

32 lines (28 loc) · 728 Bytes

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:

  1. Go to the directory with source code
  2. Make directory for build:
    mkdir build
  1. Run cmake:
    cmake ..
  1. Run make:
    make