human_face_detect

Example of the component espressif/esp-dl v3.1.1
Chip ESP-IDF v5.3 ESP-IDF v5.4
ESP32-S3 alt text alt text
ESP32-P4 alt text alt text

Human Face Detect Example

A simple image inference example. See full example in esp-who.

Quick start

Follow the quick start to flash the example, you will see the output in idf monitor:

Plaintext

I (955) human_face_detect: [score: 0.936285, x1: 100, y1: 64, x2: 193, y2: 191]
I (955) human_face_detect: left_eye: [117, 114], left_mouth: [120, 160], nose: [132, 143], right_eye: [157, 112], right_mouth: [151, 160]]

Configurable Options in Menuconfig

Component configuration

We provide the models as components, each of them has some configurable options. See Human Face Detect Model

Project configuration

  • CONFIG_PARTITION_TABLE_CUSTOM_FILENAME

If model location is set to FLASH partition, please set this option to partitions2.csv

To create a project from this example, run:

idf.py create-project-from-example "espressif/esp-dl=3.1.1:human_face_detect"

or download archive (~42.56 KB)