필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
Farjad Danish
Farjad Danish 2018년 1월 24일
댓글: Sundus 2023년 5월 23일
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
Sundus
Sundus 2023년 5월 23일
hello I need help in coordinate finding for path planning .

댓글을 달려면 로그인하십시오.

답변 (1개)

Navya Prakash
Navya Prakash 2019년 7월 3일
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