How to get confidence values for detections from vision.CascadeObjectDetector System object?
Show older comments
First, I run trainCascadeObjectDetector on a custom set of image data and save the result to an xml file.
detector = vision.CascadeObjectDetector(xmlfile);
Finally, I want to run the detector on a test image:
bbox = step(detector,img);
Is there a way to compute confidence values for the detections returned here? For vision.PeopleDetector objects, you can run
[bbox,scores] = step(detector,img);
but you cannot do this for vision.CascadeObjectDetector objects. Is there an easy workaround?
Accepted Answer
More Answers (0)
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!