Teach the robot to recognize and greet family members!
How AI learns and recognizes patterns from examples
What makes each face unique (face geometry)
Teaching machines through examples and reinforcement
How face unlock works on phones and computers
This mission is where kids usually say "WHOA!" 🤯
When the robot recognizes their face and says their name (via LED display or sound), it feels like real AI. Because it is! This is the same technology in:
Power on the HuskyLens. Press the Function button (left button) repeatedly until you see a face icon at the top of the screen. The mode name should say "Face Recognition."
Have one of the boys stand about 2 feet from the camera in good lighting. Their face should fill about 1/3 of the screen.
Now teach it the second boy's face! Repeat the same process. The HuskyLens will assign "ID2" to the second person.
Before coding, verify the HuskyLens is recognizing correctly. Point it at the trained faces:
Now let's make the micro:bit respond to recognized faces!
Make the robot DO something when it sees each person:
Let's make it follow a specific person around the room!
When you train a face, the HuskyLens AI analyzes facial landmarks—the unique geometry of eyes, nose, mouth, and face shape. It creates a mathematical "fingerprint" called a feature vector (basically a list of numbers that describes that face).
When it sees a face later, it generates a new feature vector and compares it to stored ones. If the match is close enough (above ~85% similarity), it says "That's ID1!" This happens 30 times per second!
Real-World Impact: This exact process unlocks your phone, tags friends in photos, helps police find missing persons, and even lets cameras automatically focus on faces. Your nephews just built the same AI that Facebook and Google use! 🤖📸
This is a great moment to talk with the boys about AI ethics:
Always ask permission before training someone's face. It's their biometric data—they should control it!
The HuskyLens stores faces locally (not in the cloud). That's good for privacy! But it also means if you reset it, the faces are gone.
Facial recognition can be used for good (finding missing kids) or bad (surveillance without consent). As future engineers, they should think about ethical implications!
WOW! The robot now recognizes people! This is peak AI coolness. The boys learned about machine learning, neural networks, facial geometry, and biometric data—concepts used in trillion-dollar industries!
Next up: We'll teach it to track colored objects! Make it follow a red ball, stop at a green sign, or play fetch. This unlocks game and toy applications! 🎨
Next Mission: Color Tracker 🎨 →