feat:引入人脸识别sdk
This commit is contained in:
1 parent
ce16eaf82e
commit
158d012eff
331 files changed
+13539
No files matched your search
+34
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// ModelDownloader.h
|
||||
// DTFIdentityManager
|
||||
//
|
||||
// Created by mengbingchuan on 2022/9/7.
|
||||
// Copyright © 2022 DTF. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DTFLogMonitor.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface ZimModelDownloader : NSObject
|
||||
|
||||
@property(nonatomic, assign) BOOL preload; //preload, fallback
|
||||
|
||||
@property(nonatomic, copy) NSString *hostModelURL; //宿主传入的模型链接
|
||||
|
||||
+ (ZimModelDownloader *)sharedInstance;
|
||||
|
||||
- (void)setModelDownloadURL:(NSArray *)array;
|
||||
|
||||
- (NSString *)modelPath;
|
||||
|
||||
- (BOOL)needDownload;
|
||||
|
||||
- (void)processForceDownload:(NSString *)downloadId;
|
||||
|
||||
- (void)startDownloadCompletion:(void (^)(BOOL success))completion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user