一、老規矩
在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: