X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=detector.h;h=7a80be6aafea6c214394b6d178de6e79f1dfb1ee;hb=e1d8ccc0f252d9be9590fe5a6106a4336762b6aa;hp=86d13e6e8757bfe62a78bbc3b6fe75783f03f0d4;hpb=20ec321944108cd1fe74b37ea45db3ba1a2d526a;p=folded-ctf.git diff --git a/detector.h b/detector.h index 86d13e6..7a80be6 100644 --- a/detector.h +++ b/detector.h @@ -20,7 +20,8 @@ /* - This is the main class, a folded hierarchy of classifiers. + This is the main class, a detector as a folded hierarchy of + classifiers. */ @@ -67,6 +68,9 @@ public: LabelledImagePool *validation_pool, LabelledImagePool *hierarchy_pool); + // Compute the thresholds at the various levels to reach the desired + // overall true positive rate + virtual void compute_thresholds(LabelledImagePool *validation_pool, scalar_t wanted_tp); virtual void parse(RichImage *image, PoseCellScoredSet *result_cell_set);