Refunds Shipping

We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Gingerbread face detection robot

By Russell Barnes. Posted

Gingerbread face detection robot

Learn how OpenCV works by building a gingerbread robot with a Raspberry Pi Camera

Advertisement

Christmas is coming – keep Santa on the right track with our Raspberry Pi gift guide!

or free PDF download

We love this tasty Gingerbread Robot project.

Created by Dexter Industries, it uses a Raspberry Pi Camera and Face Detection technology.

The Pi Camera detects when your face is in front of the Gingerbread Robot. Then it snaps a photo. Gingerbread Robot also waves his arms in the air. Just so you know he's seen you.

Building a Gingerbread Robot

It's a simple project, which makes it a fun afternoon. You'll need to bake the robot. Then hook him up to a PivotPi and two servo motors.

Discover the full build instructions over on Dexter Industries.

Baking is fun. But the tech behind the facial recognition is pretty cool.

The robot uses OpenCV Computer Vision Software. "The code puts a box around the face it sees," says the maker.

“This is by far the tastiest project we’ve ever done,” explain Dexter Labs. “We show you how to build a robot using the Raspberry Pi and servos kit, and the PivotPi, the Raspberry Pi Servo Controller.  The robot is equipped with a camera that checks for faces, and if it sees a face, it does a small dance!”

Russell Barnes photo

Russell runs Raspberry Pi Press, which includes The MagPi, Hello World, HackSpace magazine, and book projects. He’s a massive sci-fi bore.

Subscribe to Raspberry Pi Official Magazine

Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.

Subscribe

Sign up to the newsletter

Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.