How to grab pixycam image from usb.

Added by Alvin Veroy over 3 years ago

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.


Replies (5)

RE: How to grab pixycam image from usb. - Added by Scott Robinson over 3 years ago

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

RE: How to grab pixycam image from usb. - Added by Alvin Veroy over 3 years ago

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.

RE: How to grab pixycam image from usb. - Added by Scott Robinson over 3 years ago

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

RE: How to grab pixycam image from usb. - Added by Andro Yrepux 17 days ago

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!

RE: How to grab pixycam image from usb. - Added by Edward Getz 15 days ago

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

(1-5/5)