can I convert 2d features into 3d points?
Hi all, I am new to opencv, and am attempting to use feature matching to construct 3d points from a live video stream, and eventually, find the camera pose.
So I am successfully finding the corners, using Eigenvalue Corner Detection. I have calibrated my camera. and have the distortion/Extrinsic_Parameter data.
Now though, I am stuck. How can I transfer the tracked corners into 3d point values?
Do i need to go --> corners > image points > object points? Or am i going about this the wrong way entirely?
thanks for your help!
Just as extra information, are you using a stereo setup or do you want to construct 3D from motion in a single camera setup? The latter is not supported in OpenCV for the moment ...
Hi! To be more specific, I aim to track a grid of points that I know the size of. Eg: 12 points, each 1 metre apart in a grid formation. So I will know the scale. Does this make it easier/more possible?
thanks!
Again, single camera or stereo setup?
Sorry, Single camera.
After reading more, it seems that since I have the marker coordinates, and their tracked position in frame, I can use solvepnp to get the world position, and invert that for camera pose. Does this sound right? Are you aware of any example code around for a similar thing? Thanks!