<< return to Pixycam.com

Access X & Y location of detected signature

So I have pixy Cam CMU 5 hello_world working fine.

I have written some if statements to get the x and y variables from the buf printed in hello_world back to int type variables.
I am using raspberry Pi with Pixy connected via USB.

What I want to know is how do I directly access these variables from the pixy in int type?

Cheers,
Cal

Hello Cal,
I’m not understanding your question. The messages that hello_world prints is from integers in the Block structure. What do you mean by accessing them directly?

Edward

Entirely my confusion. Just had a very noobish moment. All working perfectly now.

Pixy is a great piece of kit. I’ll be sure to document how we utilise it in our project.

Cheers!