Added flow limiting for live stream mode in MPPImageClassifier

This commit is contained in:
Prianka Liz Kariat 2023-03-23 19:52:14 +05:30
parent 59e0b1ba74
commit f51736e32d

View File

@ -69,7 +69,7 @@ static NSString *const kTaskGraphName =
[NSString stringWithFormat:@"%@:%@", kImageTag,
kImageOutStreamName] ]
taskOptions:options
enableFlowLimiting:NO
enableFlowLimiting:options.runningMode == MPPRunningModeLiveStream
error:error];
if (!taskInfo) {