-
First, download YOLO files here and extract.
-
Install python dependencies:
pip install -r requirements.txt -
Clone Darknet repository:
git clone https://github.com/AlexeyAB/darknet.git -
Generate libso to darknet python wrapper:
cd darknet/4.1. Compile for GPU use:
make GPU=1 CUDNN=1 LIBSO=1 ARCH='-gencode arch=compute_86,code=[sm_86,compute_86]'4.2. Compile for CPU use:
make LIBSO=1 -
Set your images folder path in
in_pathvariable, andOUT_PATHto save in. -
Run tool:
python crop_save.py
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|