Skip to content

TrimLabelImg fix any naming associated errors for images annotated with labelImg.

License

Notifications You must be signed in to change notification settings

nshaibu/TrimLabelImg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

TrimLabelImg

TrimLabelImg fix any naming associated errors for images annotated with labelImg. https://github.com/tzutalin/labelImg

Usage: trimLabelImgXML.py [-h] [-p path] [-s type] [-m] [-i] [-c transition_string] [-b basename]

--help,     -h                         :Print this help message and exit.
--path,     -p <directory>             :Specify the directory to scan.
--scantype, -s [shallow|deep]          :Specify the type of scanning to perform.
                              shallow  :only scan the toplevel of the specified 
                                        directory.
                              deep     :Scan the toplevel and all subdirectory 
                                        of the specified directory.
--move, -m                             :Move all unneccessary files into their own folders
--changefileextension, -c ext_string   :Change the extension of files in the given path to a
                                        different file extension.
                                        ext_string is formated in this form fromExt->toExt
                                        Example: jpeg->jpg means change all files with 'jpeg'
                                        extension to 'jpg'.
--basefilename, -b basename            :fallback filename.

About

TrimLabelImg fix any naming associated errors for images annotated with labelImg.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages