Answers.Body: <p>Monocular depth estimation basically does this and it implicitly brings in knowledge about object size. But you need to have prior information.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-14T22:46:35.717Z
Answers.LastActivityDate: 2020-10-14T22:46:35.717Z
Answers.UserDisplayName: FourierFlux
Body: <p>I am doing a project where I have to know distance a particular object is from camera. In the photo I only know one of the object's height, but I don't know how far away that object is and I don't know how tall are other objects. Is it possible to write a code or do some geometry to know other objects distances from camera using only the height of one object? For example I have an image where 5 meters away there is a box which is 1 meter high, I wanna know the distance to human who is 12 meters away, or to know a distance to a dog who is 7 meters away. Maybe you guys know any datasets or models which deal with the same problem as I am facing. Any help will be appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-14T19:03:41.490Z
Comments.Text: No, it is impossible. Assume you see a circle, than in the image has 50 pixels of diameter (and a focal angle of 45º). The circle can have a real size of 1 meter and be at 1 meter distance, or 2 meters and be at 2 meters distance, ... . Impossible to know the real values.
Comments.UserDisplayName: pasaba por aqui
Tags: <neural-networks><convolutional-neural-networks><datasets><math>
Title: Is it possible to know the distance objects are from camera based on only knowing one object's height?
UserDisplayName: Artūras Drūteika
ThreadText: # Is it possible to know the distance objects are from camera based on only knowing one object's height?
  
  (Asked by: username_0 on 2020-10-13)
  
  I am doing a project where I have to know distance a particular object is from camera. In the photo I only know one of the object's height, but I don't know how far away that object is and I don't know how tall are other objects. Is it possible to write a code or do some geometry to know other objects distances from camera using only the height of one object? For example I have an image where 5 meters away there is a box which is 1 meter high, I wanna know the distance to human who is 12 meters away, or to know a distance to a dog who is 7 meters away. Maybe you guys know any datasets or models which deal with the same problem as I am facing. Any help will be appreciated.
  
  **Tags:** neural-networks, convolutional-neural-networks, datasets, math
  > **Comments:**
  > **username_1**: No, it is impossible. Assume you see a circle, than in the image has 50 pixels of diameter (and a focal angle of 45º). The circle can have a real size of 1 meter and be at 1 meter distance, or 2 meters and be at 2 meters distance, ... . Impossible to know the real values.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-10-14. Score: 1
  
  Monocular depth estimation basically does this and it implicitly brings in knowledge about object size. But you need to have prior information.
  
  
  ---
  
  