plonk
This commit is contained in:
parent
1130906f03
commit
2f3934d5eb
@ -59,7 +59,7 @@ def run(path):
|
||||
|
||||
for c in cnts:
|
||||
area = cv2.contourArea(c)
|
||||
if area > 20 and area < 40:
|
||||
if area > 20 and area < 80:
|
||||
# compute the center of the contour
|
||||
M = cv2.moments(c)
|
||||
cX = int(M["m10"] / M["m00"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user