
Lens field-of-view: 75 degrees horizontal, 47 degrees vertical Processor: NXP LPC4330, 204 MHz, dual core more than could be detected with the seven separate color signatures alone). CCs are useful if you have lots of objects you want to detect and identify (i.e. Pixy can detect and decode CCs and present them as special objects.
#Pixy camera code
PixyMon communicates with Pixy over a standard mini USB cable.Ī color code (CC) is two or more color tags placed close together.


It also allows you to configure your Pixy, set the output port and manage color signatures. It allows you to see what Pixy sees, either as raw or processed video. PixyMon is an application that runs on your PC or Mac. Pixy is unique because you can physically teach it what you are interested in sensing.
#Pixy camera update
You can get a complete update of all detected objects’ positions every 20 ms. Pixy processed an entire 640x400 image frame every 1/50th of a second. Pixy can find literally hundreds of objects at a time. If you need more than seven, you can use color codes (see below). Pixy remembers up to 7 different color signatures. Pixy calculates the hue and saturation of each RGB pixel from the image sensor and uses these as the primary filtering parameters. Pixy uses a hue-based color filtering algorithm to detect objects. Or use Pixy without a microcontroller and use the digital or analog outputs to trigger events, switches, servos, etc.

It’s possible to hook up multiple Pixys to your microcontroller, for example, a robot with 4 Pixys and 360 degrees of sensing. So your Arduino or other microcontroller can talk easily with Pixy and still have plenty of CPU available for other tasks. The information is available through one of several interfaces: UART serial, SPI, I2C, digital out, or analog out. Pixy processes images from the image sensor and only sends the useful information to your microcontroller. Pixy addresses two problems: 1) image sensors output lots of data, dozens of megabytes per second 2) processing this of data can overwhelm many processors by pairing a powerful dedicated processor with the image sensor. Pixy is a fast vision sensor you can quickly “teach” to find objects, and it connects directly to Arduino and other controllers.
