Added flow limiting for live stream mode in MPPImageClassifier
This commit is contained in:
parent
59e0b1ba74
commit
f51736e32d
|
@ -69,7 +69,7 @@ static NSString *const kTaskGraphName =
|
|||
[NSString stringWithFormat:@"%@:%@", kImageTag,
|
||||
kImageOutStreamName] ]
|
||||
taskOptions:options
|
||||
enableFlowLimiting:NO
|
||||
enableFlowLimiting:options.runningMode == MPPRunningModeLiveStream
|
||||
error:error];
|
||||
|
||||
if (!taskInfo) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user