Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# libdet.axera
|
| 2 |
+
|
| 3 |
+
## Get Model
|
| 4 |
+
- [YOLOv8](https://huggingface.co/AXERA-TECH/YOLOv8)
|
| 5 |
+
- [YOLO11](https://huggingface.co/AXERA-TECH/YOLO11)
|
| 6 |
+
- [YOLO11 Pose](https://huggingface.co/AXERA-TECH/YOLO11-Pose)
|
| 7 |
+
|
| 8 |
+
## Usage Example
|
| 9 |
+
### YoloV8
|
| 10 |
+
```shell
|
| 11 |
+
./test_det -m yolov8s.axmodel -t 1 -i pexels-володимир-король-16499013.jpg
|
| 12 |
+
open libax_sys.so failed
|
| 13 |
+
open libax_engine.so failed
|
| 14 |
+
[I][ run][ 31]: AXCLWorker start with devid 0
|
| 15 |
+
[I][ init][ 75]: model_type: 1, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 0
|
| 16 |
+
[I][ init][ 93]: mean: 0.00, 0.00, 0.00
|
| 17 |
+
[I][ init][ 94]: std: 0.00, 0.00, 0.00
|
| 18 |
+
|
| 19 |
+
input size: 1
|
| 20 |
+
name: images [unknown] [unknown]
|
| 21 |
+
1 x 640 x 640 x 3
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
output size: 3
|
| 25 |
+
name: /model.22/Concat_output_0
|
| 26 |
+
1 x 80 x 80 x 144
|
| 27 |
+
|
| 28 |
+
name: /model.22/Concat_1_output_0
|
| 29 |
+
1 x 40 x 40 x 144
|
| 30 |
+
|
| 31 |
+
name: /model.22/Concat_2_output_0
|
| 32 |
+
1 x 20 x 20 x 144
|
| 33 |
+
|
| 34 |
+
[I][ init][ 164]: input_w: 640, input_h: 640, is_input_nchw: false
|
| 35 |
+
[I][ init][ 172]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false
|
| 36 |
+
num_objs: 8
|
| 37 |
+
[I][ run][ 81]: AXCLWorker exit with devid 0
|
| 38 |
+
```
|
| 39 |
+

|
| 40 |
+
|
| 41 |
+
### Yolo11 Pose
|
| 42 |
+
```shell
|
| 43 |
+
./test_det -m yolo11x-pose.axmodel -t 4 -i pexels-володимир-король-16499013.jpg --num_kpt 17
|
| 44 |
+
open libax_sys.so failed
|
| 45 |
+
open libax_engine.so failed
|
| 46 |
+
[I][ run][ 31]: AXCLWorker start with devid 0
|
| 47 |
+
[I][ init][ 75]: model_type: 4, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 17
|
| 48 |
+
[I][ init][ 93]: mean: 0.00, 0.00, 0.00
|
| 49 |
+
[I][ init][ 94]: std: 0.00, 0.00, 0.00
|
| 50 |
+
|
| 51 |
+
input size: 1
|
| 52 |
+
name: images [unknown] [unknown]
|
| 53 |
+
1 x 640 x 640 x 3
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
output size: 6
|
| 57 |
+
name: /model.23/Concat_1_output_0
|
| 58 |
+
1 x 80 x 80 x 65
|
| 59 |
+
|
| 60 |
+
name: /model.23/Concat_2_output_0
|
| 61 |
+
1 x 40 x 40 x 65
|
| 62 |
+
|
| 63 |
+
name: /model.23/Concat_3_output_0
|
| 64 |
+
1 x 20 x 20 x 65
|
| 65 |
+
|
| 66 |
+
name: /model.23/cv4.0/cv4.0.2/Conv_output_0
|
| 67 |
+
1 x 80 x 80 x 51
|
| 68 |
+
|
| 69 |
+
name: /model.23/cv4.1/cv4.1.2/Conv_output_0
|
| 70 |
+
1 x 40 x 40 x 51
|
| 71 |
+
|
| 72 |
+
name: /model.23/cv4.2/cv4.2.2/Conv_output_0
|
| 73 |
+
1 x 20 x 20 x 51
|
| 74 |
+
|
| 75 |
+
[I][ init][ 164]: input_w: 640, input_h: 640, is_input_nchw: false
|
| 76 |
+
[I][ init][ 172]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false
|
| 77 |
+
num_objs: 6
|
| 78 |
+
[I][ run][ 81]: AXCLWorker exit with devid 0
|
| 79 |
+
```
|
| 80 |
+

|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
## Community
|
| 84 |
+
QQ 群: 139953715
|