Skip to content

gronxb/gocv-yolov4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocv-yolov4

GoCV implementation of YOLOv4

Model

Download yolov4.weights
Download yolov4.cfg

Install

> 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

Preview

> go run main test.jpg

> go run video.go vtest.avi

preview
GPU is not used in the test environment😂
So it is very slow but works well😉

Usage

# VIDEO and URL
> go run video.go {VIDEO_FILE or RTSP URL}

# Picture File
> go run main.go {PICTURE FILE NAME}

About

GoCV implementation of YOLOv4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages