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:demos:yolov7-tiny [2023/09/19 22:41] louis |
products:sbc:edge2:npu:demos:yolov7-tiny [2025/04/09 23:10] (current) louis |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| {{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 Edge2. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Inference speed test**: USB camera about **43ms** per frame. MIPI camera about **33ms** per frame. | ||
| ===== Train Model ===== | ===== Train Model ===== | ||
| Line 59: | Line 69: | ||
| ==== Convert ==== | ==== Convert ==== | ||
| - | After training model, run '' | + | After training model, run '' |
| Enter '' | Enter '' | ||
| Line 97: | Line 107: | ||
| ``` | ``` | ||
| - | Run '' | + | Run '' |
| ```shell | ```shell | ||
| Line 107: | Line 117: | ||
| ==== Get source code ==== | ==== Get source code ==== | ||
| - | Clone the source code form our [[gh> | + | Clone the source code from our [[gh> |
| ```shell | ```shell | ||
| Line 143: | Line 153: | ||
| $ bash build.sh | $ bash build.sh | ||
| - | # Run | + | # Run USB camera |
| + | $ cd install/ | ||
| + | $ ./ | ||
| + | |||
| + | # Run MIPI camera | ||
| $ cd install/ | $ cd install/ | ||
| - | $ ./ | + | $ ./ |
| ``` | ``` | ||
| <WRAP info > | <WRAP info > | ||
| - | '' | + | '' |
| </ | </ | ||
| <WRAP tip > | <WRAP tip > | ||
| - | If your **YOLOv7 tiny** model classes | + | If your **YOLOv7 tiny** model classes |
| </ | </ | ||