Set enableFlowLimiting to false since only Image model is supported for face stylizer.

PiperOrigin-RevId: 563939653
This commit is contained in:
MediaPipe Team 2023-09-08 22:43:41 -07:00 committed by Copybara-Service
parent 7accc79018
commit d1b04a9309

View File

@ -166,6 +166,7 @@ public final class FaceStylizer extends BaseVisionTaskApi {
.setInputStreams(INPUT_STREAMS) .setInputStreams(INPUT_STREAMS)
.setOutputStreams(OUTPUT_STREAMS) .setOutputStreams(OUTPUT_STREAMS)
.setTaskOptions(stylizerOptions) .setTaskOptions(stylizerOptions)
.setEnableFlowLimiting(false)
.build(), .build(),
handler); handler);
return new FaceStylizer( return new FaceStylizer(