Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 711 Bytes

File metadata and controls

28 lines (24 loc) · 711 Bytes

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