How to extract the details of a bounding box detected in a RCNN trained network?

1 次查看(过去 30 天)
I am trying to detect arrow symbol from an image which is captured through a webcam. I am using RCNN to detect the arrows. I could detect the arrow from the image using a trained RCNN Network. The bounding box appears around the arrow.
I want to check using the details of bounding box, if a bounding box has been detected. My idea is to call a subfunction, if a bounding box has been detected in the image. How can i extract the details of bouding box and use it in my code for the above purpose.

采纳的回答

Raunak Gupta
Raunak Gupta 2019-9-30
Hi,
After training the RCNN Detector you may getting a trainRCNNObjectDetector object which contains information about the detector. You may apply detect to the image for which object detection is required and get the bounding box information in terms of rectangle object. Also, the accuracy and labels are returned with the detect command.
You may refer to these examples.

更多回答(0 个)

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by