PolarMask
PolarMask copied to clipboard
AttributeError: 'tuple' object has no attricute 'sort'
hello, I have met the same error, do you have any solution now?
hello, I have solved this error by myself
@hanquansanren hello,How did you solve this problem?
contour = list(contour) contour.sort(key=lambda x: cv2.contourArea(x), reverse=True)