Objective : To find the nearest object (closer distance object) in the single camera image. But Image Contains multiple objects shown below:
I searched in the net and found this formula to calculate the distance of object from camera
F = (P x D) / W Further Detail click on the Link
Is there any other better approach to find the nearest object in a image?
Thanks in Advance!!!