1 | initial version |
Not really an answer but my comment doesn't fit.
I don't know Python well nevertheless I will try to help a little maybe:
in_front_of_both_cameras
, you find the z coordinate using the intersection between the two light rays ? If it is not already done, you could check the formula on simple cases ?first_3d_point = np.array([first[0] * first_z, second[0] * first_z, first_z])
, for me it sould be: first_3d_point = np.array([first[0] * first_z, first[1] * first_z, first_z])
.2 | No.2 Revision |
Not really an answer but my comment doesn't fit.
I don't know Python well nevertheless I will try to help a little maybe:
in_front_of_both_cameras
, you find the z coordinate using the intersection between the two light rays ? If it is not already done, you could check the formula on simple cases ?first_3d_point = np.array([first[0] * first_z, second[0] * first_z, first_z])
, for me it sould be: first_3d_point = np.array([first[0] * first_z, first[1] * first_z, first_z])
.