Need help running object detection with MediaPipe Face Landmark on STM32N6570-DK
Hi ST Community,
I am working on the STM32N6570-DK board and need guidance on running two AI models together in a single pipeline:
- YOLO-FastestV2 for object detection (this is my custom train model)
- MediaPipe Face Landmark for facial landmark detection
My Goal
I want to:
- Run YOLO-FastestV2 to detect objects/faces from camera input
- Then run MediaPipe Face Landmark on detected face regions (ROI)
- Process both models efficiently on STM32N6570-DK
- Display final output with bounding boxes + face landmarks
Current Status
- I can run object detection examples on STM32N6570-DK.
- I have AI models available in ONNX/TFLite format.
- I am exploring deployment using STM32Cube.AI / ST AI tools.
- I am not sure about the best architecture for running both models together.
Questions
I need help with the following:
- Is it possible to run two AI models in parallel on STM32N6570-DK?
- What is the recommended pipeline?
- Camera → YOLO-FastestV2 → ROI extraction → Face Landmark → Display Output
- Should both models be merged into one application, or should I create separate inference pipelines?
- Are there memory limitations when using both models together?
- Is there any example project for multi-model inference on STM32N6?
- What is the best way to handle ROI cropping/resizing for the second model?
Challenges
Main concerns are:
- RAM/Flash usage
- Inference latency
- Camera pipeline integration
- Efficient post-processing
If anyone has experience with multi-model deployment or similar use cases on STM32N6 devices, your suggestions would be very helpful.
Thanks in advance.

