File size: 1,425 Bytes
9c0ac7a 22c0406 c93dff3 9c0ac7a 22c0406 9c0ac7a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
{ "main_process": {
"ImageToBGR": {
"input_format": "BGR"
},
"SegmPrediction": {
"model_path": "segm/model-319-0.1578.ckpt",
"config_path": "segm/segm_config.json",
"device": "cuda"
},
"RestoreImageAngle": {
"restoring_class_names": ["text_line"]
},
"ClassContourPosptrocess": {},
"OCRPrediction": {
"model_path": "ocr/model-97-0.8179.ckpt",
"config_path": "ocr/ocr_config.json",
"lm_path": "ocr/corpus_o6.arpa",
"classes_to_ocr": ["shrinked_pupil_text", "shrinked_comments"],
"device": "cuda"
},
"LineFinder": {
"line_classes": ["text_line"],
"text_classes": ["shrinked_pupil_text", "shrinked_comments"]
},
"PrepareJSON": {}
},
"classes": {
"shrinked_pupil_text": {
"contour_posptrocess": {
"BboxFromContour": {},
"UpscaleBbox": {"upscale_bbox": [1.4, 2.3]},
"CropByBbox": {}
}
},
"shrinked_comments": {
"contour_posptrocess": {
"BboxFromContour": {},
"UpscaleBbox": {"upscale_bbox": [1.4, 2.3]},
"CropByBbox": {}
}
},
"text_line": {
"contour_posptrocess": {}
}
}
}
|