ALOCRResult Class Reference

Inherits from ALScanResult
Conforms to *
NSString
Declared in ALOCRResult.h

Overview

The result object for the AnylineOCRModule

  )

The scanned text in the frame. (Deprecated: since 3.10. Use result property instead)

@property (nullable, nonatomic, strong, readonly) NSString *__deprecated_msg ( "Deprecated since 3.10 Use result property instead." )

Declared In

ALOCRResult.h

  thresholdedImage

The thresholded image where the scanned text was found

@property (nullable, nonatomic, strong, readonly) UIImage *thresholdedImage

Declared In

ALOCRResult.h

– initWithText:image:thresholdedImage:

since 3.10 (Deprecated: since 3.10)

- (instancetype _Nullable)initWithText:(NSString *_Nonnull)text image:(UIImage *_Nonnull)image thresholdedImage:(UIImage *_Nullable)thresholdedImage

Declared In

ALOCRResult.h

– initWithResult:image:fullImage:confidence:pluginID:thresholdedImage:

Constructor for an OCRResult

- (instancetype _Nullable)initWithResult:(NSString *_Nonnull)result image:(UIImage *_Nonnull)image fullImage:(UIImage *_Nullable)fullImage confidence:(NSInteger)confidence pluginID:(NSString *_Nonnull)pluginID thresholdedImage:(UIImage *_Nullable)thresholdedImage

Parameters

result

The string scan result

image

The image where the result was found

fullImage

A fullframe image from the result

confidence

The confidence for the result

pluginID

The pluginID which generated the result

thresholdedImage

A thresholded Image of the result

Return Value

Instance of an OCRResult

Declared In

ALOCRResult.h