1 | initial version |
If you want to find the projection of a quadrangle on an image plane, you can used getPerspectiveTransform or findHomography (doc). The sample ''lk_homography.py'' is showing a usage with Lucas-Kanade optical flow on full image.
If you want to find the camera parameters from a non planar object, look at POSIT method (doc here on the oldest OpenCV documentation).