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

What units of measure is the focal length?

adammpolak opened this issue · 2 comments

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

Referenced here:

if fx < 0: # Focal length is unknown

and here:
mean_2d = np.array([mean_2d[0, 0], mean_2d[1, 0], fx * input_scale / stride])

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

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

thank you!