Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:npu:demos:yolov7-tiny

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:vim4:npu:demos:yolov7-tiny [2025/01/08 22:14]
louis
products:sbc:vim4:npu:demos:yolov7-tiny [2025/06/12 05:39] (current)
louis
Line 6: Line 6:
  
 {{indexmenu_n>1}} {{indexmenu_n>1}}
 +
 +===== Introduction =====
 +
 +YOLOv7-Tiny is an object detection model. It uses bounding boxes to precisely draw each object in image.
 +
 +Inference results on VIM4.
 +
 +{{:products:sbc:vim4:npu:demos:yolov7-tiny-demo-output.webp?800|}}
 +
 +**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 [[gl>khadas/vim4_npu_sdk]].+Download The conversion tool from [[gh>khadas/vim4_npu_sdk]].
  
 ```shell ```shell
Line 149: Line 159:
 $ ./yolov7_tiny -m ../data/yolov7_tiny_int8.adla -p ../data/horses.jpg $ ./yolov7_tiny -m ../data/yolov7_tiny_int8.adla -p ../data/horses.jpg
 ``` ```
- 
-{{:products:sbc:vim4:npu:demos:yolov7-tiny-demo-output.webp?800|}} 
  
 === Camera input demo === === Camera input demo ===
Line 165: Line 173:
  
 # Run # Run
-$ ./yolov7_tiny_cap -m ../data/yolov7_tiny_int8.adla -d 0+$ ./yolov7_tiny_cap -m ../data/yolov7_tiny_int8.adla -t usb -d 0
 ``` ```
  
Last modified: 2025/01/08 22:14 by louis