X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=detector.h;h=7a80be6aafea6c214394b6d178de6e79f1dfb1ee;hp=11f128dcc5b01cf0ab8f55a2b4a4b66403f4a804;hb=cd28e9c7489bae20e3abf67331efd1cab45d83df;hpb=71a84ea2658cd96726bcf4e582010c24bf2583cf 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);