Skip to content

Commit

Permalink
Define an operating point at FAR=0 (#614)
Browse files Browse the repository at this point in the history
* Define an operating point at FAR=0

* generalized approach
  • Loading branch information
jklontz authored Oct 25, 2024
1 parent 3f50e11 commit 54c0e6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openbr/core/eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin
index++;
}

if ((falsePositives > previousFalsePositives) &&
(truePositives > previousTruePositives)) {
if (truePositives > previousTruePositives) {
operatingPoints.append(OperatingPoint(thresh, float(falsePositives)/impostorCount, float(truePositives)/genuineCount));

if (EERIndex == 0) {
Expand Down

0 comments on commit 54c0e6e

Please sign in to comment.