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,
|
[NSString stringWithFormat:@"%@:%@", kImageTag,
|
||||||
kImageOutStreamName] ]
|
kImageOutStreamName] ]
|
||||||
taskOptions:options
|
taskOptions:options
|
||||||
enableFlowLimiting:NO
|
enableFlowLimiting:options.runningMode == MPPRunningModeLiveStream
|
||||||
error:error];
|
error:error];
|
||||||
|
|
||||||
if (!taskInfo) {
|
if (!taskInfo) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user