AXCL-Samples Build Examples
AXCL-Samples is a sample project that helps developers quickly learn how to build executables that run models on the Radxa AICore AX-M1.
AXCL is an API library providing runtime resource management, memory management, model loading and execution, and media data processing APIs.
tip
AXCL-Samples supports both native build and cross-compilation. This document demonstrates the native build.
Make sure the AXCL driver is installed as described in Environment installation.
Download the sample repository
Host
git clone https://github.com/AXERA-TECH/axcl-samples.git
Install build tools
Host
sudo apt update
sudo apt install build-essential cmake libopencv-dev
Build commands
Host
mkdir build && cd build
cmake ..
make install -j4
After a successful build, you should see the sample executables under ./install/bin.
axera@raspberrypi:~/temp/axcl-samples/build $ tree install
install
└── bin
├── ax_classification
├── ax_depth_anything
├── ax_yolo11
├── ax_yolo11_pose
├── ax_yolo11_seg
├── ax_yolov10
├── ax_yolov10_u
├── ax_yolov5_face
├── ax_yolov5s
├── ax_yolov5s_seg
├── ax_yolov8
├── ax_yolov8_pose
├── ax_yolov8_seg
├── ax_yolov9
└── ax_yolov9_u
Click to jump to model demo pages
Vision models
- Depth-Anything-V2: ax_depth_anything
- YOLOv11: ax_yolo11 · ax_yolo11_seg · ax_yolo11_pose
- YOLOv8: ax_yolov8 · ax_yolov8_seg
Multimodal models
- YOLO-World-V2: YOLO-World-V2