Skip to content

gopalkatariya44/dataset_preparation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset CSV File Maker

If you have both images and txt in different folder

python main.py --labels dataset/annotations --images dataset/images --classes dataset/annotations/classes.txt
            -csv "dataset.csv" 
            -o "sprate_labels_output"

If you have both images and txt in one folder

python main.py --images "dataset" --classes "classes.txt" --csv-output "dataset.csv" --output "sp_labels"
python main.py --labels "VOC2012/yolotxt" --images "VOC2012/JPEGImages" --classes "VOC2012/classes.txt" --output "sp_labels" --csv-output "VOC2012/dataset.csv"

dir structure

|---dataset name/
|---|---images/
|---|---labels/
|---|---|---classes.txt
python main.py -i "img_path"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages