Is it possible to know the distance objects are from camera based on only knowing one object's height?
Monocular depth estimation basically does this and it implicitly brings in knowledge about object size. But you need to have prior information.