浏览该文件的文档.
15 #import <Foundation/Foundation.h>
75 - (void)didDetectStarted:(NSString*)mediaPath taskId:(int64_t)taskId;
87 - (void)didDetectFinished:(NSString*)mediaPath scdPath:(NSString*)scdPath;
97 - (void)didDetectError:(
int)errorType;
109 - (void)didDetectProgress:(NSString*)mediaPath progress:(
float)progress;
124 @property (atomic, weak) id<NvsSmartCutParserDelegate>
delegate;
200 + (BOOL)initHumanDetection:(NSString *)modelFilePath
201 licenseFilePath:(NSString *)licenseFilePath
202 features:(
int)features;
226 - (Boolean)setMaxThreadCount:(
int)threadCount;
238 - (Boolean)detectMediaFiles:(NSArray *)dataArray;
248 - (void)cancelTask:(int64_t)taskId;
302 @property (nonatomic) NSString* mediaPath;
303 @property (nonatomic)
int frameSpace;
304 @property (nonatomic)
NvsSize detectSize;
@ NvsDeviceTypeFlag_Cpu
Definition: NvsSmartCutParser.h:57
@ NvsFrameworkTypeFlag_MobileGeneral
Definition: NvsSmartCutParser.h:41
@ NvsFrameworkTypeFlag_General
Definition: NvsSmartCutParser.h:40
id< NvsSmartCutParserDelegate > delegate
Definition: NvsSmartCutParser.h:124
智能剪辑类
Definition: NvsSmartCutParser.h:123
NvsDeviceTypeFlag
Definition: NvsSmartCutParser.h:55
@ NvsFrameworkTypeFlag_Nnapi
Definition: NvsSmartCutParser.h:45
NvsSmartCutParserFlag
Definition: NvsSmartCutParser.h:27
NvsFrameworkTypeFlag
Definition: NvsSmartCutParser.h:38
@ NvsDeviceTypeFlag_Unknown
Definition: NvsSmartCutParser.h:56
@ NvsFrameworkTypeFlag_Unknown
Definition: NvsSmartCutParser.h:39
@ NvsDeviceTypeFlag_Gpu
Definition: NvsSmartCutParser.h:58
智能检测数据类
Definition: NvsAIParser.h:59
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
@ NvsFrameworkTypeFlag_Qualcomm
Definition: NvsSmartCutParser.h:43
推理方案
Definition: NvsSmartCutParser.h:287
@ NvsDeviceTypeFlag_Npu
Definition: NvsSmartCutParser.h:59
@ NvsFrameworkTypeFlag_Mediatek
Definition: NvsSmartCutParser.h:44
void close()
销毁智能剪辑类实例。注意: 销毁之后可以再次创建及获取
@ NvsFrameworkTypeFlag_Huawei
Definition: NvsSmartCutParser.h:42
NSArray * querySupportedSchemes()
获取支持的推理方案
尺寸
Definition: NvsCommonDef.h:265
Definition: NvsSmartCutParser.h:62
void cancelAllTasks()
取消所有检测任务
NvsSmartCutParser * getInstance()
获取智能剪辑类的单例实例(必须进行初始化后才能使用)
@ NvsSmartCutParserFlag_None
Definition: NvsSmartCutParser.h:28