Skip to content
/ OCR-1 Public
forked from TheSisb/OCR

Uses KNN to learn & break captcha images containing numbers (uses OpenCV2.1)

Notifications You must be signed in to change notification settings

CareShaw/OCR-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requires OpenCV2.1
Built on VS2010

When running, try hitting the keys 1, 2, 3 to see the OCR process.

Needs more details but basically it works like this:
1- Learn each possible number by studying and classifying images in the 'c' folder using knn
2- Open given image and convert to greyscale
3- remove noise
4- make black and white and find bounding rectangles for each number
5- analyze each rectangle (number) separately
6- print out the numbers that the image contains and save each number as an image of it's own


All the images in the 'c' folder were generated by a custom freebasic application that I don't include here.
For educational purposes only.

About

Uses KNN to learn & break captcha images containing numbers (uses OpenCV2.1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.3%
  • C 6.7%