VLDOCRResult

@interface VLDOCRResult : NSObject

Live results from performing OCR.

  • A string with the live OCR results which can be displayed to the user. This helps the user identity if any characters are not being recognized.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSString *resultString;

    Swift

    var resultString: String! { get set }
  • The image that was processed and produced the resultString. This can be useful for diagnostic purposes to ensure the correct portion of the camera preview is being processed for OCR.

    Declaration

    Objective-C

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

    Swift

    var image: UIImage! { get set }
  • An array of VLDGlareArea objects. This can be used to indicate to the user where glare is being detected in the peripheral screen and obstructing the OCR process.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSArray<VLDGlareArea *> *glare;

    Swift

    var glare: [VLDGlareArea]! { get set }