Releases: doo/scanbot-sdk-ios-spm
Releases Β· doo/scanbot-sdk-ios-spm
5.2.0-RC1
- π New:
- Added support for german health insurance card front side and european health insurance card to
SBSDKGenericDocumentRecognizer
,SBSDKGenericDocumentRecognizerViewController
andSBSDKUIGenericDocumentViewController
. - Added support for new barcode types Maxicode, rMQR code, Code 11 and Code 32.
- Added properties
australiaPostCustomerFormat
,useIATA2OF5Checksum
anduseCode11Checksum
toSBSDKBarcodeAdditionalParameters
andSBSDKUI2BarcodeRecognizerConfiguration
. - Added support for PDF metadata attributes when rendering PDF files: see new class
SBSDKPDFAttributes
and new propertypdfAttributes
onSBSDKPDFRendererOptions
.
- Added support for german health insurance card front side and european health insurance card to
- π Improvements:
- Improved document detection on booklet documents.
- Improved performance of
SBSDKDocumentQualityAnalyzer
. - Added support for Extended Channel Interpretation (ECI) for Datamatrix and Aztec.
- Improved GS1 string handling with new modes for decoding and validation. See
SBSDKGS1Handling
.
β οΈ Breaking Changes:- Removed enum
SBSDKBarcodeDensity
. - Removed property
codeDensity
fromSBSDKBarcodeAdditionalParameters
. - Removed enum values
validate
anddecode
fromSBSDKGS1Handling
and replaced them bydecodeStructure
,decodeFull
,validateStructure
andvalidateFull
. - Removed property
sharpnessAcceptanceFactor
fromSBSDKGenericDocumentRecognizer
,SBSDKGenericDocumentRecognizerViewController
andSBSDKUIGenericDocumentRecognizerBehaviorConfiguration
. - Removed property
isAccumulatingDocuments
fromSBSDKGenericDocumentRecognizer
andSBSDKGenericDocumentRecognizerViewController
. - Deprecated
SBSDKGenericDocumentRecognizer
,SBSDKGenericDocumentRecognizerViewController
andSBSDKUIGenericDocumentRecognizerViewController
. - Removed class
SBSDKPDFMetadataEditor
.
- Removed enum
5.1.0
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats. See the API documentation for more details.
- Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
. - Added new static properties
allFormats
,commonFormats
,oneDFormats
andtwoDFormats
toSBSDKUI2BarcodeFormat
. - Added new class
SBSDKUI2BarcodeTextLocalization
and new propertylocalization
toSBSDKUI2BarcodeScannerConfiguration
to support localized strings. - Added support for parsing of AAMVA Certificate of Title for motor vehicle barcodes.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value. - Fixed JSON representation of
SBSDKUI2BarcodeItem
.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly. - Made the property
type
inSBSDKUI2BarcodeItem
optional. - Changed type of property
rawBytes
from [UInt8] to Data.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC14
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats. See the API documentation for more details.
- Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
. - Added new static properties
allFormats
,commonFormats
,oneDFormats
andtwoDFormats
toSBSDKUI2BarcodeFormat
. - Added new class
SBSDKUI2BarcodeTextLocalization
and new propertylocalization
toSBSDKUI2BarcodeScannerConfiguration
to support localized strings. - Added support for parsing of AAMVA Certificate of Title for motor vehicle barcodes.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value. - Fixed JSON representation of
SBSDKUI2BarcodeItem
.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly. - Made the property
type
inSBSDKUI2BarcodeItem
optional. - Changed type of property
rawBytes
from [UInt8] to Data.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC13
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats. See the API documentation for more details.
- Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
. - Added new static properties
allFormats
,commonFormats
,oneDFormats
andtwoDFormats
toSBSDKUI2BarcodeFormat
. - Added new class
SBSDKUI2BarcodeTextLocalization
and new propertylocalization
toSBSDKUI2BarcodeScannerConfiguration
to support localized strings. - Added support for parsing of AAMVA Certificate of Title for motor vehicle barcodes.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value. - Fixed JSON representation of
SBSDKUI2BarcodeItem
.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly. - Made the property
type
inSBSDKUI2BarcodeItem
optional. - Changed type of property
rawBytes
from [UInt8] to Data.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC12
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats:
SBSDKBarcodeDocumentBoardingPassLeg
,SBSDKBarcodeDocumentBoardingPass
,SBSDKBarcodeDocumentSwissQR
,SBSDKBarcodeDocumentDEMedicalPlanPatient
,SBSDKBarcodeDocumentDEMedicalPlanDoctor
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicineSubstance
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicine
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingPrescription
,SBSDKBarcodeDocumentDEMedicalPlanSubheading
,SBSDKBarcodeDocumentDEMedicalPlan
,SBSDKBarcodeDocumentIDCardPDF417
,SBSDKBarcodeDocumentGS1Element
,SBSDKBarcodeDocumentGS1
,SBSDKBarcodeDocumentSEPA
,SBSDKBarcodeDocumentMedicalCertificate
,SBSDKBarcodeDocumentVCardEntry
,SBSDKBarcodeDocumentVCard
,SBSDKBarcodeDocumentAAMVATitleData
,SBSDKBarcodeDocumentAAMVARegistrationData
,SBSDKBarcodeDocumentAAMVAMotorCarrierData
,SBSDKBarcodeDocumentAAMVARegistrantAndVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleOwnerData
,SBSDKBarcodeDocumentAAMVAVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleSafetyInspectionData
,SBSDKBarcodeDocumentAAMVADLID
,SBSDKBarcodeDocumentAAMVARawDocument
,SBSDKBarcodeDocumentAAMVA
. - Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
. - Added new static properties
allFormats
,commonFormats
,oneDFormats
andtwoDFormats
toSBSDKUI2BarcodeFormat
.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly. - Made the property
type
inSBSDKUIBarcodeItem
optional.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC11
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats:
SBSDKBarcodeDocumentBoardingPassLeg
,SBSDKBarcodeDocumentBoardingPass
,SBSDKBarcodeDocumentSwissQR
,SBSDKBarcodeDocumentDEMedicalPlanPatient
,SBSDKBarcodeDocumentDEMedicalPlanDoctor
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicineSubstance
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicine
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingPrescription
,SBSDKBarcodeDocumentDEMedicalPlanSubheading
,SBSDKBarcodeDocumentDEMedicalPlan
,SBSDKBarcodeDocumentIDCardPDF417
,SBSDKBarcodeDocumentGS1Element
,SBSDKBarcodeDocumentGS1
,SBSDKBarcodeDocumentSEPA
,SBSDKBarcodeDocumentMedicalCertificate
,SBSDKBarcodeDocumentVCardEntry
,SBSDKBarcodeDocumentVCard
,SBSDKBarcodeDocumentAAMVATitleData
,SBSDKBarcodeDocumentAAMVARegistrationData
,SBSDKBarcodeDocumentAAMVAMotorCarrierData
,SBSDKBarcodeDocumentAAMVARegistrantAndVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleOwnerData
,SBSDKBarcodeDocumentAAMVAVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleSafetyInspectionData
,SBSDKBarcodeDocumentAAMVADLID
,SBSDKBarcodeDocumentAAMVARawDocument
,SBSDKBarcodeDocumentAAMVA
. - Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly. - Made the property
type
inSBSDKUIBarcodeItem
optional.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC10
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats:
SBSDKBarcodeDocumentBoardingPassLeg
,SBSDKBarcodeDocumentBoardingPass
,SBSDKBarcodeDocumentSwissQR
,SBSDKBarcodeDocumentDEMedicalPlanPatient
,SBSDKBarcodeDocumentDEMedicalPlanDoctor
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicineSubstance
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicine
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingPrescription
,SBSDKBarcodeDocumentDEMedicalPlanSubheading
,SBSDKBarcodeDocumentDEMedicalPlan
,SBSDKBarcodeDocumentIDCardPDF417
,SBSDKBarcodeDocumentGS1Element
,SBSDKBarcodeDocumentGS1
,SBSDKBarcodeDocumentSEPA
,SBSDKBarcodeDocumentMedicalCertificate
,SBSDKBarcodeDocumentVCardEntry
,SBSDKBarcodeDocumentVCard
,SBSDKBarcodeDocumentAAMVATitleData
,SBSDKBarcodeDocumentAAMVARegistrationData
,SBSDKBarcodeDocumentAAMVAMotorCarrierData
,SBSDKBarcodeDocumentAAMVARegistrantAndVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleOwnerData
,SBSDKBarcodeDocumentAAMVAVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleSafetyInspectionData
,SBSDKBarcodeDocumentAAMVADLID
,SBSDKBarcodeDocumentAAMVARawDocument
,SBSDKBarcodeDocumentAAMVA
. - Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed the documentation of
isShutterButtonHidden
inSBSDKUIFinderDocumentScannerUIConfiguration
to correctly mention its default value.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
. - Removed
barcodeTypes
andacceptedDocumentTypes
fromSBSDKUI2BarcodeRecognizerConfiguration
as they are not needed anymore and we can usebarcodeFormats
andacceptedDocumentFormats
directly.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
- Added third-party library libzueci version 1.0.0
5.1.0-RC9
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats:
SBSDKBarcodeDocumentBoardingPassLeg
,SBSDKBarcodeDocumentBoardingPass
,SBSDKBarcodeDocumentSwissQR
,SBSDKBarcodeDocumentDEMedicalPlanPatient
,SBSDKBarcodeDocumentDEMedicalPlanDoctor
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicineSubstance
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicine
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingPrescription
,SBSDKBarcodeDocumentDEMedicalPlanSubheading
,SBSDKBarcodeDocumentDEMedicalPlan
,SBSDKBarcodeDocumentIDCardPDF417
,SBSDKBarcodeDocumentGS1Element
,SBSDKBarcodeDocumentGS1
,SBSDKBarcodeDocumentSEPA
,SBSDKBarcodeDocumentMedicalCertificate
,SBSDKBarcodeDocumentVCardEntry
,SBSDKBarcodeDocumentVCard
,SBSDKBarcodeDocumentAAMVATitleData
,SBSDKBarcodeDocumentAAMVARegistrationData
,SBSDKBarcodeDocumentAAMVAMotorCarrierData
,SBSDKBarcodeDocumentAAMVARegistrantAndVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleOwnerData
,SBSDKBarcodeDocumentAAMVAVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleSafetyInspectionData
,SBSDKBarcodeDocumentAAMVADLID
,SBSDKBarcodeDocumentAAMVARawDocument
,SBSDKBarcodeDocumentAAMVA
. - Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added property
acceptedBrightnessThreshold
toSBSDKDocumentScanner
,SBSDKDocumentScannerViewController
,SBSDKUIDocumentScannerBehaviourConfiguration
andSBSDKUIFinderDocumentScannerBehaviorConfiguration
. - Added property
averageBrightness
toSBSDKDocumentDetectionMetrics
.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Changed the type of numeric parametric filter parameters from Float to Double.
- Changed the order of parameters in the initializer of
SBSDKCustomBinarizationFilter
.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.
5.1.1-Beta1
WARNING: Release Notes for version 5.1.1 not found!
5.1.0-RC8
- π New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added a new configuration class
SBSDKHealthInsuranceCardRecognizerParameters
to configure the live detection recognizer inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
liveDetectionParameters
inSBSDKHealthInsuranceCardRecognizer
. - Added a new property
recognizerParameters
inSBSDKHealthInsuranceCardScannerViewController
andSBSDKUIHealthInsuranceCardScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats:
SBSDKBarcodeDocumentBoardingPassLeg
,SBSDKBarcodeDocumentBoardingPass
,SBSDKBarcodeDocumentSwissQR
,SBSDKBarcodeDocumentDEMedicalPlanPatient
,SBSDKBarcodeDocumentDEMedicalPlanDoctor
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicineSubstance
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingMedicine
,SBSDKBarcodeDocumentDEMedicalPlanSubheadingPrescription
,SBSDKBarcodeDocumentDEMedicalPlanSubheading
,SBSDKBarcodeDocumentDEMedicalPlan
,SBSDKBarcodeDocumentIDCardPDF417
,SBSDKBarcodeDocumentGS1Element
,SBSDKBarcodeDocumentGS1
,SBSDKBarcodeDocumentSEPA
,SBSDKBarcodeDocumentMedicalCertificate
,SBSDKBarcodeDocumentVCardEntry
,SBSDKBarcodeDocumentVCard
,SBSDKBarcodeDocumentAAMVATitleData
,SBSDKBarcodeDocumentAAMVARegistrationData
,SBSDKBarcodeDocumentAAMVAMotorCarrierData
,SBSDKBarcodeDocumentAAMVARegistrantAndVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleOwnerData
,SBSDKBarcodeDocumentAAMVAVehicleData
,SBSDKBarcodeDocumentAAMVAVehicleSafetyInspectionData
,SBSDKBarcodeDocumentAAMVADLID
,SBSDKBarcodeDocumentAAMVARawDocument
,SBSDKBarcodeDocumentAAMVA
. - Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added read-only, Key-Value observable property
pages
of type[SBSDKDocumentPage]
toSBSDKDocument
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
,SBSDKUIPDFRenderer
,SBSDKPDFRenderer
,SBSDKTIFFImageWriter
,SBSDKOpticalCharacterRecognizer
,SBSDKPDFPagesExtractor
andSBSDKTextLayoutRecognizer
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanners camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
.
- Added new property
- π Improvements:
- IMPORTANT: Changed the default backside cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- The health insurance card recognizer now implements the new scanbot OCR engine. The recognition is faster and more accurate than before.
- Added support of haptic feedback on capable devices.
- Made properties
polygon
,filter
,parametricFilters
,documentImageSizeLimit
,documentImage
,documentImageURL
,
documentPreviewImage
,documentPreviewImageURL
of classSBSDKDocumentPage
Key-Value observable. SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.
- π Bug fixes:
- Fixes a bug with the generic textline recognizer not returning multiline results.
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs.
β οΈ Breaking Changes:- Important: The default backfacing camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed functions captureJPEGStillImage to captureStillImage in
SBSDKBaseScannerViewController
(and all subclasses) and `SBSDKCameraSession'. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of it's children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
.
- π Under the hood:
- Updated third-party libraries zlib to version 1.3.1, libtiff to 4.6.0, libjpeg-turbo to 2.1.5.1, libpng to 1.6.40.