Pixy2: Fast Recognition of Moving Shapes and Colours
Pixy2 is an artificial vision sensor for rapid recognition of moving shapes and colours. It follows objects at a rate of 60 images per second and has algorithms for recognition of shapes and colours. To better follow moving objects, it may be mounted (as an option) on a pan-tilt support, and control the vertical and horizontal movements itself.
60 images per second
The automation possibilities offered by these components and their associated software are phenomenal. For a few tens of Euros you can construct a tracking robot with artificial vision and close to instantaneous processing time. It would be difficult to imagine something more exciting to introduce programming to young people.Getting to grips with these artificial vision modules is easy, because they connect directly to experimental boards like Arduino, Raspberry Pi or Beagle Bone.
Rest easy, you don’t need a rat’s nest of wires to get started. Pixy’s manufacturers have thoughtfully supplied a cable which plugs into the Arduino. And for the RPi, a simple USB cable will do.
For other platforms, Pixy2 has on board several other communication interfaces: SPI, I²C, UART, with simple and mostly well-tested protocols.
The whole line is Open Source
Everything is open on the Pixy2: the software, the firmware and the hardware. And very well documented, with lots of application examples. Pixy2 can also be used with Windows, Mac or Linux. There’s even a version of Pixy for LEGO Mindstorms!Libraries for Arduino and C/C++ are available to users. In Linux environments (like RPi) programming in Python is facilitated by an API.
A bar code detector is integrated into the line-following algorithm.
When I told you they’ve thought of everything, there are even three small lights to see more clearly!
Characteristics
- Processor: NXP LPC4330, 204 MHz, double core
- Sensor: Aptina MT9M114, 1296×976 resolution with image processing
- Angle of view: 60 degrees H, 40 degrees V
- Power Consumption: typ. 140 mA
- Power: USB (5 V) or unregulated (6 V to 10 V) inputs
- RAM: 264 KBytes
- Flash Memory: 2 MBytes
- Data I/O: serial UART, SPI, I²C, USB, digital, analogue
- Dimensions: roughly 4 x 4 cm
- Weight: 10 g
- Incorporated lighting (approx. 20 lumens)