Update findContours parameter type

This commit is contained in:
Suleyman TURKMEN committed 2018-09-28 18:42:48 +03:00
1 parent 29e88e50ff
commit 8eb987e393
17 files changed
+25 -25

No files matched your search

@@ -13,7 +13,7 @@ def thresh_callback(val):
canny_output = cv.Canny(src_gray, threshold, threshold * 2)
# Find contours
_, contours, _ = cv.findContours(canny_output, cv.RETR_TREE, cv.CHAIN_APPROX_SIMPLE)
contours, _ = cv.findContours(canny_output, cv.RETR_TREE, cv.CHAIN_APPROX_SIMPLE)
# Find the convex hull object for each contour
hull_list = []