一、老規矩
在darknet\build\darknet\x6下按住shift鍵,點擊鼠標右鍵選擇“在此處打開Powershell 窗口(s)”

二、測試圖片命令:
.\darknet detect cfg\yolov3.cfg yolov3.weights data\dog.jpg

三、攝像頭檢測命令:
.\darknet.exe detector demo data\coco.data cfg\yolov3.cfg yolov3.weights
調用結果如下

或者指定攝像頭設備號0:
在darknet\build\darknet\x6下按住shift鍵,點擊鼠標右鍵選擇“在此處打開Powershell 窗口(s)”

.\darknet detect cfg\yolov3.cfg yolov3.weights data\dog.jpg

.\darknet.exe detector demo data\coco.data cfg\yolov3.cfg yolov3.weights
調用結果如下

或者指定攝像頭設備號0:
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。