Daniil-Osokin / lightweight-human-pose-estimation-3d-demo.pytorch

Real-time 3D multi-person pose estimation demo in PyTorch. OpenVINO backend can be used for fast inference on CPU.
Apache License 2.0
656 stars 138 forks source link

Axes in 3D Coordinate System #44

Closed bryanbocao closed 3 years ago

bryanbocao commented 3 years ago

Thanks for this awesome code and demo! It would be great if you can point out

Although axes were pointed out in https://github.com/Daniil-Osokin/lightweight-human-pose-estimation-3d-demo.pytorch/issues/27#issuecomment-663688087, in this specific demo I got confused which one is z-axis because the axis that is perpendicular to the plane does not look like pointing at the camera. What does y-down meaning? It would be great if you can clarify them in this picture.

Screenshot from 2020-10-28 17-32-14 Screenshot from 2020-10-28 17-32-41 Screenshot from 2020-10-28 17-33-03

Picture credit: https://arxiv.org/pdf/1711.05941.pdf

Thanks!

27

Daniil-Osokin commented 3 years ago

There are different coordinates axes. One used in annotations, another one is used for visualization. For the visualization z is perpendicular to the plane. You can select the actual axis you need by passing coordinates, e.g (0, 0, 1), into drawing code and see where point with such coordinates will be drawn.

Daniil-Osokin commented 3 years ago

Hope, it helped.

bryanbocao commented 3 years ago

Yes, thanks for your reply! @Daniil-Osokin