reduce blob sensitivity a little to help with blinks

This commit is contained in:
Prohurtz 2022-09-11 15:00:36 -07:00
parent d781ccd95b
commit b01077eb42

View File

@ -286,7 +286,7 @@ class EyeProcessor:
# something to do blob tracking on. # something to do blob tracking on.
_, larger_threshold = cv2.threshold( _, larger_threshold = cv2.threshold(
self.current_image_gray, self.current_image_gray,
int(self.config.threshold + 15), int(self.config.threshold + 12),
255, 255,
cv2.THRESH_BINARY, cv2.THRESH_BINARY,
) )