Some scripts or tools for daily using
CutImgOnly.py: to cut tiff into slices
Function: Delete Repeate Files in one folder
Function: Un Compress Files in one folder
Function: resave files
Function: transform excel file to csv for postprocessing
move splited files to one folder, like:
- folder1
- file1
- file2
- folder2
- file1
- file2
TO
- folfer
- file11
- file12
- file21
- file22
divide total data into train and val data folder by a rate
delete some objects by some principles in groud truth
add annotations to one files
GetFileList:
Get darknet train and val txt file which contain the image names
GetTrainValTestCSV:
Get train CSV file
Parser json file
Change Labels Format
- left top right bottom to cx cy width height
- cx cy width height to left top right bottom
Convert XML file to TXT file