TV on a Rolling Cart

Exploring AI with Scratch Face Sensing Blocks

From Scratch

Exploring AI with Scratch Face Sensing Blocks
5 min4th5th6thTechnology
access

Summary

A tutorial introducing Scratch's face-sensing blocks, which use the webcam and on-device AI to detect where a face is and follow its expression -- a kid-friendly, hands-on first look at how AI face detection works.

Viewer safety

All ages
Common Sense Media — not yet ratedIMDb Parents Guide — not yet rated

Our rating is a quick teacher-to-teacher guide — preview before showing.

Teaching resources

Discussion questions

Discussion

This video shows how face-sensing blocks let a sprite detect and follow a person's face.

  1. What does the face-sensing extension detect through the webcam?
  2. How is this similar to or different from the regular video-sensing extension?
  3. What's one project you could build that reacts to where your face is?

Quick work-a-long

Words to know: face sensing, detect, AI.

Try it: Add the face-sensing extension and make a sprite move to follow the position of your face.