Application Code ¶
This directory contains embedded applications that run AI models on STM32 microcontrollers and STM32MP Linux platforms. The models can be trained, quantized, and evaluated with the STM32 model zoo services, or taken as the pretrained models from the ST Edge AI Model Explorer. For STM32 microcontrollers, ST Edge AI Core converts the model into optimized C code that the application integrates. On STM32MP platforms, the model runs with X-LINUX-AI. Each application can be used as a standalone project or through the deployment service of the model zoo services.
The catalog below summarizes each use case and links to the available application-code guides. Follow the guide for your target platform for hardware requirements, build instructions, and deployment details.
Use cases and application code ¶
|
Use case |
What the application does |
Available application-code guides |
|---|---|---|
|
Audio event detection |
Classifies sounds captured by a microphone as an environmental events. |
|
|
Speech enhancement |
Improves speech quality and intelligibility through audio processing and inference. |
|
|
Face detection |
Detects faces in camera images and displays their locations and keypoints. |
|
|
Hand posture |
Classifies static hand postures using data from a time-of-flight (ToF) sensor. |
|
|
Human activity recognition |
Recognizes human activities from 3-D accelerometer data. |
|
|
Image classification |
Predicts a class label for a camera image. |
|
|
Instance segmentation |
Detects individual objects and produces a pixel mask for each instance. |
|
|
Object detection |
Identifies objects in camera images and locates them with bounding boxes. |
|
|
Pose estimation |
Estimates a person’s pose by detecting and drawing body keypoints in camera images. |
|
|
Re-identification |
Tracks detected people and displays a tracking ID for each person. |
|
|
Semantic segmentation |
Assigns a class to each image pixel and displays the resulting segmentation map. |
The listed links cover the application-code/platform combinations in this directory; availability differs by use case and target. This is not a complete list of all STM32 Model Zoo use cases, since some use cases do not have application code here.
For STM32N6 hardware and development tools, see the STM32N6 AI development tools page. For application source and instructions, use the public GitHub guides linked in the table above.
Using application code with the STM32 Model Zoo ¶
The STM32 Model Zoo can train and evaluate supported models, then use the target-specific application code to deploy them. For the overall workflow, see the STM32 Model Zoo README. Use the relevant use-case documentation in the repository for deployment configuration and target-specific steps.