MGAlgorithmInfo.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // MGAlgorithmInfo.h
  3. // MGFacepp
  4. //
  5. // Created by 张英堂 on 2017/1/10.
  6. // Copyright © 2017年 megvii. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. #define MG_ABILITY_KEY_POSE3D @"pose3D"
  11. #define MG_ABILITY_KEY_EYE_STATUS @"eyeStatus"
  12. #define MG_ABILITY_KEY_MOUTH_SATUS @"mouthStatus"
  13. #define MG_ABILITY_KEY_MINORITY @"minority"
  14. #define MG_ABILITY_KEY_BLURNESS @"blurness"
  15. #define MG_ABILITY_KEY_AGE_GENDER @"ageGender"
  16. #define MG_ABILITY_KEY_EXTRACT_FEATURE @"extractFeature"
  17. #define MG_ABILITY_KEY_TRACK_FAST @"trackFast"
  18. #define MG_ABILITY_KEY_TRACK_ROBUST @"trackRobust"
  19. #define MG_ABILITY_KEY_DETECT @"detect"
  20. #define MG_ABILITY_KEY_DETECT_RECT @"detectRect"
  21. #define MG_ABILITY_KEY_IDCARD_QUALITY @"IDCardQuality"
  22. #define MG_ABILITY_KEY_TRACK @"track"
  23. #define MG_ABILITY_KEY_TRACK_RECT @"track_rect"
  24. @interface MGAlgorithmInfo : NSObject
  25. /**
  26. SDK 版本号
  27. */
  28. @property (nonatomic, copy, readonly) NSString *version;
  29. /**
  30. SDK 过期时间
  31. */
  32. @property (nonatomic, strong, readonly) NSDate *expireDate;
  33. /**
  34. 是否需要联网授权
  35. */
  36. @property (nonatomic, assign, readonly) BOOL needNetLicense;
  37. /**
  38. SDK 功能列表
  39. */
  40. @property (nonatomic, strong, readonly) NSArray *SDKAbility;
  41. /**
  42. SDK 限制的bundleId
  43. */
  44. @property (nonatomic, strong, readonly) NSString *bundleId;
  45. @end