2 changed files with 10 additions and 2 deletions
@ -0,0 +1,8 @@
|
||||
替換權重: |
||||
1. 找到 async_infer_advanced_example.cpp 裡的 main ,將 hef 檔案替換成 YOLOv5 和 YOLOv7,如下 |
||||
2. auto infer_model = vdevice->create_infer_model("yolov7_yuv21.hef").expect("Failed to create infer model"); |
||||
3. 到 build 底下重新編譯 .\detection_app.exe |
||||
|
||||
|
||||
目前輸入格式為 (YUV 大小會從 640 * 360 -> 640 * 640): |
||||
.\detection_app.exe .\input.yuv output.yuv |
||||
Loading…
Reference in new issue