Skip to content

Commit

Permalink
Fix det_prob_threshold in compreface detector test
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbangus committed Jan 4, 2022
1 parent bf3e911 commit 490ce43
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 490ce43

Please sign in to comment.