Skip to content

Commit

Permalink
reduced the min confidence level for face recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
israelalagbe committed Jun 4, 2019
1 parent fb0109c commit f845ced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public boolean predict(Context context,opencv_core.Mat mat) throws IOException{

image.release();
resizeimage.release();
if(passwordStore.hasFaceLabel(predictedLabel) && confidence.get(0)<84)
if(passwordStore.hasFaceLabel(predictedLabel) && confidence.get(0)<80)
return true;
return false;
}
Expand Down

0 comments on commit f845ced

Please sign in to comment.