GoCV implementation of YOLOv4
Download yolov4.weights
Download yolov4.cfg
> go get -u -d gocv.io/x/gocv
> cd $GOPATH/src/gocv.io/x/gocv
> make install
# Project Download
> git clone https://github.com/gron1gh1/gocv-yolov4
> cd gocv-yolov4
> wget -O assets/yolov4.weights https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights
> go run main test.jpg
> go run video.go vtest.avi
GPU is not used in the test environment😂
So it is very slow but works well😉
# VIDEO and URL
> go run video.go {VIDEO_FILE or RTSP URL}
# Picture File
> go run main.go {PICTURE FILE NAME}