<< return to Pixycam.com

How to grab pixycam image from usb.

I finally able to make pixymon to work on linux. Im working on an OpenCV project and i would like to grab image/video from the pixycam.

Hi Alvin,

We currently don’t have an official API for the desktop/Pixymon. So in the meantime you can try and modify the Pixymon code to have it stream images to your program. We’ll be working on the API soon! Thanks for your patience.

Scott

will there be any ETA for the API? Im sure your staff are all busy fulfilling the preorders but i hope someone could lead me on how to capture/stream the images from the pixymon. My goal is to have the pixymon center itself on the square markers, measure the pixel of a series of markers and use it as a calibration (millimeter per pixel), then pass the image into a beagleone board that has a different software on it to recognize several different shape (hand shape) and use it to measure the hand based on the pixycam calibration. We are considering webcam but since pixycam already generates x,y, height and width with color recognition that would cut our cost in development.

Hi Alvin,

I’m sorry, but we don’t have an ETA yet. I can tell you that the API is a high priority on our list, but it may still be a few weeks until it is ready. We’ll have more announcements once we’re done shipping pre-orders. Thanks!

Scott

Was this feature ever shipped? Looking at the libs, I don’t see a way to get the image from the pixycam, only the blocks?

Thanks!

Hello Andro,
Yes, libpixyusb supports this.

http://cmucam.org/projects/cmucam5/wiki/Building_the_libpixyusb_example_on_Linux

Here is a thread that includes some source code:

http://cmucam.org/boards/9/topics/5106?r=7910#message-7910

Hope this helps!

Edward