Spaces:
Sleeping
Sleeping
| from dotmap import DotMap | |
| CONFIG_DEFAULTS = DotMap( | |
| { | |
| "dimensions": { | |
| "display_height": 2480, | |
| "display_width": 1640, | |
| "processing_height": 820, | |
| "processing_width": 666, | |
| }, | |
| "threshold_params": { | |
| "GAMMA_LOW": 0.7, | |
| "MIN_GAP": 30, | |
| "MIN_JUMP": 25, | |
| "CONFIDENT_SURPLUS": 5, | |
| "JUMP_DELTA": 30, | |
| "PAGE_TYPE_FOR_THRESHOLD": "white", | |
| }, | |
| "alignment_params": { | |
| # Note: 'auto_align' enables automatic template alignment, use if the scans show slight misalignments. | |
| "auto_align": False, | |
| "match_col": 5, | |
| "max_steps": 20, | |
| "stride": 1, | |
| "thickness": 3, | |
| }, | |
| "outputs": { | |
| "show_image_level": 0, | |
| "save_image_level": 0, | |
| "save_detections": True, | |
| "filter_out_multimarked_files": False, | |
| }, | |
| }, | |
| _dynamic=False, | |
| ) | |