leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.19k stars 1.18k forks source link

** Calculate Distance from Detected person darknet-ros with Zed2i camera** #362

Closed fikratgasimov closed 2 years ago

fikratgasimov commented 2 years ago

*I would like to calcualte distance from detected person with zed2 camera..

Steps I did

  1. I extracted bounding box of person and calculated xc, yc coordinates
  2. Then I calculated position and orientation of zed camera,achieveing x, y z, coordinates of camera in real world Now my question, after following these steps, what are needed steps i have to implement to achieve distance from detected object.

System (please complete the following information):