Clear Filters
Clear Filters

how to get x and y coordinates of bounding box in an image

4 views (last 30 days)
i want to get x y coordinates of 3 bounding boxes . I need those coordinates because i want to do obstacle avoidance for my robotic arm
  3 Comments
Sundus
Sundus on 23 May 2023
hello I need help in coordinate finding for path planning .

Sign in to comment.

Answers (1)

Navya Prakash
Navya Prakash on 3 Jul 2019
What form are your bounding boxes in? If you used regionprops, they'd be in the form [xLeftColumn, yTopLine, width, height]. From that you can get xRightColumn and yBottomLine just by adding the width or height.
Could you please explain me how to add them to get other two coordinates.

Community Treasure Hunt

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

Start Hunting!