Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2: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:edge2:npu:demos:yolov7-tiny [2023/09/20 04:08]
hyphop [Convert]
products:sbc:edge2:npu:demos:yolov7-tiny [2025/04/09 23:10] (current)
louis
Line 4: Line 4:
  
 {{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 Edge2.
 +
 +{{:products:sbc:edge2:npu:demos:yolov7-tiny-result.jpg?800|}}
 +
 +**Inference speed test**: USB camera about **43ms** per frame. MIPI camera about **33ms** per frame.
  
 ===== Train Model ===== ===== Train Model =====
Line 143: Line 153:
 $ bash build.sh $ bash build.sh
  
-# Run+# Run USB camera 
 +$ cd install/yolov7_tiny 
 +$ ./yolov7_tiny data/model/yolov7_tiny.rknn usb 60 
 + 
 +# Run MIPI camera
 $ cd install/yolov7_tiny $ cd install/yolov7_tiny
-$ ./yolov7_tiny data/model/yolov7_tiny.rknn 33+$ ./yolov7_tiny data/model/yolov7_tiny.rknn mipi 42
 ``` ```
  
 <WRAP info > <WRAP info >
-''33'' is camera device index.+''60'' and ''42'' are camera device index.
 </WRAP> </WRAP>
  
  
 <WRAP tip > <WRAP tip >
-If your **YOLOv7 tiny** model classes is not the same as **coco**, please change ''data/coco_80_labels_list.txt'' and the ''OBJ_CLASS_NUM'' in ''include/postprocess.h''.+If your **YOLOv7 tiny** model classes are not the same as **COCO**, please change ''data/coco_80_labels_list.txt'' and the ''OBJ_CLASS_NUM'' in ''include/postprocess.h''.
 </WRAP> </WRAP>
  
Last modified: 2023/09/20 04:08 by hyphop