opencv - What should be the input parameters to triangulatePoints in python? -


i want find out 3d coordinates using stereo cameras.

for that, reached rectification of images stuck @ cv2.triangulatepoints. find out p1 , p2 using cv2.stereorectify. have put 4 parameters in triangulatepoints functions projmatr1 (p1), projmatr2 (p2), projpoints1 , projpoints2.

my first doubt if p1 , p2 remain same every pair of images giving input camera matrices, rotation , translation matrices in stereorectify? according me, p1 , p2 should same none of input matrices changing.

i want know how projpoints1 , projpoints2 3d coordinates. example, if know pixel values of point in rectified left image (xl,yl) , same point in right image (xr,yr) can put projpoints1 = (xl,yl) , projpoints2 = (xr,yr) in triangulatepoints? if not how these projpoints?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -