Skip to content

Commit

Permalink
fix: det_prob_threshold in compreface detector test (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakowenko committed May 23, 2022
2 parents 4609533 + 490ce43 commit 439179a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/util/detectors/compreface.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.recognize = async ({ key, test }) => {
return true;
},
params: {
det_prob_threshold: test ? 0 : DET_PROB_THRESHOLD,
det_prob_threshold: test ? 0.8 : DET_PROB_THRESHOLD,
},
data: formData,
});
Expand Down

0 comments on commit 439179a

Please sign in to comment.