Sorry, you need to enable JavaScript to visit this website.

The Hailo-8 AI Accelerator is a cutting-edge AI processor integrated in TTCONTROL’s computing platform FusionAI. It supports the integration of AI-enhanced applications by delivering real-time, low-latency, and highly efficient AI inferencing. The Hailo-8 AI Accelerator enables advanced image and sensor data processing in FusionAI to support sophisticated assistance systems and highly automated functions in off-highway vehicles. 

Hailo.ai and TTCONTROL have put together a comprehensive tutorial for developers using FusionAI. The webcast takes less than 30 minutes to complete. It guides users through practical examples step-by-step, from the download of the tooling to the execution of a locally run AI model on FusionAI. 

Prerequisites and access

The starting point is the Hailo.ai Developer Zone. For the FusionAI preparation chapter, you will also need access to the TTCONTROL Customer Portal. The linked resources below are the most direct entry points described in this tutorial:

Getting access and orienting yourself


The Hailo-8 AI Accelerator is integrated in FusionAI to support efficient AI inference for image and sensor-data processing. This opening chapter introduces the developer resources used throughout the series and frames the journey from tooling access to executing a model locally on FusionAI.


Watch: Getting started with Hailo-8 in FusionAI

Useful links

Explore computer-vision models in FusionAI


This chapter opens the Hailo Model Explorer Vision and uses the YOLO family as example. It then inspects a pre-trained YOLOv8 model, including its architecture in Netron, and introduces the Hailo Model Zoo as part of the model-selection and preparation context. This chapter is dedicated to model exploration, not deployment.


Watch: Explore YOLOv8 and Hailo model resources

Useful links

Install the tooling and optimize a model


Quantization can reduce model size, increase inference speed, and lower power consumption. This chapter shows installation and use of the Hailo Software Suite in a Docker environment, followed by the compilation and deployment flow for an optimized, quantized model on FusionAI.


Watch: Boost AI performance on FusionAI

Useful links

Prepare FusionAI with Potara


Potara is FusionAI’s OS (Operating System). This chapter covers access to the TTCONTROL Customer Portal, development-environment setup, installation of the SDK and Universal Update Utility, flashing FusionAI with the current software release used in the video, hardware connections, power-up, and verification through SSH.


Watch: Prepare FusionAI with Potara

Useful links


Useful commands

# Change to the Downloads directory cd ~/Downloads 
# Unzip the release unzip Fusion_Release_V1.4.0.1 -d fusion-release cd fusion-release/Fusion_Release_V1.4.0.1 ls 
# Change to the Development Environment directory cd development_environment 
# Allow installer execution chmod +x potara-glibc-x86_64-ttc-image-qt6-cortexa72-cortexa53-crypto-fusion-toolchain.sh 
# Install SDK (select the installation directory when promted) ./potara-glibc-x86_64-ttc-image-qt6-cortexa72-cortexa53-crypto-fusion-toolchain.sh 

# Install NXP’s Universal Update Utility
sudo snap install universal-update-utility
# Make sure you are in the right directory
cd ~/Downloads
cd fusion-release/Fusion_Release_V1.4.0.1
# Add write permission to the directory owner
chmod u+w -R .
# Change to the Update directory
cd update/uuu
 

# Unzip the FusionAI image
gunzip ttc-image-qt6-fusion.rootfs.wic.gz
# Check if TTCONTROL FusionAI is connected
sudo uuu -lsusb
# “Flash” (write the bootloader and rootfs image) the device
sudo uuu -v  -b emmc_all ./imx-boot-qt6 ./ ttc-image-qt6-fusion.rootfs.wic

# Copy the SSH key to device to avoid typing the password
ssh-copy-id root@10.100.30.160 # Password: Kamehameha
# Connect to FusionAI
ssh root@10.100.30.160 
# Password should not be required anymore

Run real-time object detection on FusionAI


This chapter demonstrates compilation and deployment of YOLOv8 model on FusionAI. It runs real-time inference, detects and annotates objects under edge constraints, and uses Hailo-8 acceleration.


Watch: Run real-time object detection on FusionAI

Useful links

Useful commands

# Change to the Downloads directory
cd ~/Downloads
# Clone Hailo Apps repository
git clone --recurse-submodules https://github.com/hailo-ai/hailo-apps.git -b 26.03.1 
# Change to the Hailo Apps Cpp Object Detection directory
cd hailo-apps/hailo-apps/cpp/obeject-detection
# Create a “build” directory
mkdir build
# Change to the build directory
cd build
# Source (setup) the Potara SDK Environment
. /opt/porata/1.4.0/environment-setup-cortexa72-cortexa53-crypto-ttcontrol-linux
# Use cmake to configure the Project
cmake ..
# Build using make
Make
# Download YOLOv8 Obejct Detection Hailo Executable File
wget https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.18.0/hailo8/yolov8m.hef
# Copy Object Detection application binary and HEF to FusionAI
scp object_detection yolov8m.hef root@10.100.30.160:/app/
# Connect to FusionAI
ssh root@10.100.30.160 # Password should not be required
# Execute the Object Detection application
cd /app
./object_detection --net yolov8m.hef --input usb

Inside the Inference App – run a reference application on FusionAI

The reference application uses OpenCV with the HailoRT Async API and a three-thread pre-process, infer, and post-process design connected by queues. The chapter then replaces YOLOv8 with SC-Depth v3, changes the outputs from 16-bit unsigned integer to dequantized 32-bit floating point, updates post-processing, and visualizes depth maps on FusionAI.

Watch: Explore the HailoRT asynchronous inference pipeline

Useful commands

# Download SCDepth v3 Hailo Executable File
wget https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.18.0/hailo8/scdepthv3.hef
# Copy modified application binary and HEF to FusionAI
scp object_detection scdepthv3.hef root@10.100.30.160:/app/
# Connect to FusionAI
ssh root@10.100.30.160 # Password should not be required
# Execute the modified application
cd /app
./object_detection --net scdepthv3.hef --input usb

scroll to top