Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

Thanks for helping

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?

Thanks for helping

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? image description

Original

image description

Thanks for helping