- Clone thir repository
- Navigating into the folder, containing this repo, clone the repository of darknet, using
git clone https://github.com/AlexeyAB/darknet
or by launching test.py file and running the clone_repo function
- Configure Makefile as in the second cloned repository, or by launching
test.pyfile and running themake_filefunction - after running
makemanually or throughtest.py,darknet.shscript must be in the root darknet folder - Download pre-trained yolov4 weights
- Define helper functions of showing a prediction. It is given in the
test.pyfile indicating functionimShow