We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991a551 commit 9d6bf4fCopy full SHA for 9d6bf4f
new.py
@@ -93,7 +93,7 @@ def calculateFingers(res,drawing): # -> finished bool, cnt: finger count
93
94
# get the coutours
95
thresh1 = copy.deepcopy(thresh)
96
- _,contours, hierarchy = cv2.findContours(thresh1, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
+ contours, hierarchy = cv2.findContours(thresh1, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
97
length = len(contours)
98
maxArea = -1
99
if length > 0:
0 commit comments