parser.add_argument("-D", "--dates", help="Date range. Format: YYYY-MM-DD-hh-mm-ss_YYYY-MM-DD-hh-mm-ss. If the second date is excluded then the current date is assumed.", required=False)
parser.add_argument("-t", "--type", help="Image format type (extension).", default="png")
parser.add_argument("-r", "--random", help="Select a random set of images from the input directory.", default=False, action="store_true")
parser.add_argument("-n", "--number", help="Number of random images to test. Only used with -r/--random.", default=10)
parser.add_argument("-l", "--deliminator", help="Image file name metadata deliminator character.", default="_")
parser.add_argument("-f", "--meta", help="Image file name metadata format. List valid metadata fields separated by the deliminator (-l/--deliminator). Valid metadata fields are: " + ", ".join(map(str, list(valid_meta.keys()))), default="imgtype_camera_frame_zoom_id")
parser.add_argument("-M", "--match", help="Restrict analysis to images with metadata matching input criteria. Input a metadata:value comma-separated list. This is an exact match search. E.g. imgtype:VIS,camera:SV,zoom:z500", required=False)
args = parser.parse_args()