TemugeB / bodypose3d

Real time 3D body pose estimation with Mediapipe
MIT License
174 stars 32 forks source link

Two cameras' calibration with two rotation matrix? #19

Closed ligaoqi2 closed 1 year ago

ligaoqi2 commented 1 year ago

Amazing work! I wonder why there are two different rotation matrix and translation matrix in folder camera_parameters?Shouldn't the binocular camera calibration only have a rotation matrix and a translation matrix to represent the pose between the two cameras?

TemugeB commented 1 year ago

If you want to use one of the cameras as the center of your coordinate system, then yes, you only need one transformation from camera1 to camera2. But if you want to define coordinate system away from the cameras, then you need two. So one transform to define coordinate system origin to camera1 and another transform from camera1 to camera2.

ligaoqi2 commented 1 year ago

Ok, thank you so much~

ligaoqi2 commented 1 year ago

Excuse me~I also want to ask you, if a camera is the center, what does its rotation matrix look like? Is it the identity matrix? Is the translation matrix [0.0, 0.0, 0.0]?

TemugeB commented 1 year ago

Yes, identity rotation and 0 translation.

ligaoqi2 commented 1 year ago

Thanks very much~I have done with satisfactory result.

Temuge Batpurev @.***> 于 2023年5月24日周三 13:41写道:

Yes, identity rotation and 0 translation.

— Reply to this email directly, view it on GitHub https://github.com/TemugeB/bodypose3d/issues/19#issuecomment-1560486242, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSD6TNK5TEVT3BWMOLTFZ3XHWNPLANCNFSM6AAAAAAYJGP4ZU . You are receiving this because you authored the thread.Message ID: @.***>

TemugeB commented 1 year ago

Glad I could help. I will close this issue. But in general, please close issues that you create on github.