Flexible computer vision machine learning toolkit