2 votes

Calculating the size of an object from a single image, given the distance from the camera

You can calculate that distance given the formula for the pinhole camera model (which is an approximation, but should work well in the cases of interest). You need to know the focal distance (which by ...
  • 145
1 vote

Calculating the size of an object from a single image, given the distance from the camera

The projected size s on your sensor behind a lens of focal length f of an objects of size S at distance D is: s = (f × S) ÷ D If your measure is in pixels then your size in pixels p is in a linear ...
  • 17.7k

Only top scored, non community-wiki answers of a minimum length are eligible