3 ms·
Hey, HN! I am colorblind and I can't reliably identify when a banana is ripe enough to eat, so I made a machine learning model that does it for me. The model (9
by gcarvalho 8y ago
Hey, HN! I am colorblind and I can't reliably identify when a banana is ripe enough to eat, so I made a machine learning model that does it for me. The model (92% val accuracy, ~12MB) runs on your device (tf.js) and you can upload directly from the camera on mobile.
Feedback is always appreciated!
Data, code and trained model are available here:
https://github.com/giovannipcarvalho/banana-ripeness-classification https://github.com/giovannipcarvalho/banana-ripeness-classif...
- GordonS 8y agoI'm also colour blind (red-green), and can't tell ripe bananas from unripe based on the green/yellow colour. But as they ripen, they tend to develop more black patterns on them, and they're softer when you give them a little squeeze. It's an interesting project, nonetheless, and sounds like just the sort of thing I'd like to replicate to get started in ML.
- mrfusion 8y agoSense of smell is the best way.
- curiousgal 8y agoUsually it's a good idea to include another class that captures bannans in general during the training, that way it doesn't try to classify things that are not bannans to begin with.