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, strong, nullable) UIImage *image;
@property (nonatomic, strong, nullable) NSData *imageData;
@property (nonatomic, strong, nullable) NSArray <UIImage *> *images;
@property (nonatomic, strong, nullable) NSArray <RGLImageInput *> *imageInputs;

RGL_EMPTY_INIT_UNAVAILABLE

- (instancetype)initWithImage:(UIImage *)image RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set image");
- (instancetype)initWithImageData:(NSData *)imageData RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set imageData");
- (instancetype)initWithImages:(NSArray <UIImage *> *)images RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set images");
- (instancetype)initWithImageInputs:(NSArray <RGLImageInput *> *)imageInputs RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set 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, strong, nullable) UIImage *image
  • Undocumented

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (nonatomic, 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
  • Deprecated

    Deprecated in DocumentReader 7.2. Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set image

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImage:(UIImage *)image RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set image");
  • Deprecated

    Deprecated in DocumentReader 7.2. Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set imageData

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImageData:(NSData *)imageData RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set imageData");
  • Deprecated

    Deprecated in DocumentReader 7.2. Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set images

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImages:(NSArray <UIImage *> *)images RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set images");
  • Deprecated

    Deprecated in DocumentReader 7.2. Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set imageInputs

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImageInputs:(NSArray <RGLImageInput *> *)imageInputs RGL_DEPRECATED(7.2, "Use `[[RGLRecognizeConfig alloc] initWithScenario:] or [[RGLRecognizeConfig alloc] initWithOnlineProcessingConfig:], then set imageInputs");