SBSDKIDCardRecognizerResultField

@interface SBSDKIDCardRecognizerResultField : NSObject

Contents of one data field of a personal ID card.

  • The type of the field.

    Declaration

    Objective-C

    @property (nonatomic) SBSDKIDCardFieldType type;

    Swift

    var type: SBSDKIDCardFieldType { get set }
  • An image of the data fields area, cropped from the original image.

    Declaration

    Objective-C

    @property (nonatomic, strong) UIImage *_Nonnull image;

    Swift

    var image: UIImage { get set }
  • A binarized black & white image of the data fields area, cropped from the original image.

    Declaration

    Objective-C

    @property (nonatomic, strong) UIImage *_Nonnull binarizedImage;

    Swift

    var binarizedImage: UIImage { get set }
  • The recognized text of the data field.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull text;

    Swift

    var text: String { get set }
  • The confidence of the recognized text of the data field. 0 = no confidence, 1 = very high confidence.

    Declaration

    Objective-C

    @property (nonatomic) float textConfidence;

    Swift

    var textConfidence: Float { get set }