:return:
cfg = load_config().cfg
parser = argparse.ArgumentParser()
parser.add_argument("--image_path", type=str, help="Path to the image to be tested",
default="data/test_images/test_01.jpg")
parser.add_argument("--weights_path", type=str, help="Path to the pre-trained weights to use",
default="model/shadownet/shadownet_2017-09-29-19-16-33.ckpt-39999")
parser.add_argument("-c", "--chardict_dir", type=str, default=cfg.PATH.CHAR_DICT_DIR,
help="Directory where character dictionaries for the dataset were stored")
parser.add_argument("-n", "--num_classes", type=int, default=37,
help="Force number of character classes to this number. "