Face Detection STM32 Model Zoo

January 22, 2026 ยท View on GitHub

Directory Components:

  • datasets placeholder for the Face Detection datasets.
  • docs contains all readmes and documentation specific to the Face Detection use case.
  • src contains tools to evaluate, benchmark, quantize and deploy your model on your STM32 target.

Quick & easy examples:

The operation_mode top-level attribute specifies the operations or the service you want to execute. This may be a single operation or a set of chained operations.

You can refer to the README links below that provide typical examples of operation modes and tutorials on specific services:

All .yaml configuration examples are located in the config_file_examples folder.

The different values of the operation_mode attribute and the corresponding operations are described in the table below. In the names of the chain modes, 't' stands for training, 'e' for evaluation, 'q' for quantization, 'b' for benchmarking, and 'd' for deployment on an STM32 board.

operation_mode attributeOperations
evaluationEvaluate the accuracy of a float or quantized model on a test or validation dataset
quantizationQuantize a float model
predictionPredict the classes some images belong to using a float or quantized model
benchmarkingBenchmark a float or quantized model on an STM32 board
deploymentDeploy a model on an STM32 board
chain_eqeSequentially: evaluation of a float model, quantization, evaluation of the quantized model
chain_qbSequentially: quantization of a float model, benchmarking of quantized model
chain_eqebSequentially: evaluation of a float model, quantization, evaluation of quantized model, benchmarking of quantized model
chain_qdSequentially: quantization of a float model, deployment of quantized model

The model_type attributes currently supported for the object detection are:

  • facedetect_front : BlazeFace Front 128x128 is a lightweight and efficient Face Detection model optimized for real-time applications on embedded devices. It is a variant of the BlazeFace architecture, designed specifically for detecting frontal faces at a resolution of 128x128 pixels.
  • yunet : YuNet is a high-performance Face Detection model developed by MediaTek. It is designed to efficiently detect faces in images and videos, making it suitable for real-time applications on embedded devices. YuNet utilizes a deep learning architecture that combines convolutional neural networks (CNNs) with advanced techniques to achieve accurate and fast Face Detection.

You don't know where to start? You feel lost?

Don't forget to follow our tuto below for a quick ramp up :

Remember that minimalistic yaml files are available here to play with specific services, and that all pre-trained models in the STM32 model zoo are provided with their configuration .yaml file used to generate them. These are very good starting points to start playing with!