--- license: mit language: - en base_model: - Ultralytics/YOLO11 pipeline_tag: object-detection tags: - Ultralytics - YOLOv8 - YOLO11 --- # libdet.axera ## References links: - [The github repo of libdet's open source](https://github.com/AXERA-TECH/libdet.axera) ## Get Model - [YOLOv8](https://huggingface.co/AXERA-TECH/YOLOv8) - [YOLO11](https://huggingface.co/AXERA-TECH/YOLO11) - [YOLO11 Pose](https://huggingface.co/AXERA-TECH/YOLO11-Pose) ## Usage Example ### YOLOv8 ```shell ./test_det -m yolov8s.axmodel -t 1 -i pexels-володимир-король-16499013.jpg open libax_sys.so failed open libax_engine.so failed [I][ run][ 31]: AXCLWorker start with devid 0 [I][ init][ 75]: model_type: 1, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 0 [I][ init][ 93]: mean: 0.00, 0.00, 0.00 [I][ init][ 94]: std: 0.00, 0.00, 0.00 input size: 1 name: images [unknown] [unknown] 1 x 640 x 640 x 3 output size: 3 name: /model.22/Concat_output_0 1 x 80 x 80 x 144 name: /model.22/Concat_1_output_0 1 x 40 x 40 x 144 name: /model.22/Concat_2_output_0 1 x 20 x 20 x 144 [I][ init][ 164]: input_w: 640, input_h: 640, is_input_nchw: false [I][ init][ 172]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false num_objs: 8 [I][ run][ 81]: AXCLWorker exit with devid 0 ``` ![](lib/result_v8.jpg) ### YOLO11 Pose ```shell ./test_det -m yolo11x-pose.axmodel -t 4 -i pexels-володимир-король-16499013.jpg --num_kpt 17 open libax_sys.so failed open libax_engine.so failed [I][ run][ 31]: AXCLWorker start with devid 0 [I][ init][ 75]: model_type: 4, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 17 [I][ init][ 93]: mean: 0.00, 0.00, 0.00 [I][ init][ 94]: std: 0.00, 0.00, 0.00 input size: 1 name: images [unknown] [unknown] 1 x 640 x 640 x 3 output size: 6 name: /model.23/Concat_1_output_0 1 x 80 x 80 x 65 name: /model.23/Concat_2_output_0 1 x 40 x 40 x 65 name: /model.23/Concat_3_output_0 1 x 20 x 20 x 65 name: /model.23/cv4.0/cv4.0.2/Conv_output_0 1 x 80 x 80 x 51 name: /model.23/cv4.1/cv4.1.2/Conv_output_0 1 x 40 x 40 x 51 name: /model.23/cv4.2/cv4.2.2/Conv_output_0 1 x 20 x 20 x 51 [I][ init][ 164]: input_w: 640, input_h: 640, is_input_nchw: false [I][ init][ 172]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false num_objs: 6 [I][ run][ 81]: AXCLWorker exit with devid 0 ``` ![](lib/result_11pose.jpg) ### Gradio Usage Example ```shell python lib/gradio_example.py --model yolo11x.axmodel --model_type 3 ``` ```shell (axcl) radxa@radxa-cubie-a7a:~/AXERA-TECH/libdet.axera$ python lib/gradio_example.py --model yolo11x.axmodel --model_type 3 Trying to load: /home/axera/libdet.axera/build/libdet.so ❌ Failed to load: /home/axera/libdet.axera/build/libdet.so /home/axera/libdet.axera/build/libdet.so: cannot open shared object file: No such file or directory 🔍 File not found. Please verify that libdet.so exists and the path is correct. Trying to load: /home/radxa/AXERA-TECH/libdet.axera/lib/aarch64/libdet.so open libax_sys.so failed open libax_engine.so failed ✅ Successfully loaded: /home/radxa/AXERA-TECH/libdet.axera/lib/aarch64/libdet.so 可用设备: {'host': {'available': False, 'version': '', 'mem_info': {'remain': 0, 'total': 0}}, 'devices': {'host_version': 'V3.6.4_20250819020149', 'dev_version': 'V3.6.4_20250819020149', 'count': 1, 'devices_info': [{'temp': 45, 'cpu_usage': 1, 'npu_usage': 0, 'mem_info': {'remain': 7022, 'total': 7040}}]}} axcl device available, use device-0 [I][ run][ 31]: AXCLWorker start with devid 0 [I][ init][ 75]: model_type: 3, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 0 [I][ init][ 81]: mean: 0.00, 0.00, 0.00 [I][ init][ 82]: std: 1.00, 1.00, 1.00 input size: 1 name: images [unknown] [unknown] 1 x 640 x 640 x 3 output size: 3 name: /model.23/Concat_output_0 1 x 80 x 80 x 144 name: /model.23/Concat_1_output_0 1 x 40 x 40 x 144 name: /model.23/Concat_2_output_0 1 x 20 x 20 x 144 [I][init][ 152]: input_w: 640, input_h: 640, is_input_nchw: false [I][init][ 160]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false * Running on local URL: http://xxx.xxx.xxx.xxx:7860 * Running on local URL: http://0.0.0.0:7860 * To create a public link, set `share=True` in `launch()`. ``` Access `http://xxx.xxx.xxx.xxx:7860` using Chrome or another browser. ![](./lib/gradio.png) ## Community QQ 群: 139953715