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

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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!