introlab / find-object

Find-Object project
http://introlab.github.io/find-object/
BSD 3-Clause "New" or "Revised" License
448 stars 189 forks source link

How the distance between the camera and object is calculated?? #126

Open Masoumehrahimi opened 2 years ago

Masoumehrahimi commented 2 years ago

hi

How the distance between the camera and object is calculated?? what are the criteria??

thanks

matlabbe commented 2 years ago

If you refer to 3D example, it is computed using the depth image. It takes depth pixels in the middle of the object detected.