Smart cut parser class.
More...
#import <NvsSmartCutParser.h>
Smart cut parser class.
- Warning
- In the NvsSmartCutParser class, all public APIs can be used not only in the UI thread, but also across threads! ! !
◆ cancelAllTasks
◆ cancelTask:
- (void) cancelTask: |
|
(int64_t) |
taskId |
|
cancel media detect task.
- Parameters
-
◆ close
Destroys the smart cut object instance. note: it can be created again after destruction.
- See also
- init
-
+ getInstance
◆ detectMediaFiles:
- (Boolean) detectMediaFiles: |
|
(NSArray *) |
dataArray |
|
detect media files
- Parameters
-
- Returns
- Returns a boolean value. true means successful and false means failure
◆ getInstance
Gets the instance of smart cut object (only can use this after initialization)
- Returns
- Returns the smart cut object instance.
- See also
- init
-
+ close
◆ init:sceneModelPath:placeModelPath:
Initializes smart cut instance.
- Parameters
-
scheme. | |
sceneModelPath | scene model. |
placeModelPath | place model. |
- Returns
- Returns a smart cut instance object.
-
Returns an object instance of the smart cut parser.
- See also
- + close
◆ init:sceneModelPath:placeModelPath:flags:
Initializes smart cut instance.
- Parameters
-
scheme. | |
sceneModelPath | scene model. |
placeModelPath | place model. |
flags | Flags, 0 if no special requirement. |
- Returns
- Returns a smart cut instance object.
-
Returns an object instance of the smart cut parser.
- See also
- + close
◆ initHumanDetection:licenseFilePath:features:
+ (BOOL) initHumanDetection: |
|
(NSString *) |
modelFilePath |
licenseFilePath: |
|
(NSString *) |
licenseFilePath |
features: |
|
(int) |
features |
|
|
| |
Initializes the human body detection mechanism.
- Parameters
-
modelFilePath | Path of the model file |
licenseFilePath | Path of the license file |
features | human detection flag field.. |
- Since
- 2.15.0
◆ querySupportedSchemes
+ (NSArray *) querySupportedSchemes |
|
|
|
◆ resume
◆ setMaxThreadCount:
- (Boolean) setMaxThreadCount: |
|
(int) |
threadCount |
|
set max detect thread count
- Parameters
-
- Returns
- Returns a boolean value. true means successful and false means failure
◆ suspend
suspend all detect tasks.
◆ delegate
The documentation for this class was generated from the following file: