Example of using the Random Forest algorithm for OCR in Ruby.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3ec582c Oct 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Removed gz files Oct 27, 2017
.versions.conf Initial commit Oct 27, 2017
Gemfile Initial commit Oct 27, 2017
Gemfile.lock Initial commit Oct 27, 2017
LICENSE.txt Moved license Oct 27, 2017
README.md Added readme Oct 27, 2017
dataset_reader.rb Initial commit Oct 27, 2017
learn.rb Added readme Oct 27, 2017

README.md

Example of implementing OCR using a Random Forest classifier in Ruby

This example will show how to use a Random Forest classifier in Ruby to implement OCR. The random forest classifier using from the Python scikit learn library and its loaded using the PyCall gem.

The dataset used is the MNIST database of handwritten digits. The repository also contains a DatasetReader class to parse the IDX files from the MNIST dataset.

For more information about this sample code see the blog post Implementing OCR using a Random Forest Classifier in Ruby.

This project is licensed under the terms of the MIT license.