<< return to Pixycam.com

User Tools

Site Tools


wiki:v1:using_color_codes

Differences

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

Link to this comparison view

wiki:v1:using_color_codes [2017/12/19 21:33]
jfrench - Imported by DokuWiki Advanced Plugin
wiki:v1:using_color_codes [2018/02/05 23:47] (current)
jfrench
Line 10: Line 10:
 So, what’s a “color code”? A color code (CC) is two or more color tags placed close together. Pixy can detect and decode CCs and present them as detected objects (firmware versions 1.0.0 and higher). So, what’s a “color code”? A color code (CC) is two or more color tags placed close together. Pixy can detect and decode CCs and present them as detected objects (firmware versions 1.0.0 and higher).
  
-{{wiki:​img:​35119fecded9e123af00cd80ab41301333ccd450.jpg?400}}+{{wiki:​img:​35119fecded9e123af00cd80ab41301333ccd450.jpg}}
  
 For example, using 2-tag CCs (like the photo above) and limiting yourself to a palette of 4 colors (i.e. teaching Pixy 4 different color signatures),​ you can generate up to 12 unique objects. That's just the tip of the iceberg - 3, 4, and 5-tag CCs with more / different colors allow for many, many more unique objects. Pixy will detect and report color codes with up to 5 tags arranged in a line. With 5 tags, thousands of unique codes are possible. For example, using 2-tag CCs (like the photo above) and limiting yourself to a palette of 4 colors (i.e. teaching Pixy 4 different color signatures),​ you can generate up to 12 unique objects. That's just the tip of the iceberg - 3, 4, and 5-tag CCs with more / different colors allow for many, many more unique objects. Pixy will detect and report color codes with up to 5 tags arranged in a line. With 5 tags, thousands of unique codes are possible.
Line 28: Line 28:
 Here is a good video on color codes: Here is a good video on color codes:
  
 +{{youtube>​LDF0GCqES4U?​480x360)}}
  
  
Line 37: Line 38:
 To teach Pixy the color code signatures, bring up PixyMon and choose Raw mode. Put a color code in front of Pixy and select **Action➜Set CC signature 1** and select the first color in the color code. The photos below show the steps for a 4-tag color code: To teach Pixy the color code signatures, bring up PixyMon and choose Raw mode. Put a color code in front of Pixy and select **Action➜Set CC signature 1** and select the first color in the color code. The photos below show the steps for a 4-tag color code:
  
-{{wiki:​img:​106a2d3a86ba6c294ac6a50ae4d53e667fb1e055.jpg?​400}}+{{wiki:​img:​106a2d3a86ba6c294ac6a50ae4d53e667fb1e055.jpg?​300}}
  
 Then outline the first tag on the color code: Then outline the first tag on the color code:
  
-{{wiki:​img:​f457b031d6ec558d422818f7e9d01df8c2751445.jpg?​400}}+{{wiki:​img:​f457b031d6ec558d422818f7e9d01df8c2751445.jpg?​300}}
  
 Pixy will then generate the first color code signature and store it. Next, select **Action➜Set CC signature 2** for the second color in the color code and select the next tag. Pixy will then generate the first color code signature and store it. Next, select **Action➜Set CC signature 2** for the second color in the color code and select the next tag.
  
-{{wiki:​img:​08b0c5f0dbda14fd5eef858909cdaecfe83cc639.jpg?​400}}\\ +{{wiki:​img:​08b0c5f0dbda14fd5eef858909cdaecfe83cc639.jpg?​300}}\\ 
-{{wiki:​img:​ace71ea3ca24e74031a6bdd333dde618c35443ee.jpg?​400}}+{{wiki:​img:​ace71ea3ca24e74031a6bdd333dde618c35443ee.jpg?​300}}
  
 Repeat this process until all the unique colors are taught to Pixy as color codes, so here we go for the 3rd and 4th colors: Repeat this process until all the unique colors are taught to Pixy as color codes, so here we go for the 3rd and 4th colors:
  
-{{wiki:​img:​dcc32578f2709aa72720a7d13ddeeb36177da929.jpg?​400}}\\ +{{wiki:​img:​dcc32578f2709aa72720a7d13ddeeb36177da929.jpg?​300}}\\ 
-{{wiki:​img:​cacb13e307effd1a33b982517209f7dbd214ca82.jpg?​400}}\\ +{{wiki:​img:​cacb13e307effd1a33b982517209f7dbd214ca82.jpg?​300}}\\ 
-{{wiki:​img:​e5c5968ae307c19552d6c6d10fc198d70516aa16.jpg?​400}}\\ +{{wiki:​img:​e5c5968ae307c19552d6c6d10fc198d70516aa16.jpg?​300}}\\ 
-{{wiki:​img:​6e1aabd42555ca183dfe53c05c83cc7011dd6a8d.jpg?​400}}+{{wiki:​img:​6e1aabd42555ca183dfe53c05c83cc7011dd6a8d.jpg?​300}}
  
 When all color code signatures have been taught, Pixy should be identifying color codes that are present, using the color code signatures that you just taught it. You'll see something similar (below) in Cooked mode: When all color code signatures have been taught, Pixy should be identifying color codes that are present, using the color code signatures that you just taught it. You'll see something similar (below) in Cooked mode:
  
-{{wiki:​img:​d611b3827428f3de59769388d444052279d77dbd.jpg?​400}}\\ +{{wiki:​img:​d611b3827428f3de59769388d444052279d77dbd.jpg?​300}}\\ 
-{{wiki:​img:​46337557e319be7f8a9a5e1b420823ea1f9159cb.jpg?​400}}+{{wiki:​img:​46337557e319be7f8a9a5e1b420823ea1f9159cb.jpg?​300}}
  
 And here's what you'll see in Default mode: And here's what you'll see in Default mode:
  
-{{wiki:​img:​5aa792593f4adbb18affd5d2404803a5f9fd98fe.jpg?​400}}\\ +{{wiki:​img:​5aa792593f4adbb18affd5d2404803a5f9fd98fe.jpg?​300}}\\ 
-{{wiki:​img:​317fdf44a99902fadcbb775b065aa4416f36ba33.jpg?​400}}+{{wiki:​img:​317fdf44a99902fadcbb775b065aa4416f36ba33.jpg?​300}}
  
 The really cool part is that once you get all of the colors programmed, you can mix them up and Pixy will "​decode"​ each one! The possibilities are almost endless. The really cool part is that once you get all of the colors programmed, you can mix them up and Pixy will "​decode"​ each one! The possibilities are almost endless.
  
-{{wiki:​img:​5e6f96353aa9a4dfbda3bf9380bcd5a7b75c80ca.jpg?​400}}+{{wiki:​img:​5e6f96353aa9a4dfbda3bf9380bcd5a7b75c80ca.jpg?​300}}
  
 And that's the gist of color codes -- fairly simple, really. And that's the gist of color codes -- fairly simple, really.

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on “Create this page”.

wiki/v1/using_color_codes.txt · Last modified: 2018/02/05 23:47 by jfrench