SBSDKUILicensePlateScannerBehaviorConfiguration

@interface SBSDKUILicensePlateScannerBehaviorConfiguration : NSObject

Configuration for the behavior of the license plate scanner.

  • Whether the flash light is toggled on or off.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isFlashEnabled) BOOL flashEnabled;

    Swift

    var isFlashEnabled: Bool { get set }
  • The maximum number of accumulated video frames before the current recognition result is returned. Defaults to 3.

    Declaration

    Objective-C

    @property (nonatomic) NSUInteger maximumNumberOfAccumulatedFrames;

    Swift

    var maximumNumberOfAccumulatedFrames: UInt { get set }
  • The minimum equal results in accumulated video frames to count as valid. Defaults to 2.

    Declaration

    Objective-C

    @property (nonatomic) NSUInteger minNumberOfRequiredFramesWithEqualRecognitionResult;

    Swift

    var minNumberOfRequiredFramesWithEqualRecognitionResult: UInt { get set }
  • The strategy being used to find a license plate in an image. Default value is SBSDKLicensePlateScannerStrategyML.

    Declaration

    Objective-C

    @property (nonatomic) SBSDKLicensePlateScannerStrategy scanStrategy;

    Swift

    var scanStrategy: SBSDKLicensePlateScannerStrategy { get set }