Skip to content

Commit 9d6bf4f

Browse files
committed
fix press b to enjoy
1 parent 991a551 commit 9d6bf4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

new.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def calculateFingers(res,drawing): # -> finished bool, cnt: finger count
9393

9494
# get the coutours
9595
thresh1 = copy.deepcopy(thresh)
96-
_,contours, hierarchy = cv2.findContours(thresh1, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
96+
contours, hierarchy = cv2.findContours(thresh1, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
9797
length = len(contours)
9898
maxArea = -1
9999
if length > 0:

0 commit comments

Comments
 (0)