SBSDKOpticalCharacterRecognitionMode

enum SBSDKOpticalCharacterRecognitionMode : NSInteger {}

An enum describing the modes of the optical character recognition.

  • Legacy OCR mode using Tesseract. Slower, more error prone, but it supports more languages.

    Declaration

    Objective-C

    SBSDKOpticalCharacterRecognitionModeLegacy

    Swift

    case legacy = 0
  • New machine-learning mode. Faster, less errors, but currently supports only languages with latin letters.

    Declaration

    Objective-C

    SBSDKOpticalCharacterRecognitionModeML

    Swift

    case ML = 1