parser=argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,description='Collect detections and return a complete dataframe')
parser=argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,description='Collect detections and return a complete dataframe')
parser.add_argument('path_to_data',type=arg_directory,help='Path of the folder that contains the .txt files',required=True)
parser.add_argument('path_to_data',type=arg_directory,help='Path of the folder that contains the .txt files')
parser.add_argument('directory',type=arg_directory,help='Directory where the dataframe will be stored',required=True)
parser.add_argument('directory',type=arg_directory,help='Directory where the dataframe will be stored')
parser.add_argument('names',type=str,help='path to YOLOv5 custom_data.yaml file',required=True)
parser.add_argument('names',type=str,help='path to YOLOv5 custom_data.yaml file')
parser.add_argument('-s','--sr',type=int,help='Sampling Rate of the spectrogram',required=True)
parser.add_argument('-s','--sr',type=int,help='Sampling Rate of the spectrogram',required=True)
parser.add_argument('--duration',type=int,help='Duration of the spectrogram',default=8)
parser.add_argument('--duration',type=int,help='Duration of the spectrogram',default=8)