Implementing stuff (I suck at commits sometimes lol)
This commit is contained in:
@@ -7,7 +7,7 @@ img = cv2.imread('H:\car\GestureRecognition\IMG_0818.png', 1)
|
||||
img = cv2.resize(img, None, fx=0.1, fy=0.1, interpolation = cv2.INTER_AREA)
|
||||
|
||||
min_seg_threshold = 1.2
|
||||
max_seg_threshold = 1.8
|
||||
max_seg_threshold = 3
|
||||
|
||||
# prevent divide by zero, by just forcing pixel to be ignored.
|
||||
np.where(img[:,:,1] == 0, 0, img[:,:,1])
|
||||
|
||||
Reference in New Issue
Block a user