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 08:54] sravan [Install and uninstall libraries] |
products:sbc:vim3:npu:npu-prebuilt-demo-usage [2023/09/11 09:14] sravan [Illustrative Example] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~tag> | + | ~~tag> |
====== NPU Prebuilt Demo Usage ====== | ====== NPU Prebuilt Demo Usage ====== | ||
Line 110: | Line 110: | ||
``` | ``` | ||
- | ==== Operating Environment | + | ==== Operating Environment |
| | ||
- | NPU Demo can run in X11 or framebuffer mode, just select the corresponding demo to run. | + | NPU Demo can run in X11 Desktop |
- | === X11 / Framebuffer === | + | |
- | + | - The demo with x11 is running in X11 mode. | |
- | | + | |
- | - The demo with x11 is running in X11 mode. | + | |
==== Illustrative Example ==== | ==== Illustrative Example ==== | ||
Line 124: | Line 122: | ||
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
$ ls | $ ls | ||
- | 1080p.bmp | + | 1080p.bmp |
``` | ``` | ||
- | |||
- | <WRAP tip > | ||
- | - '' | ||
- | - '' | ||
- | </ | ||
- | |||
==== Run ==== | ==== Run ==== | ||
Line 139: | Line 131: | ||
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
- | $ ./ | + | $ ./ |
``` | ``` | ||
- | Here is an example of using Opencv4 | + | Here is an example of using OpenCV4 |
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
- | $ ./detect_demo_fb | + | $ ./detect_demo_x11 |
``` | ``` | ||
Line 155: | Line 147: | ||
- | < | + | < |
You should use the demo of usb to use the USB camera, and the demo of mipi to use the mipi camera. | You should use the demo of usb to use the USB camera, and the demo of mipi to use the mipi camera. | ||
</ | </ | ||
Line 162: | Line 154: | ||
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
- | $ ./ | + | $ ./ |
``` | ``` | ||
Line 169: | Line 161: | ||
```shell | ```shell | ||
- | $ cd {workspace}/ | + | $ cd aml_npu_demo_binaries/ |
$ ./ | $ ./ | ||
``` | ``` | ||
- | < | + | < |
After turning on the camera, the recognition result will be displayed on the screen. | After turning on the camera, the recognition result will be displayed on the screen. | ||
</ | </ | ||
{{: | {{: |