検出器で検出した物の座標を取りたい

조회 수: 12 (최근 30일)
yuri takahashi
yuri takahashi 2018년 1월 16일
댓글: yuri takahashi 2018년 1월 16일
MATLABで、一時停止標識検出器の学習( https://jp.mathworks.com/help/vision/ug/train-a-stop-sign-detector.html)があるのですが、このように検出したあとに、検出した物の座標情報を取得することは可能でしょうか。 一時停止標識検出器の学習で例えると、検出した一時停止標識の中心座標の取得を行いたいです。

채택된 답변

michio
michio 2018년 1월 16일
例題を実行すると分かりやすいですが、例題では検出結果として
>> bbox
bbox =
415 135 35 38
が得られます。それぞれ境界ボックス(四角形)の x 座標、y座標、幅、高さを意味しますが、求めている結果でしょうか?
  댓글 수: 3
michio
michio 2018년 1월 16일
x = bbox(1);
y = bbox(2);
などなど。可能です。
yuri takahashi
yuri takahashi 2018년 1월 16일
度重なるご回答、誠にありがとうございます。 よくわかりました。

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!