Ruby Programmer/Developer

George Armhold's Blog

Data-driven webapps built with Ruby, Java & Wicket

Ocarina- Optical Character Recognition for Ruby

I just published a bare-bones implementation of an Optical Character Recognizer implemented in Ruby.

It’s pretty basic, but it does successfully recognize its training set as well as the same characters with added “noise”. It uses a straightforward implementation of a feed-forward neural network.

It uses RMagick/ImageMagick to handle image processing, but apart from that it’s built from scratch!

You can grab a copy of the source from Github.

training images vs input samples