ebachard / PRLib

Pre-Recognize Library - library with algorithms for improving OCR quality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Pre-Recognize Library - library with algorithms for improving OCR quality.

License:MIT License


Languages

Language:C++ 95.3%Language:C 4.6%Language:Objective-C 0.1%Language:CMake 0.0%