Skip to content
Basic Optical Character Recognition Tutorial. Damiles Blog.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
OCR
basicOCR
README.md

README.md

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
You can’t perform that action at this time.