From 185213438eaca7ce4fab48c1fea2980c2cddaf9b Mon Sep 17 00:00:00 2001 From: qboticslabs Date: Thu, 30 Apr 2020 00:04:27 -0700 Subject: [PATCH] Added sample scripts for yolov4 --- image_yolov4.sh | 6 ++++++ net_cam_v4.sh | 6 ++++++ video_yolov4.sh | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100755 image_yolov4.sh create mode 100755 net_cam_v4.sh create mode 100755 video_yolov4.sh diff --git a/image_yolov4.sh b/image_yolov4.sh new file mode 100755 index 00000000..be3fd104 --- /dev/null +++ b/image_yolov4.sh @@ -0,0 +1,6 @@ + + +./darknet detector test ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights data/dog.jpg -i 0 -thresh 0.25 + + + diff --git a/net_cam_v4.sh b/net_cam_v4.sh new file mode 100755 index 00000000..5b7520e6 --- /dev/null +++ b/net_cam_v4.sh @@ -0,0 +1,6 @@ +#rm test_dnn_out.avi + +./darknet detector demo ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights rtsp://admin:admin12345@192.168.0.228:554 -i 0 -thresh 0.25 + + + diff --git a/video_yolov4.sh b/video_yolov4.sh new file mode 100755 index 00000000..159c8558 --- /dev/null +++ b/video_yolov4.sh @@ -0,0 +1,6 @@ + + +./darknet detector demo ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights test50.mp4 -i 0 -thresh 0.25 + + +