...
For detailed function implementation, please refer to the following file:
View file | ||
---|---|---|
|
2.2. Program Compile
When compiling NN-related applications, SDK's headers and libraries must be included.
...
Unzipped
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
...
then copy the whole folder yolov8s-detection_uint8_nbg_unify to the c3v Linux system. Then using make to compile the project.
Code Block |
---|
cd /sample/yolov8s-detection_uint8_nbg_unify
make -j |
After compilation, you can see the corresponding application program:yolov8s-detection-uint8.
...
The result is like this:
Code Block |
---|
/mnt/yolov8s-detection_uint8_nbg_unify # ./yolov8s-detection-uint8 ./network_binary.nb
./input.jpg
Create Neural Network: 28ms or 28375us
Verify...
Verify Graph: 21ms or 21116us
Start run graph [1] times...
Run the 1 time: 57.55ms or 57548.24us
vxProcessGraph execution time:
Total 58.05ms or 58053.36us
Average 58.05ms or 58053.36us
obj: L: 0 P:0.93, [(0, 42) - (200, 599)]
obj: L: 0 P:0.91, [(309, 279) - (180, 361)]
obj: L: 0 P:0.58, [(344, 171) - (170, 301)] |
...
The result is like this:
Code Block |
---|
/mnt/yolov8s-detection_uint8_nbg_unify # ./yolov8s-detection-uint8 ./network_binary.nb
./input.jpg
Create Neural Network: 28ms or 28375us
Verify...
Verify Graph: 21ms or 21116us
Start run graph [1] times...
Run the 1 time: 57.55ms or 57548.24us
vxProcessGraph execution time:
Total 58.05ms or 58053.36us
Average 58.05ms or 58053.36us
obj: L: 0 P:0.93, [(0, 42) - (200, 599)]
obj: L: 0 P:0.91, [(309, 279) - (180, 361)]
obj: L: 0 P:0.58, [(344, 171) - (170, 301)] |