Pixy — teaching micro-controller boards to see

Robotics Technology
Pixy — teaching micro-controller boards to see
YouTube player

Now in the closing few days of its Kickstarter campaign the Pixy camera board from Carnegie Mellon is an interesting departure from cameras intended to be connected to micro-controllers like the Arduino. It isn’t just another camera, it’s a “smart” vision sensor.

Pixy has its own processor and connects to your micro-controller board through one of several interfaces: UART serial, SPI, I2C or simply through a digital or analog pin. Rather than providing raw image data to the micro-controller, instead it analyses the images on-board and sends more useful data—actionable data—to your micro-controller, e.g. a red ping-pong ball has been detected at x=54, y=103. Although even without an attached micro-controller board attached Pixy can use its digital and analog outputs to trigger switches or servos, which means that you can use it to drive simple robots without any programming.

The Pixy camera board connected to an Arduino micro-controller board.
The Pixy camera board connected to an Arduino micro-controller board.

The Pixy uses a hue-based color filtering algorithm to detect objects, calculating the hue and saturation of each pixel from the image sensor making it reasonably robust to lighting changes, and a connected component algorithm to detect multiple objects.

Pixy can detect, track and discriminate between multiple objects simultaneously.
Pixy can detect, track and discriminate between multiple objects simultaneously.

Howeve,r the really interesting thing about Pixy is that you can easily teach it what you’re interested in sensing. If you want to track a red ball the you just hold it in-front of the sensor and press the button on top of the board. While in learning mode Pixy will generate a statistical model of the colors contained in the object in front of the camera when the button was pressed, and going forward it’ll use that to find similar color signatures (and objects) later on.

While other sensors have proliferated, cameras have been left on the shelf by makers, they’re generally too hard to play with directly from a micro-controller board and the data isn’t as particularly useful—directly actionable—as data from other sensors. It’s possibly the Pixy will be able to change that and really reduce the friction in using computer vision to build robots.

11 thoughts on “Pixy — teaching micro-controller boards to see

  1. rndm(mod) » Pixy — teaching micro-controller boards to see says:

    […] Read more on MAKE […]

  2. SalutePixy - insegnamento schede micro-controller per vedere | Salute says:

    […] Ora, nei giorni di chiusura della sua campagna Kickstarter del consiglio fotocamera Pixy non è solo un’altra fotocamera, è un sensore di visione “intelligente”. […]

  3. PIXY! Teaching Micro-controllers Boards to See: Scientists Predict Major Implications for the Cat-Pestering Industries | pundit from another planet says:

    […] MAKE  […]

  4. Future Feeder » Blog Archive » Pixy — teaching micro-controllers boards to see says:

    […] more:Pixy — teaching micro-controllers boards to see […]

  5. UK Business OpportunitySmart Camera Board » UK Business Opportunity says:

    […] Pixy — teaching micro-controller boards to see [Make] […]

  6. Cozmic Ray says:

    I just built PIXY Cam and pan-tilt mechanism, Great hardware, goes together easily
    and has good instructions online. I use PixyMon under windows XP 64 to control
    the pixy.
    It’s tracking is wacky. Recognition is by color, and it is amazing how many of the
    same color objects are in the FOV, which sends it crazy trying to track.
    Recognition by color!!!
    My Pixycam pan-tilt only two days old
    Maybe it will get smarter?

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

Alasdair Allan is a scientist, author, hacker and tinkerer, who is spending a lot of his time thinking about the Internet of Things. In the past he has mesh networked the Moscone Center, caused a U.S. Senate hearing, and contributed to the detection of what was—at the time—the most distant object yet discovered.

View more articles by Alasdair Allan

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK