yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Hailo-10H AI HAT +2📖
1.Product Introduction
  • Product Introduction
2. Local Deployment Tutorial for LLM and VLM
  • 1. Environment Installation
  • 2. Text-based interactive LLM
  • 3. Visual and text interaction VLM
3. AI Vision Model Acceleration Tutorial
  • 1. Environment Setup
  • 2. rpicam-apps
  • 3.Test case
  • 4. Instance segmentation
  • 5.Pose estimation
  • 6.Segmented application
  • 7.Monocular depth
Download
  • System_File
Download ZIP

Welcome to Hailo-10H AI HAT +2 repository

2. rpicam-apps

rpicam-apps

The official rpicam-apps camera driver natively supports the AI module, automatically using the NPU to run compatible post-processing tasks.

1. Testing the Camera

To ensure the camera functions correctly, please run the following command:

rpicam-hello -t 10s

image-20240809182200740

This will launch the camera and display a preview window for 10 seconds. Once you've confirmed that everything is installed correctly, you can run some demos.

2. Installation

Note: (No download is required when using the yahboom version image)

xxxxxxxxxx
sudo apt update && sudo apt install rpicam-apps

3. Object Detection

This demo shows the bounding boxes around objects detected by the neural network. To disable the viewfinder, use the -n flag. To return plain text output describing the detected objects, add this option. Try the demo on your Raspberry Pi by running the following command: -v 2

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov6_inference.json

image-20240809182609885

Alternatively, you can try other models with different trade-offs in performance and efficiency.

To run a demo using a Yolov8 model, run the following command:

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov8_inference.json

image-20240809182714811

To run a demo using a YoloX model, run the following command:

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolox_inference.json

image-20240812095440228

To run the demo using the Yolov5 Person and Face model, run the following command:

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov5_inference.json

4. Image Segmentation

This demo performs object detection and segments objects by drawing a color mask on the viewfinder image. Try this demo on a Raspberry Pi by running the following command:

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov5_segmentation.json --framerate 20

image-20240812095533628

5. Attitude estimation

xxxxxxxxxx
rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov8_pose.json

image-20240812095609309

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Environment Setup
Test case

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文