• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    C++
  • Created over 12 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Basic Optical Character Recognition Tutorial. Damiles Blog.

basicOCR

Basic Optical Character Recognition Tutorial. Damiles Blog.

This source code is not for professional uses, this is for educational uses, and describe the common technics for create an OCR application

For more info about this see: http://blog.damiles.com/2008/11/20/basic-ocr-in-opencv.html

Requirements

  • OpenCV
  • CMake

Compilation

mkdir build
cd build
cmake ../basicOCR
make

Running demo

./OCR

Paint over window a number To classify press "c" key and in console you can see result, precission and Accuracy For create other image you can clean image with "r" You can increase or decrease cursor radio with "+" and "-" keys

Keys control

"r" - reset image
"+" - cursor radio increment
"-" - cursor radio decrement
"s" - Save image as out.png
"c" - Classify image,  the result in console
ESC - quit the program