Azzera filtri
Azzera filtri

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

4 visualizzazioni (ultimi 30 giorni)
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 Commenti
Sundus
Sundus il 23 Mag 2023
hello I need help in coordinate finding for path planning .

Accedi per commentare.

Risposte (1)

Navya Prakash
Navya Prakash il 3 Lug 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!

Translated by