In this tutorial, I will demonstrate how to use Taipy and OpenCV together to make a face detection app from a photo.

At the end of the tutorial, you will have a single page web application where you can upload a photo. The photo will be displayed with rectangles around detected faces.

The promise is to take less than 50 lines of code for it!

In this article

  • Presentation and intallation of Taipy and OpenCV
  • Face Detection
  • Haar cascade classifier
  • Color conversion
  • Taipy GUI