Object Detection deployment ¶
Object Detection deployment is supported on STM32N6, STM32H7, and STM32MPU platforms. Hardware requirements, supported model formats, tools, and deployment steps vary by target. Follow the guide for your platform for the applicable setup instructions and configuration:
Object Detection specifics ¶
model.model_typeis required, also when you usemodel_path. It selects the post-processing adapted to the model architecture.The
postprocessingsection is required and setsconfidence_thresh,NMS_thresh,IoU_eval_thresh, andmax_detection_boxes. Highermax_detection_boxesvalues use more memory on target; models are validated with10.yolo_anchorsis only needed for YOLOv2-type models.preprocessing.resizing.aspect_ratiosupport depends on the target:Value
Supported targets
fitAll
cropSTM32H7, STM32N6
paddingSTM32H7
full_screenSTM32N6
On STM32MPU, only
bilinearinterpolation, thefitaspect ratio, and thergbcolor mode are supported.
Configuration examples ¶
Ready-to-use YAML examples are available in the Object Detection configuration folder:
STM32N6 deployment:
STM32H7 deployment: deployment_h7_config.yaml
STM32MPU deployment: deployment_mpu_config.yaml
Quantization followed by deployment (
chain_qd): chain_qd_config.yaml, which targets the STM32H747I-DISCO board. For another target, changedeployment.hardware_setupandtoolsas described in the platform guide.