Skip to main content

Object Detection

Object Detection is a core computer-vision task. It identifies and localizes objects in images or video (such as people, vehicles, and animals), usually with bounding boxes. It is widely used in security monitoring, autonomous driving, and industrial inspection. Representative models include YOLO, R-CNN, and DETR.

HardwareModelPerformance benchmark
RDK X5
USB camera
YOLO11m28.95 fps
Note

This case is for a quick object-detection trial. The model is not performance-optimized.

Hardware Connection

Plug the USB camera into a USB port on the RDK X5 development board.

Environment Setup

# Download yolo11m_demo.tar and extract it on the board
wget https://archive.d-robotics.cc/downloads/rdk_demo/rdk_x5_demo/yolo11m_demo.tar.gz
tar zxvf yolo11m_demo.tar.gz

Run the Sample

Caution

This case must be started from MobaXterm or the system desktop. A terminal that cannot display a window will report an error.

# Enter the specified folder
cd yolo11m_demo/runtime/python

# Test with the default image
python3 main.py

# Test with the camera
python3 main.py --camera-id 0

After it starts, the detection result is displayed.