Module 8 – Computer Vision (How AI Sees!)
beginner20 XP

Emoji Detectives & Reading Faces 😊😢

How AI detects faces, recognizes who you are, and even reads your emotions

Emoji Detectives & Reading Faces 😊😢

Face Detection vs Face Recognition

These sound the same but they're different!

Code
Face DETECTION: "There is a face in this image" 👤
(Doesn't know WHO it is)

Face RECOGNITION: "That face belongs to Alex Smith" 👤 = Alex
(Identifies the specific person)

😮 Emotion AI: Reading Your Feelings

AI can analyze micro-expressions (tiny face movements) to detect emotions!

ExpressionAI looks for
😊 HappyCorners of mouth raised, eyes slightly squinted
😢 SadEyebrows pulled together and down, lower lip out
😮 SurprisedEyebrows up, eyes wide, mouth open
😠 AngryEyebrows pulled down in middle, jaw tight

Some companies use emotion AI in:

  • Advertising: Do people REALLY like the advert?
  • Market research: What faces do people make at different prices?
  • Gaming: Does the game make you frustrated or happy?

🎭 How Disney Uses Computer Vision

Disney uses AI cameras in cinemas to monitor 4,000 faces at once — tracking smiles, laughs, and gasps during films. This helps them understand which scenes are most emotional!

📱 Portrait Mode Magic

When your iPhone takes a portrait photo with the blurry background effect:

  1. AI detects the person vs the background
  2. Creates a "depth map" — understanding what's close vs far
  3. Applies blur ONLY to background pixels
  4. Updates in real-time as you move

All done by AI, in a fraction of a second! 📸

😂 When Face AI Goes Wrong

The Microsoft Xbox Kinect Problem (2010): The Kinect body-tracking system worked less well for users with darker skin tones because the training data didn't have enough diverse examples.

The Sunglasses Problem: Many early face recognition systems could be fooled by — sunglasses! Just glasses confused them completely. 🕶️

These failures drove researchers to improve with more diverse training data!

💡 Privacy Thought

If a shop's camera recognized your face and knew you'd visited before, is that helpful or creepy?

This is a real debate happening right now about how computer vision should be used in public spaces. What do YOU think? 🤔

Quick check

01/3
What is the difference between face detection and face recognition?