plonk
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user