is it possible to plot ROC curve for train cascade object detector result?

hello, i trained a classifier using traincascadeobjectdetector function, how to evaluate it and plot a ROC curve ?

Answers (2)

To plot ROC curves just keep track of false positives, false negatives, true positive, and true negatives, and then plot the True positive rate vs. False positive rate. You will need to tweak some parameters in your detection algorithm to vary the rates, otherwise you'll just have a single point, not a whole curve.

3 Comments

thank you for the response, but how to get these values, the result xml file containt for each stage: a negative Threshold and data of weak learners ?
I can't tell you how to determine if your algorithm predicts correctly or not. It's you who must know that, or figure it out. It depends on what your algorithm does and what you know about the ground truth.
Thank you, i see the results, but how i calculate the values, the algorithme TrainCascadeObjectDetector just showing positive and negative samples used for each stage?

Sign in to comment.

Anyone can guide me?

1 Comment

Am also plot ROC curve for train cascade object detector result. So can you please help to predict ROC curve. Please help me to generate ROC curve.

Sign in to comment.

Categories

Asked:

on 8 May 2016

Commented:

on 22 Jan 2018

Community Treasure Hunt

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

Start Hunting!