-
-
Notifications
You must be signed in to change notification settings - Fork 25
How to "getPerspectiveTransform" and "warpPerspective"? #61
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
Comments
check the length of max |
I addressed the same problem by using bookmarks :) |
Thank you for your wonderful work! |
https://docs.opencv.org/4.x/da/d54/group__imgproc__transform.html#ga20f62aa3235d869c9956436c870893ae According to the documentation of opencv, the src and dst must be 4-points, that's why it complains Closed. |
its possible order by size of contourArea in this vector VecVecPoint?
The code reads a series of contours, calculates and orders their areas, and then uses these areas to calculate metrics such as total volume and a central metric (dmv). The logic behind this appears to be to analyze the distribution of contour areas and find a central point of balance based on volume. |
@gustavovisentini please open new issues for new questions. |
Question
I want to warp a picture by taken camera. I detect rectangle but i can't find corners of rectangle.
It can detect rectangle and draw contour

I got error at cv.getPerspectiveTransform
The text was updated successfully, but these errors were encountered: