Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'tuple' object has no attricute 'sort' #75

Open
xuan240 opened this issue Sep 13, 2022 · 4 comments
Open

AttributeError: 'tuple' object has no attricute 'sort' #75

xuan240 opened this issue Sep 13, 2022 · 4 comments

Comments

@xuan240
Copy link

xuan240 commented Sep 13, 2022

微信图片_20220913103540

@hanquansanren
Copy link

hello, I have met the same error, do you have any solution now?

@hanquansanren
Copy link

hanquansanren commented Nov 2, 2022

hello, I have solved this error by myself

@xuan240
Copy link
Author

xuan240 commented Nov 3, 2022

@hanquansanren hello,How did you solve this problem?

@xlim1996
Copy link

contour = list(contour)
contour.sort(key=lambda x: cv2.contourArea(x), reverse=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants