This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:npu:npu-applications [2023/08/22 05:56] louis |
products:sbc:edge2:npu:npu-applications [2024/04/25 03:46] (current) louis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| ====== NPU Applications ====== | ====== NPU Applications ====== | ||
| ===== Get Source Code ===== | ===== Get Source Code ===== | ||
| - | Clone the source code form our [[https:// | + | Clone the source code form our [[gh>khadas/ |
| ```shell | ```shell | ||
| Line 54: | Line 56: | ||
| ===== C++ Applications ===== | ===== C++ Applications ===== | ||
| - | Enter C++ directory, | + | Enter C++ directory, take yolov5 as an example. |
| Install dependences. | Install dependences. | ||
| Line 66: | Line 68: | ||
| ```shell | ```shell | ||
| - | // yolov5 | + | # Yolov5 |
| - | // compile | + | # Compile |
| $ cd yolov5 | $ cd yolov5 | ||
| $ bash build.sh | $ bash build.sh | ||
| - | // run | + | # Run |
| $ cd install/ | $ cd install/ | ||
| $ ./yolov5 data/ | $ ./yolov5 data/ | ||
| - | // yolov5_cap | + | # Yolov5_cap |
| - | // compile | + | # Compile |
| $ cd yolov5_cap | $ cd yolov5_cap | ||
| $ bash build.sh | $ bash build.sh | ||
| - | // run | + | # Run |
| $ cd install/ | $ cd install/ | ||
| $ ./yolov5 data/ | $ ./yolov5 data/ | ||
| ``` | ``` | ||
| - | ‘’33’’ | + | '' |