This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:vim3:npu:npu-prebuilt-demo-usage [2023/09/11 09:07] sravan [Run] |
products:sbc:vim3:npu:npu-prebuilt-demo-usage [2023/09/11 09:48] hyphop |
||
---|---|---|---|
Line 25: | Line 25: | ||
The NPU demo contains three examples: | The NPU demo contains three examples: | ||
- | - '' | + | - '' |
- | - '' | + | - '' |
- | - '' | + | - '' |
===== Inception Model ===== | ===== Inception Model ===== | ||
Line 74: | Line 74: | ||
</ | </ | ||
- | ===== Yolo Series Model ===== | + | ===== YOLO Series Model ===== |
==== Install and uninstall libraries ==== | ==== Install and uninstall libraries ==== | ||
- | The yolo series models need to install the library into the system. Both the '' | + | The YOLO series models need to install the library into the system. Both the '' |
You can follow the steps to either install or uninstall the libraries. | You can follow the steps to either install or uninstall the libraries. | ||
Line 99: | Line 99: | ||
<WRAP important > | <WRAP important > | ||
- | The type parameter is an input parameter that must be selected whether it is to use camera dynamic recognition or to recognize pictures. This parameter is mainly used to specify the running | + | The type parameter is an input parameter that must be selected whether it is to use camera dynamic recognition or to recognize pictures. This parameter is mainly used to specify the running |
</ | </ | ||
Line 117: | Line 117: | ||
- The demo with x11 is running in X11 mode. | - The demo with x11 is running in X11 mode. | ||
- | ==== Illustrative Example | + | ==== Demo examples |
- | + | === detect_demo_picture | |
- | Here is an example of detect_demo_picture, | + | |
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
$ ls | $ ls | ||
1080p.bmp | 1080p.bmp | ||
``` | ``` | ||
- | ==== Run ==== | + | == Run == |
- | Identify the command | + | Command |
```shell | ```shell | ||
Line 135: | Line 134: | ||
``` | ``` | ||
- | Here is an example of using OpenCV4 to call the yolov3 model to recognize pictures under '' | + | Here is an example of using OpenCV4 to call the '' |
```shell | ```shell | ||
Line 146: | Line 145: | ||
{{: | {{: | ||
+ | === detect_demo === | ||
<WRAP tip > | <WRAP tip > | ||
Line 151: | Line 151: | ||
</ | </ | ||
+ | == Run == | ||
Command format for camera dynamic recognition. | Command format for camera dynamic recognition. | ||
```shell | ```shell | ||
$ cd aml_npu_demo_binaries/ | $ cd aml_npu_demo_binaries/ | ||
- | $ ./ | + | $ ./ |
``` | ``` | ||
- | Here is an example of using opencv4 | + | Here is an example of using OpenCV4 |
```shell | ```shell | ||
$ cd aml_npu_demo_binaries/ | $ cd aml_npu_demo_binaries/ |