1 | initial version |
yes, that seems to have changed.
import cv2
help(cv2.findContours)
Help on built-in function findContours in module cv2:
findContours(...)
findContours(image, mode, method[, contours[, hierarchy[, offset]]]) -> image, contours, hierarchy
(one more return value)
2 | No.2 Revision |
yes, that seems to have changed.
import cv2
help(cv2.findContours)
Help on built-in function findContours in module cv2:
findContours(...)
(one more return value)
3 | No.3 Revision |
yes, that seems to have changed.changed in 3.0.
import cv2
help(cv2.findContours)
Help on built-in function findContours in module cv2:
findContours(...)
findContours(image, mode, method[, contours[, hierarchy[, offset]]]) -> image, contours, hierarchy
(one more return value)
4 | No.4 Revision |
yes, that seems to have changed in 3.0.
import cv2
help(cv2.findContours)
Help on built-in function findContours in module cv2:
findContours(...)
findContours(image, mode, method[, contours[, hierarchy[, offset]]]) -> image, contours, hierarchy
so, you probably need:
_, contours, hierarchy = cv2.findContours(...)
(one more return value)