Helper code and examples for using OpenCV for machine learning with Processing