mirror of
https://github.com/opencv/opencv.git
synced 2026-10-04 04:03:29 +03:00
Update findContours parameter type
This commit is contained in:
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 = []
|
||||
|
||||
Reference in new issue
Block a user