<< return to Pixycam.com

Extract features of detected colour object from Pixy

As i know Pixy send only features (for example width, height, area & angle) of detected object which is large in size as a block of information which is called signature.

is there any possibility to extract these features of an colour object as in an array form so that i can further analyse these the data to check the performace of my robot and the image senssor, Pixy that i have use?

i hope you have understood, what i am looking for. if not i just want the features of detected object that has stored by the Pixy in the form of numerical data.

I appreciate your ideas, suggestion and any information related with it.

Thank you.

Reagrds,

Biswas

Hello Biswas,
I may not understand your question, but it sounds like you want Pixy’s sensor data in array form? The Arduino API already presents the data in array form (see http://cmucam.org/projects/cmucam5/wiki/Arduino_API)

The array is in pixy.blocks. You just need to supply it with an index, for example pixy.blocks[0]

Hope this helps!

Edward

What does the pixy camera give you ?
A binary image ? projection? Size and centroid of blubs ?

Hello Biswas,
Have you seen this page?

http://cmucam.org/projects/cmucam5/wiki/Hooking_up_Pixy_to_a_Microcontroller_(like_an_Arduino)

The section on the Arduino API should be helpful.

Edward