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

Object detection format converter from VisDrone2019-DET to Yolo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 

About

Object detection format converter from VisDrone2019-DET to Yolo.


Languages

Language:Python 100.0%