<< return to Pixycam.com

Accessing block information on a PC through USB

Does the Pixy send the block information (position and size of detected blocks) through USB when connected to a PC?

I’m interested in running some C code on a computer (PC) that will use the block information in real time. This code will then send some data to another piece of software on the computer. Is it possible to access the block information from a C program running on the PC? And if so, how? I don’t want to use a Beaglebone, Raspberry Pi or Arduino to run my C code on since that would just add another element of interfacing that would need to be created.

Hello Ted,
You can use libpixyusb.

http://charmedlabs.github.io/pixy/pixy_8h.html

We don’t have Windows support for libpixyusb, but some users have be playing with .NET support of libpixyusb:

http://cmucam.org/boards/9/topics/6370

This may make its way into the official distribution.

Edward