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
650 stars 137 forks source link

What units of measure is the focal length? #91

Closed adammpolak closed 2 years ago

adammpolak commented 2 years ago

I would like to input the focal length of my device but I am not sure what value to type in.

Referenced here: https://github.com/Daniil-Osokin/lightweight-human-pose-estimation-3d-demo.pytorch/blob/8794edc873d8db4f582dcc8a578f99bf4e218830/demo.py#L95 and here: https://github.com/Daniil-Osokin/lightweight-human-pose-estimation-3d-demo.pytorch/blob/8794edc873d8db4f582dcc8a578f99bf4e218830/modules/parse_poses.py#L133

If I have a focal length of 1474px, where should I input that value in "parse_poses"?

Daniil-Osokin commented 2 years ago

Hi! They are in pixels. You can find the details here, or check #47.

adammpolak commented 2 years ago

thank you!