This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:npu:npu-applications [2023/09/15 03:05] hyphop |
products:sbc:vim4:npu:npu-applications [2025/03/17 01:45] (current) nick [Install dependences] |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~tags> | ~~tags> | ||
- | + | ||
+ | **Doc for version ddk-3.4.7.7** | ||
====== NPU Applications ====== | ====== NPU Applications ====== | ||
Line 27: | Line 29: | ||
$ cd vim4_npu_applications | $ cd vim4_npu_applications | ||
$ ls | $ ls | ||
- | mobilenet_v2 | + | densenet_ctc |
``` | ``` | ||
- | * '' | + | * '' |
- | * '' | + | |
+ | <WRAP important> | ||
+ | Please use convert tool version tag ddk-3.4.7.7 or higher. | ||
+ | </ | ||
==== Install dependences ==== | ==== Install dependences ==== | ||
Line 36: | Line 41: | ||
```shell | ```shell | ||
$ sudo apt update | $ sudo apt update | ||
- | $ sudo apt install libopencv-dev python3-opencv cmake | + | $ sudo apt install |
``` | ``` | ||
==== Compile ==== | ==== Compile ==== | ||
- | Take '' | + | Take '' |
```shell | ```shell | ||
- | $ cd mobilenet_v2 | + | $ cd yolov3 |
$ mkdir build && cd build | $ mkdir build && cd build | ||
$ cmake .. | $ cmake .. | ||
Line 51: | Line 56: | ||
==== Run ==== | ==== Run ==== | ||
- | |||
- | === Mobilenet V2 === | ||
- | |||
- | ```shell | ||
- | $ cd mobilenet_v2/ | ||
- | $ sudo ./ | ||
- | [sudo] password for khadas: | ||
- | 997: 0.273438 | ||
- | 886: 0.031250 | ||
- | 108: 0.023438 | ||
- | 109: 0.019531 | ||
- | 127: 0.019531 | ||
- | ``` | ||
=== Yolov3 === | === Yolov3 === | ||
Line 79: | Line 71: | ||
```shell | ```shell | ||
$ cd yolov3/ | $ cd yolov3/ | ||
- | $ sudo ./yolov3 -p ../ | + | $ ./yolov3 -p ../ |
``` | ``` | ||
Line 88: | Line 80: | ||
```shell | ```shell | ||
$ cd yolov3_cap/ | $ cd yolov3_cap/ | ||
- | $ sudo ./ | + | $ ./ |
``` | ``` | ||
**x**: the number for you camera device. such as ''/ | **x**: the number for you camera device. such as ''/ |