<< return to Pixycam.com

User Tools

Site Tools


wiki:v1:teach_pixy_an_object_2

Differences

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

Link to this comparison view

wiki:v1:teach_pixy_an_object_2 [2017/12/19 21:33]
jfrench - Imported by DokuWiki Advanced Plugin
wiki:v1:teach_pixy_an_object_2 [2018/01/24 22:33] (current)
jfrench
Line 21: Line 21:
 Pixy uses a region growing algorithm to try to determine which pixels are part of your object and which pixels are part of the background. Using these pixels, Pixy will try to create a statistical model of your object so it can detect it reliably under different lighting conditions. Use the LED color as feedback to determine if Pixy has a good lock on the object, and use the following guidelines to judge: Pixy uses a region growing algorithm to try to determine which pixels are part of your object and which pixels are part of the background. Using these pixels, Pixy will try to create a statistical model of your object so it can detect it reliably under different lighting conditions. Use the LED color as feedback to determine if Pixy has a good lock on the object, and use the following guidelines to judge:
  
-  ​When Pixy has locked onto your object, the LED color should match the color of your object. +  ​1. When Pixy has locked onto your object, the LED color should match the color of your object. 
-  ​The brighter the LED, the better the lock. Move the object a little and see if you can maximize the LED brightness. +  ​2. The brighter the LED, the better the lock. Move the object a little and see if you can maximize the LED brightness. 
-  ​Look at the region-growing grid in the PixyMon window and see how the size of the grid corresponds to the LED color and brightness. A grid that covers more of your object is better than a grid that covers only some of your object and results in a brighter LED. The picture below shows a grid that covers most of the object (good).\\+  ​3. Look at the region-growing grid in the PixyMon window and see how the size of the grid corresponds to the LED color and brightness. A grid that covers more of your object is better than a grid that covers only some of your object and results in a brighter LED. The picture below shows a grid that covers most of the object (good).\\
 {{wiki:​img:​7db5032b3268d3d135423b3db4c4daf741bb0e91.png?​400}} {{wiki:​img:​7db5032b3268d3d135423b3db4c4daf741bb0e91.png?​400}}
  
Line 32: Line 32:
 The video below is a good short "​how-to"​ regarding teaching Pixy objects. The video below is a good short "​how-to"​ regarding teaching Pixy objects.
  
 +{{youtube>​XdQwZi6l9Ns?​480x360)}}
  
  
Line 39: Line 39:
 Pixy can learn up to seven color signatures. We can teach Pixy the 1st color signature by releasing the button when the LED turns red. If we continue to hold down the button, the LED will turn orange, yellow, etc., indicating the remaining color signatures. Here are the signatures in order: Pixy can learn up to seven color signatures. We can teach Pixy the 1st color signature by releasing the button when the LED turns red. If we continue to hold down the button, the LED will turn orange, yellow, etc., indicating the remaining color signatures. Here are the signatures in order:
  
-  ​Red +  ​1. Red 
-  ​Orange +  ​2. Orange 
-  ​Yellow +  ​3. Yellow 
-  ​Green +  ​4. Green 
-  ​Cyan (light blue) +  ​5. Cyan (light blue) 
-  ​Blue +  ​6. Blue 
-  ​Violet+  ​7. Violet
  
 The color signature number is determined by //when// you release the button. Release the button when the LED is yellow and you're teaching signature 3. Release the button when the LED is blue and you're teaching signature 6. These colors //are not related to the hue of the object//. The colors are used only to indicate the signature number. So, for example, signature 1 can be a yellow object, even though signature 1 is indicated by a red LED, and signature 2 could be a pink object even though signature 2 is indicated by an orange LED. The color signature number is determined by //when// you release the button. Release the button when the LED is yellow and you're teaching signature 3. Release the button when the LED is blue and you're teaching signature 6. These colors //are not related to the hue of the object//. The colors are used only to indicate the signature number. So, for example, signature 1 can be a yellow object, even though signature 1 is indicated by a red LED, and signature 2 could be a pink object even though signature 2 is indicated by an orange LED.
wiki/v1/teach_pixy_an_object_2.1513719208.txt.gz · Last modified: 2017/12/19 21:33 by jfrench