- 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.py
file and running themake_file
function - after running
make
manually or throughtest.py
,darknet.sh
script 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.py
file indicating functionimShow