<< return to Pixycam.com

Question about Object identification

Hi Folks,
I am new to using the CMUcam5, thanks in advance for your help.

If there are two objects of the same color and similar shape, is there any way to assign them different identifiers?

I will be using the system on a mobile platform that will detect flags where then the unit has to perform an action based on the flag. The flags will be alternating colors red, blue, red, blue, etc. The pixy may see two red flags at the same time, though, so I want to be able to differentiate between the two.

Thanks!

Hello GB,
Pixy doesn’t assign identifiers to objects it detects. But you can take Pixy’s data and assign identifiers yourself. That is, I’m assuming you want to have an idea of which objects have appeared or disappeared between frames and which objects are which (between frames), correct? It’s a matter of figuring out which objects are the same objects between frames. Is this what you’re talking about?

Edward

Thanks for the reply Edward.

I think what you are saying is along the lines of what I am getting at.

I am assigning names to the objects.

Say this happens:

  1. Pixy sees red flag, assign it the name RED_FLAG. Keep track of the x,y position of this.
  2. Pixy sees a blue flag, assign it the name BLUE_FLAG. Keep track of the x,y position of this.
  3. Pixy sees another red flag (it is further away than the first red flag) - assign this the name RED_FLAG2
  4. Eventually, the pixy will pass by and no longer see RED_FLAG. Now I want RED_FLAG2 to become RED_FLAG

and so on.

Thanks!

Hello GB,
That’s what I’m talking about. It requires you to solve the “correspondence problem” between frames. It’s not too difficult, but you have to make some assumptions, like how far you expect the object to move between frames (maximum).

Edward