Distance to the detected boxes

2 views (last 30 days)
deep Dhillon
deep Dhillon on 29 Jan 2019
Commented: deep Dhillon on 5 Feb 2019
How can i detect distance(z axis) to any x,y oordinates using stereo vision, after i had created a bounding box around the center of that x,y coordinates.

Answers (1)

KSSV
KSSV on 30 Jan 2019
YOu can use simple Euclidian distance formula.....
Also have a look on pdist and pdist2.
  1 Comment
deep Dhillon
deep Dhillon on 5 Feb 2019
HEllo KSSV
Thanks a lot for the reply,
Please refer tro the below link that i posted, and edify that how can i use Euclidean distance or pdist or pdist2, to measure the distance from the camera to the object as shown in the link
Please refer to the link below
Regards
Deep

Sign in to comment.

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!