detect() function: specify class or classes to detect

1 次查看(过去 30 天)
Hi!
I am running tiny yolov2 using ONNX with MATLAB.
Is there a way to limit which classes you want to detect
Thanks!

回答(1 个)

Gouri Chennuru
Gouri Chennuru 2020-11-6
Hi,
As per my understanding, using the following
[___,labels] = detect(detector,I) returns a categorical array of labels assigned to the bounding boxes, using either of the preceding syntaxes. The labels used for object classes are defined during training using the trainRCNNObjectDetector function.
You can refer to this link for more information.
Hope this Helps!

Community Treasure Hunt

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

Start Hunting!

Translated by