<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:color_connected_components

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:v2:color_connected_components [2018/05/22 01:01]
pixycam [Pixy2 tracks each object it detects]
wiki:v2:color_connected_components [2018/10/29 16:29] (current)
pixycam
Line 13: Line 13:
 Pixy2 can find literally hundreds of objects at a time. It uses a connected components algorithm to determine where one object begins and another ends. Pixy2 then compiles the sizes and locations of each object and reports them through one of its interfaces (e.g. SPI). Pixy2 can find literally hundreds of objects at a time. It uses a connected components algorithm to determine where one object begins and another ends. Pixy2 then compiles the sizes and locations of each object and reports them through one of its interfaces (e.g. SPI).
  
 +{{wiki:​v2:​pixy_balls2.mp4||loop,​autoplay}}
 ==== Teach it the objects you’re interested in ==== ==== Teach it the objects you’re interested in ====
  
Line 26: Line 26:
 ==== Pixy2 "​tracks"​ each object it detects ==== ==== Pixy2 "​tracks"​ each object it detects ====
  
-Once Pixy2 detects a new object, it will add it to a table of objects that it is currently tracking. ​ It will then attempt to find the object (and every object in the table) in the next frame by finding its best match. ​ Each tracked object receives an index between 0 and 255 that it will keep until it either leaves Pixy2'​s field-of-view,​ or Pixy2 can no longer find the object in subsequent frames (because of occlusion, lack of lighting, etc.)   +Once Pixy2 detects a new object, it will add it to a table of objects that it is currently tracking ​and assign it a tracking index.  It will then attempt to find the object (and every object in the table) in the next frame by finding its best match. ​ Each tracked object receives an index between 0 and 255 that it will keep until it either leaves Pixy2'​s field-of-view,​ or Pixy2 can no longer find the object in subsequent frames (because of occlusion, lack of lighting, etc.)   
  
  
Line 45: Line 45:
  
 CCs might be particularly useful for helping a robot navigate. For example, an indoor environment with CCs uniquely identifying each doorway and hallway would be both low-cost and robust. CCs might be particularly useful for helping a robot navigate. For example, an indoor environment with CCs uniquely identifying each doorway and hallway would be both low-cost and robust.
 +
 +==== Color connected components API ====
 +
 +The color connected components API can be found [[wiki:​v2:​ccc_api|here]].
 +
 +
 +==== Running color connected components in PixyMon ====
 +
 +
 +Information about running and configuring the color connected components program in PixyMon can be found [[wiki:​v2:​ccc_pixymon|here]].
  
wiki/v2/color_connected_components.1526950887.txt.gz · Last modified: 2018/05/22 01:01 by pixycam