RGLRecognizeConfig

@interface RGLRecognizeConfig : RGLBaseConfig

/// This parameter processing an image that contains a person and a document and compare the portrait photo from the document with the person's face.
/// It works only in the single-frame processing, but not in the video frame processing.
/// Requires network connection.
/// Default: NO.
@property (nonatomic, assign) BOOL oneShotIdentification;

@property (nonatomic, readonly, strong, nullable) UIImage *image;
@property (nonatomic, readonly, strong, nullable) NSData *imageData;
@property (nonatomic, readonly, strong, nullable) NSArray <UIImage *> *images;
@property (nonatomic, readonly, strong, nullable) NSArray <RGLImageInput *> *imageInputs;

RGL_EMPTY_INIT_UNAVAILABLE

- (instancetype)initWithImage:(UIImage *)image;
- (instancetype)initWithImageData:(NSData *)imageData;
- (instancetype)initWithImages:(NSArray <UIImage *> *)images;
- (instancetype)initWithImageInputs:(NSArray <RGLImageInput *> *)imageInputs;

@end

Undocumented

  • This parameter processing an image that contains a person and a document and compare the portrait photo from the document with the person’s face. It works only in the single-frame processing, but not in the video frame processing. Requires network connection. Default: NO.

    Declaration

    Objective-C

    @property (nonatomic) BOOL oneShotIdentification;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) UIImage *image
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) NSData *imageData
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) NSArray <UIImage *> *images
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) NSArray <RGLImageInput *> *imageInputs
  • Unavailable

    Not the designated initializer.

    Undocumented

    Declaration

    Objective-C

    RGL_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer.

    Undocumented

    Declaration

    Objective-C

    RGL_EMPTY_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImage:(UIImage *)image;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImageData:(NSData *)imageData;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImages:(NSArray <UIImage *> *)images;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImageInputs:(NSArray <RGLImageInput *> *)imageInputs;