Set enableFlowLimiting to false since only Image model is supported for face stylizer.
PiperOrigin-RevId: 563939653
This commit is contained in:
parent
7accc79018
commit
d1b04a9309
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user