SBSDKPageAnalyzerResult

@interface SBSDKPageAnalyzerResult : NSObject <NSCopying>

Describes the result of a page layout analyzing operation. It contains page orientation, writing direction and text line order as well as a deskew angle. This result can be used to process the input image before running an OCR operation on it, e.g.

  • Rotate the image to let the page orientation flip to SBSDKPageOrientationUp,
  • Apply a rotation with the deskewAngle to remove distortion and get perfectly aligned text lines.
  • Limit recognition languages to languages that use the analyzer results writingDirection and textlineOrder to achieve much better OCR performance. For convenience this immutable class conforms to NSCopying protocol.