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.