Face Recognition


This demo shows how to use Taipy with a custom GUI component to capture video from your webcam and do realtime face detection.

What this application demonstrates:

  • How to build a complex custom UI component for Taipy.
  • How to detect and recognize faces in the image in real time using OpenCV.
Face recognition application


A Webcam component is shown at the center of the application. It can detect faces and identify them. To be able to recognize your face, capture multiple photos of your face (click on the “Capture” button) and write your name when the dialog appears. At the end, click “Retrain” and the model should now recognize your face.