You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ming.hong dd8b6ddf72 update README 11 months ago
.vscode frist commit 11 months ago
CMakeFiles frist commit 11 months ago
build update README 11 months ago
out/build/x64-Debug update README 11 months ago
.gitignore frist commit 11 months ago
CMakeLists.txt frist commit 11 months ago
CMakeSettings.json frist commit 11 months ago
LICENSE frist commit 11 months ago
README.md update README 11 months ago
VideoToAI.cpp frist commit 11 months ago
VideoToAI.hpp frist commit 11 months ago
async_infer_advanced_example.cpp update README 11 months ago

README.md

使用環境: HailoRT 4.19.0 CMake 3.25.1 Opencv 4.6.0 Visual Studio 2022

編譯過程: mkdir build cmake .. -G "Visual Studio 17 2022" cmake --build build --config Release

權重位置: build\Release\yolov5s_yuv21.hef, build\Release\yolov7_yuv21.hef

測試影片:build\Release\input.yuv

替換權重: 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