Skip to content

Commit bf57c5b

Browse files
committed
[Fix] Incorrect logic that cause exclude become include
1 parent 62ed349 commit bf57c5b

File tree

1 file changed

+1
-1
lines changed
  • ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component

1 file changed

+1
-1
lines changed

ml-engine/src/main/java/m/co/rh/id/a_jarwis/ml_engine/provider/component/FaceEngine.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public Bitmap blurFace(Bitmap originalBitmap, Collection<Bitmap> excludedFaces)
113113
faceLoc,
114114
excludeFaceMat.row(0)
115115
);
116-
if (!faceSimilar) {
116+
if (faceSimilar) {
117117
excludeBlur = true;
118118
break;
119119
}

0 commit comments

Comments
 (0)