Skip to content

This Repo contains files that convert the image annotation format to darknet format.

Notifications You must be signed in to change notification settings

SuyueLiu/dl-label-conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dl-label-conversion

This Repo is used to convert the image annotation (object detection) format into darknet format. So far, it supports supervise.ly and EPIC-KITCHENS-55-annotations.

Usage

1.Download the Repo.

git clone https://github.com/SuyueLiu/dl-label-conversion.git

2.Run the *.py file in command line.

super2darknet.py [-h] [--org_dir ORG_DIR] [--output_dir OUTPUT_DIR]
                        [--mode MODE] [--write_flag WRITE_FLAG]
epic2darknet.py [-h] --org_ann_path ORG_ANN_PATH --org_names_path
                       ORG_NAMES_PATH --org_dataset_dir ORG_DATASET_DIR
                       --out_dir OUT_DIR --mode {train,val} --iou_thres
                       IOU_THRES [--write_flag WRITE_FLAG]

3.Verify new labels

verify_labels.py [-h] --img_path IMG_PATH --label_path LABEL_PATH
                        --names_path NAMES_PATH

Examples

About

This Repo contains files that convert the image annotation format to darknet format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages