Gingerbread face detection robot
By Russell Barnes. Posted
Learn how OpenCV works by building a gingerbread robot with a Raspberry Pi Camera
Ask an Engineer – exclusive advice from the brains behind Raspberry Pi
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 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.
More articles
Cardputer Zero review
Adorable and powerful handheld terminal powered by Compute Module Zero
Read more →
Ask an Engineer in Raspberry Pi Official Magazine issue 172
It’s not just our engineers who are building things: Kat Shann, documentation specialist at Raspberry Pi, has built an intriguing way to commune with the spirit world via a Raspberry Pi-controlled ouija board. Inspired by the cyber-pet craze of the 1990s, Tara Carter has built her own, using a Raspberry Pi Zero 2 W to […]
Read more →
Win a CrowView Note & Raspberry Pi 5
Portable Raspberry Pi computing
Read more →