This project demonstrates SiMa.ai’s edge inferencing capability for multi-channel video processing. It contains a Vision AI pipeline for processing up to 16 video channels on SiMa.ai’s Modalix platform, requiring SDK 2.0.0.
This pipeline processes up to 16 video channels in parallel, enabling real-time inference on edge devices.
For object detection workloads, the pipeline includes a custom plugin called OpenLabelConverter, which generates metadata in the Open Label format and passes it to OptiView for rendering.
Preproc → MLA → BoxDecoder → OpenLabelConverter
For pose detection, the MLA directly creates the overlay video output without using OpenLabelConverter.
| Channels | Model | Task |
|---|---|---|
| 1–4 | YOLOv9 | Object Detection |
| 5–8 | YOLOv8 | Pose Estimation |
| 9–12 | YOLOv8 | Object Detection |
| 13–16 | YOLOv7 | Object Detection |
- SDK: Palette SDK 2.0.0 for building and deploying the Vision AI pipeline.
- sima-cli: Required for downloading assets and managing SiMa.ai resources. See the sima-cli documentation for installation and login instructions.
- Hardware: SiMa.ai DevKit with Modalix.
To test this sample, you will need to download mediasrc tool and video files to stream RTSP from your host machine.
Important
Run the following command on your Linux or Mac host machine
mkdir multisrc && cd multisrc && sima-cli install assets/multi-video-sources
cd multivideo-sources-scripts/
open preview.html
./mediasrc.sh ../videos-720p16On Windows, use mediasrc.bat instead in PowerShell.
Important
CLI commands below are executed from within the Palette SDK.
Make sure to update sima-cli first to the latest version.
sima-cli install gh:sima-ai/pipeline-multichannelThis command pulls the source code and models, and prepares the folder for building.
If you have already set up the RTSP sources, enter your host IP address when prompted.
During installation, the process will update application.json to configure the pipeline to read from the correct source.
Note
Use --board-type according to your DevKit type.
cd pipeline-multichannel
mpk create -s . -d . --clean --board-type modalixmpk device connect -t sima@devkit-ip
mpk deploy -f project.mpkOptiView is a tool that streamlines Vision AI development and evaluation.
Follow the installation guide to set up OptiView on your DevKit and learn how to use it.
- Open the OptiView web interface in your browser.
- From the dropdown menu, select
pipeline-multichannel. - Click the Rocket icon to start the pipeline.
- Click the TV icon in the bottom-left corner to switch to the live viewer and see the results.