<< return to Pixycam.com

Color Codes

I saw on the wiki that color codes have not been finished. I thought, about a Kickstarter update email said that the color codes were finished. Anyways, is there away to get my hands on an alpha version of color codes. What is the recommend way to implement color codes, currently. I wouldn’t be asking, but I have a time certain deadline, that I’d like to use color codes for, but could possibly get away without using it, so I’d like to know whether or not it is even currently possible.

Hi Cammy,

I don’t think we’ll be releasing an alpha of the color codes, at least not soon.

A rough idea as to how you might do it is check the proximity between two color model blocks. If each block is the right size (i.e. the same size as each other) and within (lets say) 2 pixels of each other on one side then that might be a valid color code. There are many ways to make a rough color code implementation with the blocks, but each depends on how much work you’re willing to put in and the accuracy you want.

Let me know if you have any other questions. Thanks.

Scott

I bought Pixy specifically to use the color code feature. Would it be possible for you to develop and release a version of the firmware that supports color codes in an ideal environment? (Ideal = only color coded objects, uniform background, uniform lighting, and camera-to-object distance at 0.9-1.1 meters? Thanks.

Hi Michael,

The color code feature is still being developed and we’re hoping to have it released soon. The problem isn’t that the color code feature isn’t robust enough, it’s just that there are a lot of parts that go in to it and we’re working out the bugs. The color codes use Pixy’s color detection algorithm, so it should be able to detect the same colors/objects as the current functionality.

Scott

Thanks Scott. I’m looking forward to this update. This will work well with my grade school robotics programs. My other sensors and effects also subsume the complexity/processing and provide simple abstract interfaces.

is there some reason this isn’t being developed in the open, with the current unfinished code available in git?

EDIT - Please see Rich’s comment below.

Thanks.

Scott

It’s all on Github! Color codes just aren’t finished yet. They will be part of a bigger release. Testing will hopefully begin next week. Stay tuned!