qrealka / basicOCR

Basic Optical Character Recognition Tutorial. Damiles Blog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/basic-ocr-in-opencv/

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

About

Basic Optical Character Recognition Tutorial. Damiles Blog.


Languages

Language:C++ 95.5%Language:C 3.1%Language:CMake 1.4%