detect() function: specify class or classes to detect

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)

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!

Asked:

Kev
on 1 Nov 2020

Answered:

on 6 Nov 2020

Community Treasure Hunt

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

Start Hunting!