diff --git a/gesture.py b/gesture.py index 1ed8dd2..ad2143c 100644 --- a/gesture.py +++ b/gesture.py @@ -12,7 +12,7 @@ _, thresh1 = cv2.threshold(blurred, 127, 255, cv2.THRESH_BINARY_INV+cv2.THRESH_OTSU) cv2.imshow('Thresholded', thresh1) - contours, hierarchy = cv2.findContours(thresh1.copy(),cv2.RETR_TREE, \ + _, contours, hierarchy = cv2.findContours(thresh1.copy(),cv2.RETR_TREE, \ cv2.CHAIN_APPROX_NONE) max_area = -1 for i in range(len(contours)):