Ultralytics Model Conversion Tutorial¶
Introduction
This guide provides a step-by-step process for exporting, converting, encrypting, and deploying a quantized ONNX model for **Sony IMX500-based AI Cameras** using **Ultralytics YOLO11** and **Arducam SDK tools**.
Table of Contents¶
- 1. Quantized Model Acquisition
- 2. Model Conversion and Packaging
- 3. Encrypted Model Conversion and Packaging
- 4. Model Deployment
- 5. Post-Processing Development
1. Quantized Model Acquisition¶
Reference: Sony IMX500 Export for Ultralytics YOLO11 - Ultralytics YOLO Documentation
To export a quantized ONNX model compatible with the Sony IMX500 devices:
⚙️ Recommendation:
Set the model input resolution to below 320×320 to maintain maximum compatibility.
The export process will generate:
- A quantized ONNX model for validation.
- A folder named
*_imx_modelcontaining: packerOut.zip— the packaged quantized model.labels.txt— a list of all labels associated with the model, for use in post-processing.
2. Model Conversion and Packaging¶
Follow these steps to convert and package your quantized ONNX model for deployment on the IMX500 device:
- Visit ai.arducam.com and log in with your Arducam account.
- Click Start Converting to open the model conversion interface.

- Upload your quantized ONNX model.
- Click Convert Model to begin the conversion and packaging process.

- (Optional) To encrypt your model (bind it to a device via its Device ID), see Section 3.
- When complete, click Download Converted Model to retrieve the packaged output.
3. Encrypted Model Conversion and Packaging¶
3.1 Obtain the IMX500 Sensor Device ID¶
Refer to the following guide to obtain your IMX500 Sensor Device ID (take B0566 as an example):
👉 Arducam IMX500 USB3 UVC Camera Quick Start Guide
Run B0566, and observe the terminal output — it will display the Sensor Device ID of your IMX500 module (exclude any hyphens "-").
3.2 Encryption and Packaging Steps¶
- Visit ai.arducam.com and log in to your account.
- Click Start Converting to access the model conversion page.
- Upload your quantized ONNX model.
- Select the Enterprise tab.
- Enter the Sensor Device ID of your device into the Device ID input field.
- Click Convert Model to start the encryption and packaging process.
- After completion, click Download Converted Model to download the final encrypted
.zippackage.
4. Model Deployment¶
Once the model has been converted and packaged:
- Extract the
.ziparchive to retrieve the.fpkmodel file. - Set up the development environment following this guide:
👉 Arducam IMX500 USB3 UVC Camera Quick Start Guide - In the
ArducamIMX500SDKproject directory, run the following commands (replace<model_path>with your actual.fpkfile path):
cd examples
python app.py -m <model_path>
-lf ..\firmware\arducam_imx500\loader.fpk -mf ..\firmware\arducam_imx500\firmware.fpk
✅ Successful Deployment:
If an image is displayed correctly, the model has been successfully deployed on the IMX500 hardware.
5. Post-Processing Development¶
To develop custom post-processing for your deployed model, refer to the following documentation:
👉 Arducam IMX500 SDK - Postprocess
Other pre-trained post-processing modules located in the same directory can serve as reference implementations.
💡 You can customize output parsing and visualization according to your model’s inference results and application scenario.

