From d1b04a930908ba97bc3e0fd53a0f5b3ececa3b40 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Fri, 8 Sep 2023 22:43:41 -0700 Subject: [PATCH] Set enableFlowLimiting to false since only Image model is supported for face stylizer. PiperOrigin-RevId: 563939653 --- .../google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java index 88471d68c..dbc26b39a 100644 --- a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java +++ b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java @@ -166,6 +166,7 @@ public final class FaceStylizer extends BaseVisionTaskApi { .setInputStreams(INPUT_STREAMS) .setOutputStreams(OUTPUT_STREAMS) .setTaskOptions(stylizerOptions) + .setEnableFlowLimiting(false) .build(), handler); return new FaceStylizer(