Skittles counter and classifier
Hi there,
For fun, I have been trying to do a skittles counter. I am almost there except for a few candies which are to close together to make them easily separated for the program.
I mostly followed this website to create the program.
The program does not use hough circle to detect the candies, but peaks using distance transform.
The program and an example file is attached here.
So the question is : How can I get all the skittles and exclude false positive?
Follow up
Here's the hue channel from one experiment. How can I manage to limit the noise on certain colour?
Original
Thanks for helping
My question seems to have 2 answers, but I can't see them. How can I read the answers?
you forgot to explain what stage are you now? What have you tried? where is the problem? Show your current stage output!