alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.9k stars 807 forks source link

how to use the P5Pfr solver and the P4Pf #1611

Closed alexs7 closed 7 months ago

alexs7 commented 7 months ago

Do I need to subtract the pricinpal point (x,y) from the 2D points so they are centered at (0,0) ? before running the solvers ? I did taht and it seems that the pose I aget is not accurate as the P3P solver, it returns 0 inliers when reprojecting the 3D points on the 2D image.

Does the pose returned from the solver convert from world to camera ?

alexs7 commented 7 months ago

ok found the correct way to use it. have to subtract the principal point.