detect() function: specify class or classes to detect

2 views (last 30 days)
Kev
Kev on 1 Nov 2020
Answered: Gouri Chennuru on 6 Nov 2020
Hi!
I am running tiny yolov2 using ONNX with MATLAB.
Is there a way to limit which classes you want to detect
Thanks!

Answers (1)

Gouri Chennuru
Gouri Chennuru on 6 Nov 2020
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