If you haven't looked at Google’s open source TensorFlow machine learning platform, you could be missing an opportunity. 

A small family cucumber farm in Japandid just that. Cucumbers need to be sortd and categorised based on size, shape, color, and other characteristics,  a difficult, labour intensive and time-consuming process. Automating the process, and employing a mechanical arm delivered a  70 percent accurate solution reducing human labor.