It's called Pixy, and I really really want one.
Read the full article and watch the demo video here:
http://www.eetimes.com/author.asp?section_id=36&doc_id=1319338
They have it connected to an Arduino but no reason why you can't drive this from a PIC, Raspberry or anything else for that matter.