Skip to content

Object detection format converter from VisDrone2019-DET to Yolo.

Notifications You must be signed in to change notification settings

k2-gc/Convert-VisDrone2019-DET-to-Yolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Annotation convert tool from VisDrone format to Yolo format

Introduction

This is tool for converting object detection annotation file format from VisDrone to Yolo.
Only support for VisDrone2019-DET.
Could be used for VisDrone2018-DET (Haven't checked).

Prerequisites

  • Python3
  • opencv
  • tqdm

Linux or Mac

python3 -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install opencv-python tqdm

Usage

python convert_visdrone_to_yolo.py --annotation-dir-path /PATH/TO/ANNOTATION_DIR --image-dir-path /PATH/TO/IMAGE_DIR --out-dir-path /PATH/TO/OUTPUT_DIR

Or just run command below if you use default path settings.

python convert_visdrone_to_yolo.py