How can i estimate the pose of a quadrilateral using OpenCV. I only need to de开发者_如何学Gotect a Rectangle on the frame..not all the quadrilaterals on the screen
Yes with correspondences between the source points (real world points) and destination points (image points), you can calculate homography. All you need to do is find the corners of a rectangular cardboard in the image and using the real world points, you can find homography.
There is already a function for it in opencv. Look here for more details.
精彩评论