Classes

The following classes are available globally.

  • AAMVA document subfile field.

    See more

    Declaration

    Objective-C

    @interface SBSDKAAMVADocumentSubfileField : NSObject

    Swift

    class SBSDKAAMVADocumentSubfileField : NSObject
  • AAMVA document subfile information.

    See more

    Declaration

    Objective-C

    @interface SBSDKAAMVADocumentSubfile : NSObject

    Swift

    class SBSDKAAMVADocumentSubfile : NSObject
  • AAMVA document information.

    See more

    Declaration

    Objective-C

    @interface SBSDKAAMVADocumentFormat : SBSDKBarCodeScannerDocumentFormat

    Swift

    class SBSDKAAMVADocumentFormat : SBSDKBarCodeScannerDocumentFormat
  • ScanbotSDKs default data encrypter. Provides AES128 and AES 256 encryption to your data.

    See more

    Declaration

    Objective-C

    @interface SBSDKAESEncrypter : NSObject <SBSDKStorageCrypting>

    Swift

    class SBSDKAESEncrypter : NSObject, SBSDKStorageCrypting
  • A class that describes an aspect ratio for a documents page. *

    See more

    Declaration

    Objective-C

    @interface SBSDKAspectRatio : NSObject

    Swift

    class SBSDKAspectRatio : NSObject
  • A class that represents a range of aspect ratios. *

    See more

    Declaration

    Objective-C

    @interface SBSDKAspectRatioRange : NSObject

    Swift

    class SBSDKAspectRatioRange : NSObject
  • A helper class describing a barcode document type.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeDocumentType : NSObject

    Swift

    class SBSDKBarcodeDocumentType : NSObject
  • Base class for describing recognized and parsed barcode information.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarCodeScannerDocumentFormat : NSObject

    Swift

    class SBSDKBarCodeScannerDocumentFormat : NSObject
  • A class that contains additional parameters for barcodes detection and filtering.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeAdditionalParameters : NSObject

    Swift

    class SBSDKBarcodeAdditionalParameters : NSObject
  • Wrapper class for searching and decoding multiple types of barcodes. Recognition is performed on still UIImage or SampleBufferRef, result is incapsulated in an array of SBSDKBarcodeScannerResult instances.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeScanner : NSObject

    Swift

    class SBSDKBarcodeScanner : NSObject
  • Class that encapsulates bar code search and decode result.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeScannerResult : NSObject

    Swift

    class SBSDKBarcodeScannerResult : NSObject
  • UIViewController subclass showing a camera screen and barcode detector. This class cannot be instanced from a storyboard. Instead it is installing itself as a child view controller onto a given parent view controller.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeScannerViewController : SBSDKBaseCameraViewController

    Swift

    class SBSDKBarcodeScannerViewController : SBSDKBaseCameraViewController
  • Class that represents a barcode type.

    See more

    Declaration

    Objective-C

    @interface SBSDKBarcodeType : NSObject

    Swift

    class SBSDKBarcodeType : NSObject
  • This is the abstract base class for any of the adjustable filters in ScanbotSDK. It provides the basic logic for filtering images using the GPU or the CPU. For GPU-based filtering the SDK uses preferrably Apples Metal API where available and falls back to OpenGLES if Metal is not available. If GPU-based filtering is not supported at all, the slower CPU-based filtering is used.

    See more

    Declaration

    Objective-C

    @interface SBSDKBaseAdjustableFilter : NSObject

    Swift

    class SBSDKBaseAdjustableFilter : NSObject
  • A basic camera view controller. Can be used for custom video frame detection.

    See more

    Declaration

    Objective-C

    @interface SBSDKBaseCameraViewController : UIViewController

    Swift

    class SBSDKBaseCameraViewController : UIViewController
  • Class for image blurriness value estimation.

    See more

    Declaration

    Objective-C

    @interface SBSDKBlurrinessEstimator : NSObject

    Swift

    class SBSDKBlurrinessEstimator : NSObject
  • Boarding pass leg field description.

    See more

    Declaration

    Objective-C

    @interface SBSDKBoardingPassLegField : NSObject

    Swift

    class SBSDKBoardingPassLegField : NSObject
  • Boarding pass leg information.

    See more

    Declaration

    Objective-C

    @interface SBSDKBoardingPassLeg : NSObject

    Swift

    class SBSDKBoardingPassLeg : NSObject
  • Boarding pass document description.

    See more

    Declaration

    Objective-C

    @interface SBSDKBoardingPassDocumentFormat : SBSDKBarCodeScannerDocumentFormat

    Swift

    class SBSDKBoardingPassDocumentFormat : SBSDKBarCodeScannerDocumentFormat
  • A CAShapeLayer subclass to draw rectangles to mark detected objects.

    See more

    Declaration

    Objective-C

    @interface SBSDKBoxesLayer : CAShapeLayer

    Swift

    class SBSDKBoxesLayer : CAShapeLayer
  • Adjusts the brightness of an image.

    See more

    Declaration

    Objective-C

    @interface SBSDKBrightnessFilter : SBSDKBaseAdjustableFilter

    Swift

    class SBSDKBrightnessFilter : SBSDKBaseAdjustableFilter
  • A class specifically designed to deal with images of business cards. It auto-rotates the images and extracts their texts. Can be subclassed and modified to your own needs. Designed to work in conjunction with SBSDKMultipleObjectScannerViewController.

    See more

    Declaration

    Objective-C

    @interface SBSDKBusinessCardsImageProcessor : NSObject

    Swift

    class SBSDKBusinessCardsImageProcessor : NSObject
  • This class provides information about the current cameras exposure settings.

    See more

    Declaration

    Objective-C

    @interface SBSDKCameraExposureSettings : NSObject

    Swift

    class SBSDKCameraExposureSettings : NSObject
  • An easy-to-use wrapper around the AVFoundations video capture session. Sets up and configures the camera device and the preview layer. Provides functionality to capture still images.

    See more

    Declaration

    Objective-C

    @interface SBSDKCameraSession : NSObject

    Swift

    class SBSDKCameraSession : NSObject
  • Helper class, that gathers the image, camera and detection metadata of a document scan.

    See more

    Declaration

    Objective-C

    @interface SBSDKCaptureInfo : NSObject

    Swift

    class SBSDKCaptureInfo : NSObject
  • A realtime detector and recognizer for U.S. Cheques. It detects cheques on CMSampleBufferRef object from an AVFoundation video stream. After successful detection it runs a recognition operation to extract the data fields of the detected credit card.

    See more

    Declaration

    Objective-C

    @interface SBSDKChequeRecognizer : NSObject

    Swift

    class SBSDKChequeRecognizer : NSObject
  • Class contains information about recognized cheque field.

    See more

    Declaration

    Objective-C

    @interface SBSDKChequeRecognizerResultField : NSObject

    Swift

    class SBSDKChequeRecognizerResultField : NSObject
  • Contains the result of a cheque recognition.

    See more

    Declaration

    Objective-C

    @interface SBSDKChequeRecognizerResult : NSObject

    Swift

    class SBSDKChequeRecognizerResult : NSObject
  • A compound image filter to build a filter chain with minimal conversion and maximal performance.

    See more

    Declaration

    Objective-C

    @interface SBSDKCompoundFilter : SBSDKBaseAdjustableFilter

    Swift

    class SBSDKCompoundFilter : SBSDKBaseAdjustableFilter
  • Adjusts the contrast of an image.

    See more

    Declaration

    Objective-C

    @interface SBSDKContrastFilter : SBSDKBaseAdjustableFilter

    Swift

    class SBSDKContrastFilter : SBSDKBaseAdjustableFilter
  • A UILabel subclass with rounded corners and content insets to display the status of the current document detection result.

    Declaration

    Objective-C

    @interface SBSDKDetectionStatusLabel : UILabel

    Swift

    class SBSDKDetectionStatusLabel : UILabel
  • Delivers information about the iOS device.

    See more

    Declaration

    Objective-C

    @interface SBSDKDeviceInformation : NSObject

    Swift

    class SBSDKDeviceInformation : NSObject
  • DC field description.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificateDocumentField : NSObject

    Swift

    class SBSDKDisabilityCertificateDocumentField : NSObject
  • Class for parsing data obtained from QR code on disability certificates.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificateDocumentFormat
        : SBSDKBarCodeScannerDocumentFormat

    Swift

    class SBSDKDisabilityCertificateDocumentFormat : SBSDKBarCodeScannerDocumentFormat
  • Class intended to keep DisabilityCertificateRecognizer configuration options

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificateRecognizerConfigurationOptions : NSObject

    Swift

    class SBSDKDisabilityCertificateRecognizerConfigurationOptions : NSObject
  • Wrapper class for disability certificates recognition. Recognition is performed on still UIImage or SampleBufferRef, result is incapsulated in SBSDKDisabilityCertificatesRecognizerResult instance.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificatesRecognizer : NSObject

    Swift

    class SBSDKDisabilityCertificatesRecognizer : NSObject
  • Contains information about recognized Disability certificate checkbox.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificatesRecognizerCheckboxResult : NSObject

    Swift

    class SBSDKDisabilityCertificatesRecognizerCheckboxResult : NSObject
  • Class contains date information retrieved by disability certificates recognizer.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificatesRecognizerDateResult : NSObject

    Swift

    class SBSDKDisabilityCertificatesRecognizerDateResult : NSObject
  • This class describes the results of a disability certificate recognition.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificatesRecognizerResult : NSObject

    Swift

    class SBSDKDisabilityCertificatesRecognizerResult : NSObject
  • This class represents one entry of patient information recognized by disability certificate recognition.

    See more

    Declaration

    Objective-C

    @interface SBSDKDisabilityCertificatesRecognizerResultPatientField : NSObject

    Swift

    class SBSDKDisabilityCertificatesRecognizerResultPatientField : NSObject
  • The metrics and additional properties returned by ‘SBSDKDocumentDetector’. Can be used to make decisions on polygon acceptance, automatic capturing and user guidance.

    See more

    Declaration

    Objective-C

    @interface SBSDKDocumentDetectionMetrics : NSObject <NSCopying>

    Swift

    class SBSDKDocumentDetectionMetrics : NSObject, NSCopying
  • 

    • This class provides methods for detecting a documents outline polygon in an UIImage or CMSampleBuffer.
    See more

    Declaration

    Objective-C

    @interface SBSDKDocumentDetector : NSObject

    Swift

    class SBSDKDocumentDetector : NSObject
  • This class represents the result of a document detection on an image.

    See more

    Declaration

    Objective-C

    @interface SBSDKDocumentDetectorResult : NSObject <NSCopying>

    Swift

    class SBSDKDocumentDetectorResult : NSObject, NSCopying
  • Helper class to catch NSExceptions from with Swift code.

    See more

    Declaration

    Objective-C

    @interface SBSDKExceptionHandler : NSObject

    Swift

    class SBSDKExceptionHandler : NSObject
  • A layer class to display a view finder with colored background and transparent cutout with the given aspect ratio. To change the color just set the layers backgroundColor property.

    See more

    Declaration

    Objective-C

    @interface SBSDKFinderLayer : CAShapeLayer

    Swift

    class SBSDKFinderLayer : CAShapeLayer
  • A simple frame limiter class. An object can use this class to limit the number of events fired per second. E.g. A camera device captures video frames with 60 frames per second and passes them to a detector. Use this class to limit the number of detector runs to a smaller value, like 20 frames per second, skipping the remaining 40 frames per second. As the detector needs lots of CPU power this limit can drastically reduce CPU usage and therefore saves battery.

    See more

    Declaration

    Objective-C

    @interface SBSDKFrameLimiter : NSObject

    Swift

    class SBSDKFrameLimiter : NSObject
  • A generic documents fields result of OCR text recognition.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentOcrResult : NSObject

    Swift

    class SBSDKGenericDocumentOcrResult : NSObject
  • A generic documents field type.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentFieldType : NSObject

    Swift

    class SBSDKGenericDocumentFieldType : NSObject
  • A generic documents field.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentField : NSObject

    Swift

    class SBSDKGenericDocumentField : NSObject
  • A generic documents type.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentType : NSObject

    Swift

    class SBSDKGenericDocumentType : NSObject
  • A generic document. Contains fields and sub-documents.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocument : NSObject

    Swift

    class SBSDKGenericDocument : NSObject
  • The root document type.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentRootType : SBSDKGenericDocumentType

    Swift

    class SBSDKGenericDocumentRootType : SBSDKGenericDocumentType
  • A recognizer for documents on an image or on a video stream. Recognizes and extracts data fields from specific documents, e.g. German passports, id cards and driver’s licenses and, in case of success, returns an instance of SBSDKGenericDocument holding all recognized fields with their names, values and image excerpts, along with their OCR confidence values.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentRecognizer : NSObject

    Swift

    class SBSDKGenericDocumentRecognizer : NSObject
  • A camera based view controller to recognize documents like personal ID cards, driver’s licenses and passports on video frames.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentRecognizerViewController
        : SBSDKBaseCameraViewController

    Swift

    class SBSDKGenericDocumentRecognizerViewController : SBSDKBaseCameraViewController
  • Base class for strongly-typed SBSDKGenericDocument wrappers

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentWrapper : NSObject

    Swift

    class SBSDKGenericDocumentWrapper : NSObject
  • German ID card, front side.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeIdCardFront : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeIdCardFront : SBSDKGenericDocumentWrapper
  • MRZ part of the document.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentMRZ : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentMRZ : SBSDKGenericDocumentWrapper
  • German ID card, back side.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeIdCardBack : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeIdCardBack : SBSDKGenericDocumentWrapper
  • German travel passport (Reisepass).

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDePassport : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDePassport : SBSDKGenericDocumentWrapper
  • German driver license (Führerschein), front side.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeDriverLicenseFront
        : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeDriverLicenseFront : SBSDKGenericDocumentWrapper
  • A category row from the categories table.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeDriverLicenseBackCategory
        : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeDriverLicenseBackCategory : SBSDKGenericDocumentWrapper
  • Categories table row container.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeDriverLicenseBackCategories
        : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeDriverLicenseBackCategories : SBSDKGenericDocumentWrapper
  • German driver license (Führerschein), backside.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericDocumentDeDriverLicenseBack : SBSDKGenericDocumentWrapper

    Swift

    class SBSDKGenericDocumentDeDriverLicenseBack : SBSDKGenericDocumentWrapper
  • A class for recognizing one line of text in a small area and running a validation on the result. It is intended to be a very generic text-based live video recognizer for tasks that can’t be accomplished with the specialized recognizers in ScanbotSDK.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericTextLineRecognizer : NSObject

    Swift

    class SBSDKGenericTextLineRecognizer : NSObject
  • A descriptor-like class to configure an instance of SBSDKGenericTextLineRecognizer.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericTextLineRecognizerConfiguration : NSObject

    Swift

    class SBSDKGenericTextLineRecognizerConfiguration : NSObject
  • A class describing a recognized word, its bounding box and its text recognition confidence.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericTextLineRecognizerResultWordBox
        : NSObject <SBSDKBoxedObject>

    Swift

    class SBSDKGenericTextLineRecognizerResultWordBox : NSObject, SBSDKBoxedObject
  • A class describing the result of the generic text line recognizer.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericTextLineRecognizerResult : NSObject

    Swift

    class SBSDKGenericTextLineRecognizerResult : NSObject
  • A highly customizable camera-based viewcontroller to recognize and validate a small rectangular text area in realtime. A view finder like rectangle shows the area where text is recognized. The camera can be zoomed in and out using an action or a double-tap to make aiming at the desired area easier. Once some text is recognized within the view finder area, the result is delivered to the receivers delegate. A customizable validation routine checks validates the result and sets a flag in the result.

    See more

    Declaration

    Objective-C

    @interface SBSDKGenericTextLineRecognizerViewController
        : SBSDKBaseCameraViewController

    Swift

    class SBSDKGenericTextLineRecognizerViewController : SBSDKBaseCameraViewController
  • EHIC field data.

    See more

    Declaration

    Objective-C

    @interface SBSDKHealthInsuranceCardField : NSObject

    Swift

    class SBSDKHealthInsuranceCardField : NSObject
  • The result of EHIC recognition returned by SBSDKHealthInsuranceCardRecognizer

    See more

    Declaration

    Objective-C

    @interface SBSDKHealthInsuranceCardRecognitionResult : NSObject

    Swift

    class SBSDKHealthInsuranceCardRecognitionResult : NSObject
  • Recognizer for European health insurance cards (EHIC), a.k.a. elektronische Gesundheitskarten (eGK). NOTE: In order to operate, this class requires tesseract languages and trained data to be present in the application bundle.

    See more

    Declaration

    Objective-C

    @interface SBSDKHealthInsuranceCardRecognizer : NSObject

    Swift

    class SBSDKHealthInsuranceCardRecognizer : NSObject
  • Generic class that represents generic card. Is used for subclassing only. Contains only fields, that are common for all EU cards.

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCard : NSObject

    Swift

    class SBSDKIDCard : NSObject
  • Class that represents German identification card. A subclass of SBSDKIDCard

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardGerman : SBSDKIDCard

    Swift

    class SBSDKIDCardGerman : SBSDKIDCard
  • ID card field description

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardPDF417DocumentField : NSObject

    Swift

    class SBSDKIDCardPDF417DocumentField : NSObject
  • ID card document description

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardPDF417DocumentFormat : SBSDKBarCodeScannerDocumentFormat

    Swift

    class SBSDKIDCardPDF417DocumentFormat : SBSDKBarCodeScannerDocumentFormat
  • Class that represents German international passport. A subclass of SBSDKIDCard

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardPassportGerman : SBSDKIDCard

    Swift

    class SBSDKIDCardPassportGerman : SBSDKIDCard
  • A recognizer for personal ID cards. Detects and recognizes ID cards on images or video frames and extracts the data fields, like names, dates, photos, signatures and machine readable zones.

    Detection is a quick way to check, if there is an ID card present on an image or video frame. Recognition is slower but additionally extracts the data fields from the ID card.

    Note: Currently limited to German ID cards.

    See more

    Declaration

    Objective-C

    
    @interface SBSDKIDCardRecognizer : NSObject

    Swift

    class SBSDKIDCardRecognizer : NSObject
  • The type of the recognized ID card.

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardType : NSObject

    Swift

    class SBSDKIDCardType : NSObject
  • Contents of one data field of a personal ID card.

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardRecognizerResultField : NSObject

    Swift

    class SBSDKIDCardRecognizerResultField : NSObject
  • The result of an ID card detection or recognition. Summarizes general information from the ID card scan and individual data fields.

    See more

    Declaration

    Objective-C

    @interface SBSDKIDCardRecognizerResult : NSObject

    Swift

    class SBSDKIDCardRecognizerResult : NSObject
  • A camera based view controller to detect and recognize personal ID cards on video frames or automatically captured still images. Currently limited to German ID cards.

    See more

    Declaration

    Objective-C

    
    @interface SBSDKIDCardScannerViewController : SBSDKBaseCameraViewController

    Swift

    class SBSDKIDCardScannerViewController : SBSDKBaseCameraViewController
  • UIViewController subclass showing an image and a polygon The user can move edge and corner handles to redefine the polygon manually and rotate the image in 90 degree steps (counter)clockwise. This class cannot be instanced from a storyboard. Instead it is installing itself as a child view controller onto a given parent view controller.

    See more

    Declaration

    Objective-C

    @interface SBSDKImageEditingViewController : UIViewController

    Swift

    class SBSDKImageEditingViewController : UIViewController
  • Encapsulates image metadata, e.g. EXIF, TIFF, JFIF in a convenient way. Use SBSDKImageMetadataProcessor to extract metadata from and inject changed metadata into image data.

    See more

    Declaration

    Objective-C

    @interface SBSDKImageMetadata : NSObject

    Swift

    class SBSDKImageMetadata : NSObject
  • Helper class to extract image metadata, e.g. EXIF, TIFF, JFIF from any images data. Be cautious: changing an images metadata can break it, e.g. by setting wrong width or height.

    Example usage:

    1. Use UIImageJPEGRepresentation(UIImage *image, CGFloat compressionFactor) to get the NSData object from an UIImage.

    2. Call SBSDKImageMetadataProcessor method extractMetadataFromImageData: to retrieve a SBSDKImageMetadata object from the image data.

    3. Modify the metadata object as needed.

    4. Call SBSDKImageMetadataProcessor method imageDataByInjectingMetadata to inject the modified metadata into the image data.

    5. Create a new UIImage object from the returned image data using UIImage(data:) constructor with the modified metadata.

    See more

    Declaration

    Objective-C

    @interface SBSDKImageMetadataProcessor : NSObject

    Swift

    class SBSDKImageMetadataProcessor : NSObject
  • Class containing the metrics for a single image channel.

    See more

    Declaration

    Objective-C

    @interface SBSDKImageChannelMetrics : NSObject

    Swift

    class SBSDKImageChannelMetrics : NSObject
    • Utility class to extract the metrics for each individual channel of an UIImage.
    • Metrics are min, max and mean values of each channel, the variance and standard deviation.
    • Along with the metrics this class also extracts histograms and cumulative histograms for each channel.
    See more

    Declaration

    Objective-C

    @interface SBSDKImageMetricsAnalyzer : NSObject

    Swift

    class SBSDKImageMetricsAnalyzer : NSObject
  • A static class that processes images asynchronously: the heart of the Scanbot SDK image processing module. As image processing is most often consuming lots of memory this class processes images on a serial queue ensuring a minimum of large images in memory. Each operation reads the image from the imageURL, processes it and, if outputImageURL is a valid file URL, writes the result to outputImageURL. Upon completion completionHandler is called on main thread in a synchronous matter. After your completionHandler finished executing the next operation is enqueued. Its resultInfo dictionary contains the processed image, the source image URL and the destination image URL if specified.

    See more

    Declaration

    Objective-C

    @interface SBSDKImageProcessor : NSObject

    Swift

    class SBSDKImageProcessor : NSObject
  • A simple thread-safe multiple-reader-single-writer index based disk image cache class. Manages images in an array-like fashion.

    See more

    Declaration

    Objective-C

    @interface SBSDKIndexedImageStorage : NSObject <SBSDKImageStoring>

    Swift

    class SBSDKIndexedImageStorage : NSObject, SBSDKImageStoring
  • A simple thread-safe multiple-reader-single-writer key-value fashioned disk image cache class. Manages images in a dictionary-like fashion.

    See more

    Declaration

    Objective-C

    @interface SBSDKKeyedImageStorage : NSObject

    Swift

    class SBSDKKeyedImageStorage : NSObject
  • Encapsulates lens and camera properties. Can be used with polygonal image cropping to achieve a very accurate aspect ratio of the resulting image. If created from image image metadata, uses a dictionary of some known devices to lookup the values.

    See more

    Declaration

    Objective-C

    @interface SBSDKLensCameraProperties : NSObject

    Swift

    class SBSDKLensCameraProperties : NSObject
  • A class for scanning a vehicles license plate in a small area and running a validation on the result. Ideally you use an instance of this class on subsequent video frames. Each scanned frame will raise the confidence of the scan.

    See more

    Declaration

    Objective-C

    @interface SBSDKLicensePlateScanner : NSObject

    Swift

    class SBSDKLicensePlateScanner : NSObject
  • A class being used to configure the license plate scanner.

    See more

    Declaration

    Objective-C

    @interface SBSDKLicensePlateScannerConfiguration : NSObject

    Swift

    class SBSDKLicensePlateScannerConfiguration : NSObject
  • A class describing the result of a license plate scan.

    See more

    Declaration

    Objective-C

    @interface SBSDKLicensePlateScannerResult : NSObject

    Swift

    class SBSDKLicensePlateScannerResult : NSObject
  • A camera based view controller to detect license plates on video frames or automatically captured still images.

    See more

    Declaration

    Objective-C

    @interface SBSDKLicensePlateScannerViewController
        : SBSDKBaseCameraViewController

    Swift

    class SBSDKLicensePlateScannerViewController : SBSDKBaseCameraViewController
  • Wrapper class for machine-readable zones recognition. Recognition is performed on still UIImage or SampleBufferRef, result is encapsulated in SBSDKMRZRecognizerResult instance. NOTE: In order to operate, this class requires tesseract languages and trained data to be present in application bundle

    See more

    Declaration

    Objective-C

    @interface SBSDKMachineReadableZoneRecognizer : NSObject

    Swift

    class SBSDKMachineReadableZoneRecognizer : NSObject
  • A class representing a single data field in a machine-readable-zone.

    See more

    Declaration

    Objective-C

    @interface SBSDKMachineReadableZoneRecognizerField : NSObject

    Swift

    class SBSDKMachineReadableZoneRecognizerField : NSObject
  • A class encapsulating a machine-readable-zone recognition result.

    See more

    Declaration

    Objective-C

    @interface SBSDKMachineReadableZoneRecognizerResult : NSObject

    Swift

    class SBSDKMachineReadableZoneRecognizerResult : NSObject
  • Contains information about a single checkdigit.

    See more

    Declaration

    Objective-C

    @interface SBSDKMachineReadableZoneRecognizerResultCheckDigit : NSObject

    Swift

    class SBSDKMachineReadableZoneRecognizerResultCheckDigit : NSObject
  • A class encapsulating machine-readable-zones text line.

    See more

    Declaration

    Objective-C

    @interface SBSDKMachineReadableZoneRecognizerTextLine : NSObject

    Swift

    class SBSDKMachineReadableZoneRecognizerTextLine : NSObject
  • German medical plan document subheading prescription information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanSubheadingPrescriptionField : NSObject

    Swift

    class SBSDKMedicalPlanSubheadingPrescriptionField : NSObject
  • German medical plan document subheading prescription information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanSubheadingPrescription : NSObject

    Swift

    class SBSDKMedicalPlanSubheadingPrescription : NSObject
  • German medical plan document medicine substance information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanMedicineSubstanceField : NSObject

    Swift

    class SBSDKMedicalPlanMedicineSubstanceField : NSObject
  • German medical plan document medicine substance information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanMedicineSubstance : NSObject

    Swift

    class SBSDKMedicalPlanMedicineSubstance : NSObject
  • German medical plan document medicine information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanMedicineField : NSObject

    Swift

    class SBSDKMedicalPlanMedicineField : NSObject
  • German medical plan document medicine information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanMedicine : NSObject

    Swift

    class SBSDKMedicalPlanMedicine : NSObject
  • German medical plan document subheading information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanStandardSubheadingField : NSObject

    Swift

    class SBSDKMedicalPlanStandardSubheadingField : NSObject
  • German medical plan document subheading information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanStandardSubheading : NSObject

    Swift

    class SBSDKMedicalPlanStandardSubheading : NSObject
  • German medical plan document doctor information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanDoctorField : NSObject

    Swift

    class SBSDKMedicalPlanDoctorField : NSObject
  • German medical plan document doctor information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanDoctorInformation : NSObject

    Swift

    class SBSDKMedicalPlanDoctorInformation : NSObject
  • German medical plan document patient information description field.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanPatientField : NSObject

    Swift

    class SBSDKMedicalPlanPatientField : NSObject
  • German medical plan document patient information description.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanPatientInformation : NSObject

    Swift

    class SBSDKMedicalPlanPatientInformation : NSObject
  • German medical plan document description structure.

    See more

    Declaration

    Objective-C

    @interface SBSDKMedicalPlanDocumentFormat : SBSDKBarCodeScannerDocumentFormat

    Swift

    class SBSDKMedicalPlanDocumentFormat : SBSDKBarCodeScannerDocumentFormat
  • A view controller for scanning multiple objects on a single captured still image. *

    See more

    Declaration

    Objective-C

    @interface SBSDKMultipleObjectScannerViewController
        : SBSDKBaseCameraViewController

    Swift

    class SBSDKMultipleObjectScannerViewController : SBSDKBaseCameraViewController
  • Detects multiple non-overlapping rectangular objects within an image. Like a bunch of business cards.

    See more

    Declaration

    Objective-C

    @interface SBSDKMultipleObjectsDetector : NSObject

    Swift

    class SBSDKMultipleObjectsDetector : NSObject
  • Data on passports NFC chips are chunked in groups. Each group has a specific category and contains a number of elements, each making up a key-value pair. Groups have individual security levels. We are only allowed to extract data groups 1 and 2.

    This class is an abstract base class for one data group of a passports NFC chip.

    See more

    Declaration

    Objective-C

    @interface SBSDKNFCDatagroup : NSObject

    Swift

    class SBSDKNFCDatagroup : NSObject
  • Data group 1 or DG1. Contains general information about the passport and its holder.

    See more

    Declaration

    Objective-C

    @interface SBSDKNFCDatagroupDG1 : SBSDKNFCDatagroup

    Swift

    class SBSDKNFCDatagroupDG1 : SBSDKNFCDatagroup
  • Data group 2 or DG2. Contains visual biometric data of the passports holder.

    See more

    Declaration

    Objective-C

    @interface SBSDKNFCDatagroupDG2 : SBSDKNFCDatagroup

    Swift

    class SBSDKNFCDatagroupDG2 : SBSDKNFCDatagroup
  • A class for reading out the data of a passports Near Field Communication (NFC) chip.

    Notes:

    Requires

    Requires iOS 13.0+
    • Your app needs to add the “Near Field Communication Tag Reading” entitlement
    • Your apps info.plist needs to define the passport nfc application ID. To do so add the following entry: “com.apple.developer.nfc.readersession.iso7816.select-identifiers” and as the first element add the passport application ID “A0000002471001”
    See more

    Declaration

    Objective-C

    
    @interface SBSDKNFCPassportReader : NSObject

    Swift

    class SBSDKNFCPassportReader : NSObject
  • This class summarizes the results of an optical character recognition (OCR) operation for a given page. It contains the recognized text, and arrays for each type of SBSDKOCRResultBlock, as well as the result from the page layout analysis. For convenience this immutable class conforms to NSCopying protocol.

    See more

    Declaration

    Objective-C

    @interface SBSDKOCRPage : NSObject <NSCopying>

    Swift

    class SBSDKOCRPage : NSObject, NSCopying
  • This class summarizes the results of an optical character recognition (OCR) operation for number of pages. It contains the array of SBSDKOCRPages. For convenience this immutable class conforms to NSCopying protocol.

    See more

    Declaration

    Objective-C

    @interface SBSDKOCRResult : NSObject <NSCopying>

    Swift

    class SBSDKOCRResult : NSObject, NSCopying
  • Part of the optical character recognitions result. This result contains multiple SBSDKOCRResultBlock objects. Each block represents a text paragraph, a text line or a word and contains information about it, like the found text, the bounding box, where in the image the paragraph/line/word can be found, the confidence value and the type. For convenience this immutable class conforms to NSCopying protocol.

    See more

    Declaration

    Objective-C

    @interface SBSDKOCRResultBlock : NSObject <NSCopying>

    Swift

    class SBSDKOCRResultBlock : NSObject, NSCopying
  • A factory class to enqueue and execute optical character recognition operations: the heart of the Scanbot SDK OCR module. It performs OCR operations on either a single image or a collection of images, see SBSDKImageStoring. Additionally it can perform a standalone page analysis on a single image. All of the operations are dispatched to a single serial queue to ensure low memory footprint and optimum CPU load.

    Any text recognition operation will fail with an error if all of the specified languages are missing as language files. If the specified languages are partially available a warning will be logged, but the operation executes without using the missing languages. Please see the section “Optical Character Recognition” of the main SDK documentation for more details about the OCR language files.

    The number of languages passed to OCR operations have a significant impact on the performance: the more languages, the slower the recognition process.

    See more

    Declaration

    Objective-C

    @interface SBSDKOpticalTextRecognizer : NSObject

    Swift

    class SBSDKOpticalTextRecognizer : NSObject
  • A static class that renders an ordered collection of images into a basic, none-searchable PDF. Very fast. It does not perform OCR.

    See more

    Declaration

    Objective-C

    @interface SBSDKPDFRenderer : NSObject

    Swift

    class SBSDKPDFRenderer : NSObject
  • 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.
    See more

    Declaration

    Objective-C

    @interface SBSDKPageAnalyzerResult : NSObject <NSCopying>

    Swift

    class SBSDKPageAnalyzerResult : NSObject, NSCopying
  • Describes the position and the type of a text box within the image being detected or recognized.

    See more

    Declaration

    Objective-C

    @interface SBSDKPayFormToken : NSObject

    Swift

    class SBSDKPayFormToken : NSObject
  • Resulting element of the SBSDKPayFormScanners recognizer. Holds a token and its recognized text value after recognition.

    See more

    Declaration

    Objective-C

    @interface SBSDKPayFormRecognizedField : NSObject

    Swift

    class SBSDKPayFormRecognizedField : NSObject
  • Result class of SBSDKPayFormScanners recognizer part. Encapsulates the recognized text fields.

    See more

    Declaration

    Objective-C

    @interface SBSDKPayFormRecognitionResult : NSObject

    Swift

    class SBSDKPayFormRecognitionResult : NSObject