From 916eb194428a22902420b4c616c4507d22deb4b7 Mon Sep 17 00:00:00 2001 From: Ruby Hartono <58564005+rh-id@users.noreply.github.com> Date: Sat, 8 Jul 2023 20:33:29 +0700 Subject: [PATCH] [Fix] Update face detector score threshold 0.6 --- .../a_jarwis/ml_engine/provider/component/MLEngineInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component/MLEngineInstance.java b/ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component/MLEngineInstance.java index 1c36c4d..13182f5 100644 --- a/ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component/MLEngineInstance.java +++ b/ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component/MLEngineInstance.java @@ -58,6 +58,6 @@ private FaceDetectorYN loadFaceDetect() { } } return FaceDetectorYN.create(faceDetectFile.getAbsolutePath(), "", new Size(FACE_DETECT_WIDTH, FACE_DETECT_HEIGHT), - 0.4f, 0.5f); + 0.6f, 0.5f); } }