Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:npu:npu-prebuilt-demo-usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:02]
sravan [Operating Environment Description]
products:sbc:vim3:npu:npu-prebuilt-demo-usage [2023/09/11 09:14]
sravan [Illustrative Example]
Line 114: Line 114:
 NPU Demo can run in X11 Desktop or framebuffer mode, just select the corresponding demo to run. NPU Demo can run in X11 Desktop or framebuffer mode, just select the corresponding demo to run.
  
-    - The demo with xfb is running in framebuffer mode.+    - The demo with fb is running in framebuffer mode.
     - The demo with x11 is running in X11 mode.     - The demo with x11 is running in X11 mode.
  
Line 122: Line 122:
  
 ```shell ```shell
-$ cd {workspace}/aml_npu_demo_binaries/detect_demo_picture+$ cd aml_npu_demo_binaries/detect_demo_picture
 $ ls  $ ls 
-1080p.bmp  detect_demo_x11  detect_demo_xfb  INSTALL  lib  nn_data  README.md  UNINSTALL+1080p.bmp  detect_demo_x11  detect_demo_fb  INSTALL  lib  nn_data  README.md  UNINSTALL
 ``` ```
- 
-<WRAP tip > 
-      - ''detect_demo_fb'' It is a demo that uses opencv4 recognition pictures running under ''framebuffer''. 
-      - ''detect_demo_x11'' It is a demo that uses opencv4 recognition pictures running under ''X11''. 
-</WRAP> 
- 
 ==== Run ==== ==== Run ====
  
Line 137: Line 131:
  
 ```shell ```shell
-$ cd {workspace}/aml_npu_demo_binaries/detect_demo_picture +$ cd aml_npu_demo_binaries/detect_demo_picture 
-$ ./detect_demo_xx -m <type> -p <picture_path>+$ ./detect_demo_xx -m <type parameter> -p <picture_path>
 ``` ```
  
-Here is an example of using Opencv4 to call the yolov3 model to recognize pictures under ''x11''.+Here is an example of using OpenCV4 to call the yolov3 model to recognize pictures under ''x11''.
  
 ```shell ```shell
-$ cd {workspace}/aml_npu_demo_binaries/detect_demo_picture +$ cd aml_npu_demo_binaries/detect_demo_picture 
-$ ./detect_demo_fb -m 2 -p 1080p.bmp+$ ./detect_demo_x11 -m 2 -p 1080p.bmp
 ``` ```
  
Line 153: Line 147:
  
  
-<WRAP Info >+<WRAP tip >
 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.
 </WRAP> </WRAP>
Line 160: Line 154:
  
 ```shell ```shell
-$ cd {workspace}/aml_npu_demo_binaries/detect_demo +$ cd aml_npu_demo_binaries/detect_demo 
-$ ./detect_xx_xx -d <video node> -m <type>+$ ./detect_xx_xx -d <video node> -m <type parameter>
 ``` ```
    
Line 167: Line 161:
  
 ```shell ```shell
-$ cd {workspace}/aml_npu_demo_binaries/detect_demo+$ cd aml_npu_demo_binaries/detect_demo
 $ ./detect_demo_x11_usb -d /dev/video1 -m 2 $ ./detect_demo_x11_usb -d /dev/video1 -m 2
 ``` ```
  
-<WRAP tip >+<WRAP info >
 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.
 </WRAP> </WRAP>
  
 {{:products:sbc:vim3:npu:start:detect-demo-picture-x11-cv4.webp?1000 |detect}} {{:products:sbc:vim3:npu:start:detect-demo-picture-x11-cv4.webp?1000 |detect}}
Last modified: 2023/09/11 09:58 by hyphop