diff --git a/bob/pad/base/script/plots.py b/bob/pad/base/script/plots.py index dd66fab20e82cb5a5b869b02406e43c883d5c9f6..0cebecc591c9f0db146a2c7d2bcb3ea37dfbca98 100644 --- a/bob/pad/base/script/plots.py +++ b/bob/pad/base/script/plots.py @@ -123,7 +123,10 @@ def plot_vuln_score_dist(scores, y1_label=True, y2_label=True, x_label=True, spoof_eval_neg, spoof_eval_pos, _ = fta(split(scores[3])) threshold = calc_threshold('eer', licit_dev_neg, licit_dev_pos) + far, frr = farfrr(licit_eval_neg, licit_eval_pos, threshold) iapmr, _ = farfrr(spoof_eval_neg, licit_eval_pos, threshold) + logger.info('HTER (t=%.2g) = %.2f%%; IAPMR = %.2f%%', threshold, + 50*(far+frr), 100*iapmr) if title: plt.title(title)