Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:npu:npu-applications

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
products:sbc:edge2:npu:npu-applications [2023/08/22 05:47]
louis
products:sbc:edge2:npu:npu-applications [2024/04/25 03:46] (current)
louis
Line 1: Line 1:
-Edge2 NPU Applications修改稿+{{indexmenu_n>2}} 
 ====== NPU Applications ====== ====== NPU Applications ======
  
 ===== Get Source Code ===== ===== Get Source Code =====
  
-Clone the source code form our [[https://github.com/khadas/edge2-npu|Github]].+Clone the source code form our [[gh>khadas/edge2-npu]].
  
 ```shell ```shell
Line 55: Line 56:
 ===== C++ Applications ===== ===== C++ Applications =====
  
-Enter C++ directory,take yolov5 as an example.+Enter C++ directory, take yolov5 as an example.
  
 Install dependences. Install dependences.
Line 67: Line 68:
  
 ```shell ```shell
-// yolov5 +# Yolov5 
-// compile+# Compile
 $ cd yolov5 $ cd yolov5
 $ bash build.sh $ bash build.sh
  
-// run+# Run
 $ cd install/yolov5 $ cd install/yolov5
 $ ./yolov5 data/model/yolov5s-640-640.rknn data/img/bus.jpg $ ./yolov5 data/model/yolov5s-640-640.rknn data/img/bus.jpg
  
-// yolov5_cap +# Yolov5_cap 
-// compile+# Compile
 $ cd yolov5_cap $ cd yolov5_cap
 $ bash build.sh $ bash build.sh
  
-// run+# Run
 $ cd install/yolov5 $ cd install/yolov5
 $ ./yolov5 data/model/yolov5s-640-640.rknn 33 $ ./yolov5 data/model/yolov5s-640-640.rknn 33
 ``` ```
  
-‘’33’’ is the index of camera.+''33'' is the index of camera.
  
Last modified: 2023/08/22 05:47 by louis