import cv2 as cv
if __name__ == '__main__':
img = cv.imread("D:\OOO\Feature-Detection-and-Matching-master\Query\image2.jpg", flags=1)
imgGray = cv.cvtColor(img, cv.COLOR_BGR2GRAY)
ret, thresh = cv.threshold(imgGray, 205, 255, cv.THRESH_BINARY_INV)
image, contours, hierarchy = cv.findContours(thresh, cv.RETR_TREE, cv.CHAIN_APPROX_SIMPLE)
contourPic = cv.drawContours(img, contours, -1, (0, 0, 255), 2)
cv.imshow("ContourPicture", contourPic)
cv.waitKey(0)
这里为什么出现这个报错ValueError: not enough values to unpack (expected 3, got 2)