<< return to Pixycam.com

Can i get video stream of pixy with libpixyusb

Hi, sorry for my poor english;
I want to view the video from pixy in a c++ program. I can now connect, get version of firmware (like pixy_hello example) witch work fine.

The question is how to get the video stream in C++ ?

thanks for your response.

cast38300

Hi Jean,

You can use libpixy usb to call the getFrame command, which will return the frame data to you. A quick warning though, it is somewhat slow. The libpixyusb library doesn’t achieve the same framerate as Pixymon right now, but its still very useful. You would want to follow the code from “this”:http://cmucam.org/boards/9/topics/4812 post.

Good luck!

Scott