SBSDKOCRResultBlockType

enum SBSDKOCRResultBlockType : NSUInteger {}

When an OCR operation finishes it returns an array of result blocks containing e.g. the position and type of recognized text. Each of the result blocks has a specific type.

  • The result block represents a text paragraph.

    Declaration

    Objective-C

    SBSDKOCRResultBlockTypeParagraph = 1 << 0

    Swift

    case paragraph = 1
  • The result block represents a line of text.

    Declaration

    Objective-C

    SBSDKOCRResultBlockTypeLine = 1 << 1

    Swift

    case line = 2
  • The result block represents a word.

    Declaration

    Objective-C

    SBSDKOCRResultBlockTypeWord = 1 << 2

    Swift

    case word = 4