You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new RTU-UI V2 component, see SBSDKUI2BarcodeScannerViewController.
Added new class-based image filters with customizable parameters:
SBSDKParametricFilter (abstract base class)
SBSDKScanbotBinarizationFilter
SBSDKCustomBinarizationFilter
SBSDKColorDocumentFilter
SBSDKBrightnessFilter
SBSDKContrastFilter
SBSDKGrayscaleFilter
SBSDKWhiteBlackPointFilter
SBSDKLegacyFilter (encapsulates the deprecated SBSDKImageFilterType filters)
Added support for residence permit documents to SBSDKGenericDocumentRecognizer. See SBSDKGenericDocumentRootType.
Added class SBSDKCheckDocument to represent a document specifically used for checking purposes, inheriting properties and methods from SBSDKGenericDocument.
Added the returnCroppedDocumentImage property to SBSDKMedicalCertificateRecognizerConfigurationOptions, SBSDKMedicalCertificateScannerViewController and SBSDKUIMedicalCertificateScannerViewController. This property allows you to control whether the SDK should include a cropped document image in its output or not.
Added new property minimumNumberOfSymbols to SBSDKDocumentQualityAnalyzer.
Added streaming encryption support to SBSDKStorageCrypting.
Added the SBSDKFinderView.Style enum and the property style that defines the drawing styles of the finder view to SBSDKFinderView and SBSDKBaseScannerViewFinderConfiguration.
Added the viewFinderStyle property to SBSDKBaseScannerViewController.
Added a new property supportedBarcodeTypes in SBSDKBarcodeDocumentType that has the supported barcode types of the barcode document format.
Added a new static method supportedBarcodesTypes(for:) in SBSDKBarcodeDocumentType to return the supported barcode types of a given array of barcode document formats.
Added a new modern beep sound in SBSDKSoundController.
Added a new enum SBSDKSoundType to configure the default beep sound of SBSDKSoundController.
Added Privacy manifest file (PrivacyInfo.xcprivacy) to the SDK.
Added new static property maximumRecommendedImageSize to SBSDKDeviceInformation.
Added a new property boundingBoxWithImageSize to SBSDKOCRResultBlock to get the bounding box of the receiver in absolute image coordinate system.
Added new function resetAccumulation to SBSDKBarcodeScannerViewController.
π Improvements:
Improved the installation of custom OCR languages for the Tesseract OCR engine. See SBSDKOCRLanguagesManager.
Streaming rendering and encrypting for SBSDKPDFRenderer and SBSDKTIFFImageWriter. Memory footprint during rendering reduced by up to 5x for TIFF. Unlimited PDF rendering.
π Bug fixes:
Fixed a bug where the recognizeOnImageStorage:completion: was unable to detect text on imageStorage when the encryption was on.
β οΈ Breaking Changes
Due to the refactoring of Scanbot SDK to the Swift language a lot of properties and method parameters have changed in order to provide a clean and consistent interface for Swift and Objective-C.
Renamed barcode type RSS14 to Databar and RSSExpanded to DatabarLimited.
Removed adjustable filters and partially replaced them by the parametric filters.
Deprecated SBSDKImageFilterType. Use the new parametric filters SBSDKParametricFilterand its subclasses if possible.
Replaced parameters of type SBSDKImageFilterType by SBSDKParametricFilter in most classes.
Changed type of binarizationFilter in SBSDKTIFFImageWriterParameters from SBSDKImageFilterType to SBSDKParametricFilter.
Renamed SBSDKUIDocument to SBSDKDocument, SBSDKUIPage to SBSDKDocumentPage and SBSDKUIPageFileStorage to SBSDKDocumentPageFileStorage.
Refactored SBSDKImageProcessor moving away from the complex asynchronous functions to a straight object oriented approach.
Deprecated SBSDKUIBarcodeScannerViewController and SBSDKUIBarcodesBatchScannerViewController along with their related classes. Please consider switching to the new SBSDKUI2BarcodeScannerViewController.
Changed isLicenseValid, licenseStatus from functions to variables in Scanbot class.
Changed defaultImageStoreEncrypter, defaultPDFEncrypter, shouldShowStatusBarOnScanningScreens, defaultStatusBarStyle from separated getters and setters to variables in ScanbotUI class.
Removed printInfo:, printError: and printWarning: from SBSDKLog.
Changed setLoggingEnabled: to property isLoggingEnabled in SBSDKLog.
Functions logInfo:, logError: and logWarning: in SBSDKLog now accept String as a parameter instead of va_list.
Changed all properties of type NSNumber to optional Double in SBSDKImageMetadata.
Replaced default initialization initWithParentViewController:containerView by the new static method createWithParentViewController:containerView in SBSDKImageEditingViewController.
Changed SBSDKTIFFImageWriter from static class to instantiated class and simplified the interface.
Changed all SBSDKBarcodeType global constants to static properties of SBSDKBarcodeType.
Refactored SBSDKBarcodeType, it introduces a style naming change for all barcode types, please see the documentation.
Moved the global constants SBSDKBarcodeMetadataEANUPCExtensionKey and SBSDKBarcodeMetadataIsGS1MessageKey to SBSDKBarcodeScannerResult as its static properties.
Renamed enum SBSDKAutosnappingMode to SBSDKAutoSnappingMode.
Renamed enum SBSDKMedicalCertificateRecognizerFormType to SBSDKMedicalCertificateRecognizerForm, please see the documentation for the refactored types.
Renamed properties patientInformationRecognitionEnabled and barcodeRecognitionEnabled to isPatientInformationRecognitionEnabled and isBarcodeRecognitionEnabled in SBSDKMedicalCertificateRecognizerConfigurationOptions.
Renamed and refactored class SBSDKPDFMetadataProcessor to SBSDKPDFMetadataEditor.
Renamed and refactored class SBSDKResourcesManager to SBSDKOCRLanguagesManager.
Renamed functions mlConfiguration and legacyConfigurationWithLanguages: in SBSDKOpticalCharacterRecognizerConfiguration to scanbotOCR and tesseractWithLanguages:.
Renamed enum values SBSDKOpticalCharacterRecognitionModeLegacy to SBSDKOpticalCharacterRecognitionModeTesseract and SBSDKOpticalCharacterRecognitionModeML to SBSDKOpticalCharacterRecognitionModeScanbotOCR.
Renamed the function recognizeFromStillImage, recognizeFromVideoFrameImage, recognizeFromSampleBuffer:orientation:, recognizeFromSampleBuffer:searchInRect:orientation: to recognizeOnStillImage, recognizeOnVideoFrameImage, recognizeOnSampleBuffer:orientation:, recognizeOnSampleBuffer:searchInRect:orientation: in SBSDKHealthInsuranceCardRecognizer.
Renamed the static factory functions in SBSDKUIHealthInsuranceCardScannerViewController to fix their ugly signatures.
Renamed the function recognizeFromSampleBufferto recognizeOnSampleBuffer in SBSDKGenericTextLineRecognizer.
Renamed the static factory functions in SBSDKUITextDataScannerViewControllerto fix their ugly signatures.
Changed all SBSDKBarcodeDocumentType global constants to static properties of SBSDKBarcodeDocumentType.
Changed all SBSDKGenericDocument global constants to static properties of SBSDKGenericDocument and SBSDKCheckDocument.
Replaced the default value of acceptedBarcodeTypes with SBSDKBarcodeType.commonTypes, this property will no longer accept nil anywhere, if it's set to an empty array, this will automatically be translated to SBSDKBarcodeType.commonTypes.
The property acceptedDocumentTypes of SBSDKBarcodeScanner and SBSDKBarcodeScannerViewController can no longer be set to nil.
Renamed the property optional1Field in SBSDKMachineReadableZoneRecognizerResult to visaOptionalField.
Renamed enum value SBSDKMachineReadableZoneRecognizerFieldNameOptional1 to SBSDKMachineReadableZoneRecognizerFieldNameVisaOptional.