This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim4:npu:demos:yolov7-tiny [2025/01/08 22:22] louis |
products:sbc:vim4:npu:demos:yolov7-tiny [2026/04/02 02:46] (current) nick |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | YOLOv7-Tiny is an object detection model. It uses bounding boxes to precisely draw each object in image. | ||
| + | |||
| + | Inference results on VIM4. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Inference speed test**: USB camera about **126ms** per frame. | ||
| ===== Train the model ===== | ===== Train the model ===== | ||
| Line 30: | Line 40: | ||
| ==== Get the conversion tool ==== | ==== Get the conversion tool ==== | ||
| - | Download The conversion tool from [[gh>khadas/vim4_npu_sdk]]. | + | You can find the SDK here: [[dl>products/ |
| ```shell | ```shell | ||
| - | $ git lfs install | + | $ wget https://dl.khadas.com/products/ |
| - | $ git lfs clone https://github.com/khadas/ | + | $ tar xvzf vim4_npu_sdk-ddk-3.4.7.7-250508.tgz |
| - | $ cd vim4_npu_sdk | + | $ cd vim4_npu_sdk-ddk-3.4.7.7-250508 |
| $ ls | $ ls | ||
| adla-toolkit-binary | adla-toolkit-binary | ||
| ``` | ``` | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| <WRAP important> | <WRAP important> | ||
| Line 149: | Line 160: | ||
| $ ./ | $ ./ | ||
| ``` | ``` | ||
| - | |||
| - | {{: | ||
| === Camera input demo === | === Camera input demo === | ||
| Line 165: | Line 174: | ||
| # Run | # Run | ||
| - | $ ./ | + | $ ./ |
| ``` | ``` | ||