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 Both sides next revision
products:sbc:edge2:npu:npu-applications [2023/08/22 05:56]
louis
products:sbc:edge2:npu:npu-applications [2023/08/25 04:49]
louis
Line 3: Line 3:
 ===== 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 [[https://github.com/khadas/edge2-npu|khadas/edge2-npu]].
  
 ```shell ```shell
Line 54: Line 54:
 ===== 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 66: Line 66:
  
 ```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: 2024/04/25 03:46 by louis