Facial recognition: OpenCV on the camera board

I’ve been talking to Pierre Raufast for a little while now about his efforts to get OpenCV ported smoothly to the Raspberry Pi camera board (which is available from the usual suspects: head to the links under “Buy a Pi” at the top right). OpenCV is an open-source library for real-time image processing, and is used in applications like gesture mapping, motion tracking – and facial recognition.

You might recognise Pierre’s name from a project we featured here back in April. The Magic Mirror recognises people looking into it, and talks to them accordingly. Back then he was using a webcam; now he’s got his hands on a camera board. The Raspberry Pi camera board is a better fit for the device, with a much higher framerate and better resolution.

In most webcams, OpenCV works natively. But because the Pi camera board isn’t a USB device, some work needed to be done to get it up and running. Pierre has done a bang-up job, and has made a seven-part tutorial available to get you up to speed. When you’re done, you’ll be able to see results like this:

Thanks Pierre – we can’t wait to see what you do next!