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

13 vues (au cours des 30 derniers jours)
yuri takahashi
yuri takahashi le 16 Jan 2018
Commenté : yuri takahashi le 16 Jan 2018
MATLABで、一時停止標識検出器の学習( https://jp.mathworks.com/help/vision/ug/train-a-stop-sign-detector.html)があるのですが、このように検出したあとに、検出した物の座標情報を取得することは可能でしょうか。 一時停止標識検出器の学習で例えると、検出した一時停止標識の中心座標の取得を行いたいです。

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!