See how Ara240 transforms edge vision AI with real-time object detection running on NXP i.MX platforms. This repository contains comprehensive vision examples for i.MX Application Processors, using the Ara240 Discrete Neural Processing Unit (DNPU) accelerator. Demonstrating real-time video processing with AI/ML inference capabilities at the edge. Including object detection, object classification, pose estimation, and semantic segmentation.
| Snapshot | Name | Supported Platforms | Implementation | Supported Models |
|---|---|---|---|---|
![]() |
multistream_yolo |
|
C++ |
|
This solution processes one or multiple video streams, generating visual outputs with bounding boxes around detected objects, along with classification labels and confidence scores. Designed to showcase the performance, scalability, and responsiveness of the Ara240 architecture, this application highlights how advanced AI workloads can be executed locally at the edge. By leveraging the Ara240 compute capabilities for on-device inference, the system reduces latency, minimizes cloud dependency, and enables faster decision-making for next-generation smart cameras, industrial automation systems, and intelligent edge devices. The application supports both single-stream and multi-stream operation, demonstrating how Ara240 can efficiently scale from basic vision use cases to complex deployments requiring simultaneous analysis of multiple video feeds.
| Platform | Supported |
|---|---|
| FRDM i.MX 8M Plus | ✅ |
| FRDM i.MX 95 | ✅ |
| FRDM i.MX 95 PRO | ✅ |
- Supported FRDM i.MX platform
- microSD card (recommended size >=64 GB)
- Ara240 16GB M.2 Module
- USB-C power supply (5V/3A recommended)
- 1920x1080 HDMI display monitor
- 1920x1080 USB camera
- HDMI cable
- USB mouse
- Two USB-C to USB-A debug cables
- USB hub (optional)
Since Ara240 Vision Examples is already part of i.MX Linux BSP, you can simply download a pre-built BSP image from NXP's Official website and flash it to your FRDM i.MX board to install it. The detailed steps for testing this application are provided below.
- Donwload the Linux i.MX image (version 6.18.20_2.0.0 or greater) corresponding to your FRDM i.MX board from Embedded Linux for i.MX.
- Download the Universal Update Utility (release version 1.5.243 or latest).
- Configure the Boot Switch on the FRDM board to serial downloader mode (make sure the board is turned off), please refer to the Quick Start Guide corresponding to yout FRDM i.MX board for this step:
- Insert the SD card in the FRDM i.MX board.
- Connect your FRDM i.MX board to the power supply and connect its USB-C and DEBUG ports to your host machine.
- Open a terminal in your host machine and run the Universal Update Utility using the following command along with the
.bin-flashfile and the.wicimage corresponding to your FRDM i.MX board:.\uuu.exe -b sd_all <imx-boot-*.bin-flash> <imx-image-full-*.wic>
- Power on the FRDM i.MX board and wait for the flashing process to complete.
This application is already available in NXP's GoPoint for i.MX Applications Processors launcher, to run it follow the next steps:
- Connect the HDMI display, USB camera and mouse to your FRDM i.MX board (a USB hub might be needed).
- Configure the Boot Switch on the FRDM board to USDHC2 4-bit SD3.0 mode (make sure the board is turned off).
- Connect the Ara240 16GB M.2 Module to the FRDM i.MX board.
- Power on the FRDM i.MX board and wait for the boot process to complete.
- Connect the FRDM i.MX board to the internet, for detailed information about Wi-Fi or Ethernet connectivity please refer to i.MX Linux User's Guide chapter 11.
- Once the boot process is completed click the GoPoint icon that appears in the upper left corner of the screen.
- Navigate inside GoPoint interface and select Ara240 Vision Examples, then click the Launch Demo button.
- Download the available models and video samples inside the Ara240 Vision Examples Interface.
- Now you can run the Multi-stream Yolo example using the input source and number of streams of your choice, for detailed information about running this example please refer to multistream_yolo documentation.
The following animations show the Multi-stream Yolo example running with different number of video streams.
The Multi-stream Yolo Application needs the models and sample videos to be downloaded properly before start, make sure these files exist:
- Check if the model is downloaded:
ls /usr/share/cnn/detection
- Check if the sample videos are downloaded:
ls /usr/share/ara2-vision-examples/sample_videos
If these directories look empty, there might be an issue with your Internet connection, In that case follow these steps:
- Make sure the system date is correct using the
datecommand, if it's incorrect, update it:date -s 'Tue 6 Oct 09:19:34 PDT 2026' - Configure your system's DNS server:
echo nameserver 8.8.8.8 > /etc/resolv.conf
Yes, you can replace the default sample videos with your own content, just consider the following:
- The videos must be stored in location:
/usr/share/ara2-vision-examples/sample_videosand named following the pattern:video_N.ts(where N is 0-7). - The videos must have a reasonable resolution (recommended: 640x360 or higher).
- The videos should be in H.264/MP4 format, for video format conversion please refer to multistream_yolo documentation.
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Note: For more general technical questions regarding NXP Microcontrollers and the difference in expected functionality, enter your questions on the NXP Community Forum
| Version | Description / Update | Date |
|---|---|---|
| 1.0 | Initial release on Application Code Hub | October 6th 2026 |
NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license terms, then you may not retain, install, activate or otherwise use the software.
This repository is licensed under the LA_OPT_Online Code Hosting NXP_Software_License license.




