<< return to Pixycam.com

ID of each block of same signature

Hi everyone,

I was wondering if anyone has an idea how to solve the problem below.

Lets say I have 3 red blobs defined as S=1. If I show the first one to pixy it will be #0, then the second will be #1 and the finally the third #2 (all same color). Even in perfect lighting conditions with stable camera and blobs #1 and #2 will start “flickering” - swapping and for few frames #1 will become #2 then they switch and this goes on and on. At the same time #0, the first one has no problem at all. I’m trying to create a timestamp for each blob now, but I’m thinking if there is any simpler way, also why is #0 not flickering?

Thanks,
Emil

Hello Emil,
Pixy sorts the blobs by size with the biggest blobs sent first. If some blobs are close in size they will likely switch places. Any noise in the detection sizes can result in the blobs switching places several times. I’m not sure if this answers your question though.

Edward

Hi Edward,

Thank you for your reply! Yes that helps definitely. I’m using blobs that are equal in size, but of course it is impossible to predict the detected blob size because of the slightly different lighting conditions in the field of view even when using neon acrylics. Basically I’m testing ideas for having multiple instances of the same signature without loosing their location in noise. I will create some blobs of different sizes and see if that works.

Thanks!
Emil

Hello Emil,
I have same opinion with you, how did you distigish same colour blobs?? depend on size?? and then add to a array??