jiahaoLjh / HumanDepth

Code for "HDNet: Human Depth Estimation for Multi-Person Camera-Space Localization"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FoV & Focal Length Calcualtion

theColorfulRainbow opened this issue · comments

  • In the paper, it is mentioned that the distance to the pose is normalized as: d = D/f, where f is the focal length.
  • In the code, f is defined as: f = sqrt(fx * fy) (from Human36M.py)
  • When looking at that value of f, it's in the order of thousands. I was wondering if my understanding is correct, that the focal length you are quoting is ~ 1000mm?
  • I am trying to use this value to calculate the FoV, which results in a very weird value. Unless you have a different method of calculating the FoV of your camera.

@theColorfulRainbow Hi, is your FoV defied as 2*arctan(w/2f) , where w is the width in the pinhole model?