We expect our devices to know what’s going on. Automatic doors, smartphones, temperature control systems and beyond all perform actions when they detect certain conditions. And it seems like it would just be convenient to put cameras on everything so devices could have eyes on all different situations. It would also be creepy, but we’ll leave that aside for now.
Just what is the Pixy? It happens to be a tiny camera that measures roughly half the size of a business card is capable of detecting objects which you have “trained” it to detect. This particular form of “training” is very different from Jedi training, as it is done thanks to holding the object located in front of Pixy’s lens and pressing a button. Pixy would then try to look for objects that sport similar color signatures via a dedicated dual-core processor which is capable of processing images at 50 frames per second. Pixy will then send its findings that will comprise of the sizes and locations of all detected objects, where that can be accomplished through a variety of interfaces such as UART serial, SPI, I2C, digital or analog I/O.
Pixy is capable of detecting hundreds of objects from seven different color signatures. It is right now a Kickstarter campaign, where it will be able to be yours as long as you contribute a minimum of $59. Pixy happens to be a partnership between Carnegie Mellon University and a small Austin-based company that call themselves Charmed Labs. As Pixy is powered by its own processor, it will not bog down the Arduino’s CPU with processing images, so one should not experience too many performance issues.
Pixy Brings Machine Vision To Robot World original content from Ubergizmo.
Pixy Is A Colour-Sensitive Vision Sensor That Gives Your Bot An Object-Tracking Eye
Posted in: Today's ChiliComputer vision technology has come on in leaps and bounds in recent years, enabling machines to get a whole lot better at processing visual data so they can pick out specific objects from background noise, Terminator style. However crunching all that real-time visual data can require a lot of processing power. So, for lighter-weight projects, here’s a neat alternative which allows you to build a bot or system that can identify and track objects by sensing specific colours.
Pixy is an open source vision sensor that’s already exceeded its Kickstarter funding goal of $25,000. It’s able to be fast, says its creators (Charmed Labs and Carnegie Mellon University), because of this hue-centric approach — allowing it to send only specific coloured object visual data to the microcontroller it’s being used with, rather than outputting all visual data for image processing.
The vision sensor can track seven different colours signatures at once – a figure that can be expanded by using combinations of colours (‘colour codes’ — basically sticking one swatch of colour next to a different one to create a combination of two or more colours) if you need to track more than seven different-coloured objects at once. The system can apparently plot and report the real-time location of “hundreds” of objects at a time, and do so at an impressive 50Hz.
Pixy processes an entire 640×400 image frame every 1/50th of a second (20 milliseconds). This means that you get a complete update of all detected objects’ positions every 20 ms. At this rate, tracking the path of falling/bouncing ball is possible. (A ball traveling at 30 mph moves less than a foot in 20 ms.)
To teach Pixy a coloured object to track you hold the object in front of it and press a button on the top of the board which tells it to generate a statistical model of the shades in that particular object. Once it’s done this the board’s LED changes to a correspondingly similar colour and Pixy can start tracking objects of that colour.
Pixy reports objects’ real-time location through one of several interfaces: UART serial, SPI, I2C, digital out, or analog out. There’s also a PixyMon PC or Mac app for viewing what the sensor can see in real-time and for debugging any apps you’re building with it.
To expand function beyond object-sensing, Pixy integrates with an Arduino or other type of microcontroller — so it can be incorporated into another project, such as a wheeled robot – as demoed in the above video. Its creators note that it could also be used to create an indoor navigation system for a robot by, for instance, marking doorways with colour codes so Pixy is able to identify exit/entrance points and tell the robot where to move.
Most of the early bird Kickstarter pledges for Pixy have gone already but $59 can still bag you the vision sensor board plus an Arduino cable — so you can start building your own colour-sensitive bot.