Implementing stuff (I suck at commits sometimes lol)

This commit is contained in:
DSTO\pivatom
2018-12-13 11:00:27 +10:30
parent 750624fe2b
commit 6f0bd56b4a
9 changed files with 146 additions and 19 deletions

View File

@@ -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])