-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.py
32 lines (29 loc) · 863 Bytes
/
parameters.py
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
DEBUG = True
APERTURE_SIZE = 3
BLURRING_GAUSSIAN_KERNEL_SIZE = (3, 3)
BLURRING_GAUSSIAN_SIGMA = 15
ADAPTIVE_THRESHOLD_KERNEL_SIZE = 11
ADAPTIVE_THRESHOLD_C = 2
EROSION_KERNEL_SIZE = (3, 3)
EROSION_ITERATIONS = 3
DILATE_KERNEL_SIZE = (5, 5)
DILATE_ITERATIONS = 2
CANNY_THRESHOLD_LOW = 50
CANNY_THRESHOLD_HIGH = 150
HOUGH_THRESHOLD = 200
HTRDC_K_START = 0.0
HTRDC_K_END = 0.00001
HTRDC_EPSILON = 0.0000001
HTRDC_N = 20
LABEL_AREA_THRESHOLD = 2700
ENTROPY_SURE_NOT_PICTURE_THRESH = 6.50
ENTROPY_SURE_PICTURE_THRESH = 7.30
PICTURE_GRAY_THRESH = 90
PICTURE_SIZE_THRESH_W_H = (720, 405)
STATUE_GRAY_HIST_THRESH = 150
RECTIFY_IMAGE_ITER = 4
SEGMENTATION_COLOR_BG = (68, 68, 62)
SEGMENTATION_COLOR_RP = (132, 79, 3)
SEGMENTATION_COLOR_PP = (209, 168, 146)
SEGMENTATION_COLOR_RP_OUT = [255, 0, 0]
SEGMENTATION_COLOR_PP_OUT = [0, 255, 0]