News for hackers. Stuff that matters.
Re:Show HN: Banana ripeness classifier (ML webapp) by gcarvalho on Monday March 04, 2019 @11:45AM (#19302589)
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-classif...

Re:Show HN: Banana ripeness classifier (ML webapp) by GordonS on Monday March 04, 2019 @01:31PM (#19303835)
I'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.

Re:Show HN: Banana ripeness classifier (ML webapp) by mrfusion on Monday March 04, 2019 @02:07PM (#19304224)
Sense of smell is the best way.
Re:Show HN: Banana ripeness classifier (ML webapp) by curiousgal on Monday March 04, 2019 @01:53PM (#19304084)
Usually 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.