Leçon 1, Chapitre 1
En cours

Pictoblox robotic – Face Expression Recognition (teachers)

Yann KIDSHAKER 19 mars 2025

Face Expression Recognition

Objectives

After this lesson, students will be able to:

  • Perform face expression detection, using the PictoBlox coding environment.
  • Write a script that detects the emotion in the facial expression of a human and output the name of that emotion on stage, in real time.
Introduction

In this session students will understand the concept of face expression recognition technology that has gained wide popularity in recent times and know about its applications in security, mental disease diagnosis, human social interaction detection etc.

Students will also write a script in PictoBlox that will allow their device to detect their facial expression and output the kind of expression on their face on the stage.

Activity

Detect and output the face expressions from the camera

Teaching Resources
PicoBlox Code
Title Description File
Face Expression Recognition Detect and output the face expressions from the camera https://ai.thestempedia.com/wp-content/uploads/2022/03/session20_Face-Expression-Recognition.sb3
Timeline
Title Approximate Duration Procedure Reference Material
Introduction to Face Expression Recognition and its applications 5
  1. Explain what is Face Expression Recognition.
  2. Provide its applications like security, mental disease diagnosis, human social interaction detection etc.
Lecture Slide
Activity: Face Expression Recognition 30
  1. Ask students to open a new file in PictoBlox on their devices.
  2. Demonstrate the procedure given in the Face Expression Recognition Activity Sheet to the students.
  3. Ask the students to follow the instructions to create the project.
  4. At the end of the activity, the teacher must check if all the students have created the project and provide feedback accordingly.
 Lecture Slide, PictoBlox File and

Activity Sheet

Concluding the session 5
  1. Make sure that all the students save their script properly before closing PictoBlox.
  2. Give a summary of all the points covered in the lecture, and clear doubts if any.
Lecture Slide
Things to Remember
Before Class
  1. Make sure each PC has the latest version of PictoBlox installed and running.
During Class
  1. If the students are unable to find a block, point them to the color of the block on the block palette.
  2. Make sure they write the script by selecting the appropriate sprite.
  3. Explain them about the blocks that are used to create a bounding box around their face on the stage.
After Class
  1. Make sure students save their codes/scripts.
  2. Make sure they shut down the PC/Laptops.