I trained a YOLOv8 small model using my custom dataset, and it successfully detects people, vehicles, and various other objects. To enhance its functionality for downstream processing, I need to calculate the distance to these detected objects. I have the camera's focal length (in mm) and would like the distance to the object (in feet or meters). Continue reading...