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

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

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!