<< return to Pixycam.com

Pixy Confidence Percentage

Hi everyone,
I’m still using the first Pixy (not Pixy2) and I have a question. Is there a confidence percentage in Pixy? For example, it detected the color signature 1 but how many percent is it sure that it really is color signature 1? If such thing exists, how can I retrieve its ‘confidence percentage’ in Arduino? Thanks.

1 Like

Hi Aliah,

unfortunately there is no such functionality with Pixy. The closest thing is the ability to tweak the accept / reject boundary using Signature Tuning sliders in PixyMon. This allows you to fine-tune the color detection, but there is no real-time output of the confidence percentage.

More on fine-tuning color signatures: https://docs.pixycam.com/wiki/doku.php?id=wiki:v1:some_tips_on_generating_color_signatures_2

Hope this helps!

Jesse

i have tried ( with mixed success) to roll my own confidence in color signature detection , by taking repeated measures and considering the following

which signatures show up the most
which ones have the biggest area (or greatest width)
which ones have an angle that most closely matches what I would expect (close to flat).

in my case, all the color signatures are the same size, enter the field of view at roughly the same location and angle,and rarely will have more than one in view at the same time. Thus I am mostly trying to sort out background noise.

Have you tried adjusting the signature tuning sliders?

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:some_tips_on_generating_color_signatures_2

yep, this is on top of working that sliders to get a good blend of recognition and separation on the signature colors and spending a bit of time picking color swatches that seem the most distinct to the pixy over a range of lighting conditions.