Skip to content

Annotation data updater is a console/commandline tool made in C# (.NET 5) to interact and modify/update an existing YOLO dataset in a fast and easy way.

License

Notifications You must be signed in to change notification settings

Skye-Net/Annotation-data-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annotation data updater

Annotation data updater is a console/commandline tool made to interact and modify/update an existing YOLO dataset in a fast and easy way.

This tool requires .NET 5, which can be downloaded from here.

Features

  1. Removes "invalid" data from a dataset. Invalid data is a piece of annotated data where there is no object present in the image. In YOLO this is represented by an empty *.txt file. This removes the corresponding image and empty text file
  2. Removes images with no corresponding text files
  3. Removes a particular annotation class from the testdata
  4. Removes datafiles that fulfills a LIKE comparator with another string. Useful when accidentally doubling all data from an accidental copy or something similar
  5. Rename annotation
  6. Removes annotation text files where there is no corresponding image
  7. Automatically extract a random validation set
  8. Convert all images to png

Data updating using the interface


Simply run the program and follow the instructions in the console.

Data updating from the commandline

When using the data updater from the commandline, the following order of arguments are expected.

  1. The action number you wish to be perform, see Features for a the list of valid options
  2. The path with data
  3. Optional parameter for Action 3 (Class to remove), 4 (Like comparator string) and 7 (Optional percent to extract as validation set)

Example: In this case I've changed directory to the location of the AnnotateDataUpdate executable. Thus to perform Action 1 on a particular folder I run:

.\AnnotateDataUpdate.exe 1 "F:\NN Stuff\Annotated data"

About

Annotation data updater is a console/commandline tool made in C# (.NET 5) to interact and modify/update an existing YOLO dataset in a fast and easy way.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages