X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=detector.h;h=7a80be6aafea6c214394b6d178de6e79f1dfb1ee;hb=b8222ae1fb874f0783803f55e0bc4c4b9ffca8b2;hp=11f128dcc5b01cf0ab8f55a2b4a4b66403f4a804;hpb=5b78a555f6c7ff20a71d0520db63bc43e69e1f41;p=folded-ctf.git diff --git a/detector.h b/detector.h index 11f128d..7a80be6 100644 --- a/detector.h +++ b/detector.h @@ -68,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);