Hello, My goal is to find camera position with removing the scale drift to obtain trajectory. For that camera pointed down-ward, but not directly at the ground surface from that i captured images with t and t+1 time . After that i am find feature point using FAST algorithm and track that point using optical flow. So I have now two sets of 2D feature point(image point). Then to find depth for remove scale drift i used below link. http://fsr.utias.utoronto.ca/submissions/FSR_2015_submission_14.pdf from that i find 3D coordinate (x, y, z) w.r.t camera coordinate.
Now my question is after getting 2D(image point) and their corresponding 3D(object point) can i find camera pose(R and t) using opencv function solvePnPRansac()? But my understanding solvePnPRansac() gives object pose, its not giving camera pose. I am confused. Is there any solution or function from 2D points and their corresponding 3D points i can get camera pose?