X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=detector.h;h=7a80be6aafea6c214394b6d178de6e79f1dfb1ee;hb=3742a88173bc958488370aefb7035426d3650e1d;hp=72248af1aa524cc8c39cd04e06bbce16a74dfdbe;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git
diff --git a/detector.h b/detector.h
index 72248af..7a80be6 100644
--- a/detector.h
+++ b/detector.h
@@ -12,13 +12,16 @@
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see . //
// //
-// Written by Francois Fleuret, (C) IDIAP //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
/*
- This is the main class, a folded hierarchy of classifiers.
+ This is the main class, a detector as a folded hierarchy of
+ classifiers.
*/
@@ -65,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);