Note

The Adaptive Recognition API is still in beta and may change in future versions of Scandit Data Capture SDK.

Label Capture Adaptive Recognition Delegate

Defined in framework ScanditLabelCapture

LabelCaptureAdaptiveRecognitionDelegate
protocol LabelCaptureAdaptiveRecognitionDelegate : NSObjectProtocol

Added in version 7.6.0

Protocol to receive callbacks from LabelCaptureAdaptiveRecognitionOverlay during adaptive recognition.

labelCaptureAdaptiveRecognitionOverlay(_:didRecognizeWith:)
open func labelCaptureAdaptiveRecognitionOverlay(_ overlay: LabelCaptureAdaptiveRecognitionOverlay, didRecognizeWith result: AdaptiveRecognitionResult) -> Void

Added in version 7.6.0

Invoked when a document has been successfully recognized. The result contains the recognized data based on the result type.

labelCaptureAdaptiveRecognitionOverlayDidFail(_:)
open func labelCaptureAdaptiveRecognitionOverlayDidFail(_ overlay: LabelCaptureAdaptiveRecognitionOverlay) -> Void

Added in version 7.6.0

Invoked when a connection error occurs while trying to recognize a document.

labelCaptureAdaptiveRecognitionOverlay(_:didStartProcessingFrame:)
optional func labelCaptureAdaptiveRecognitionOverlay(_ overlay: LabelCaptureAdaptiveRecognitionOverlay, didStartProcessingFrame frameData: any FrameData) -> Void

Added in version 8.2.0

Invoked when a frame is being processed during adaptive recognition. This callback provides access to the frame data that is currently being analyzed.