Skip to content

Releases: doo/scanbot-sdk-ios-spm

7.0.0-RC9

14 Feb 13:26
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • Added new classes SBSDKUIBarcodeAdditionalParameters, SBSDKDocumentQualityAnalyzerConfiguration.
    • Added a new property configuration to SBSDKDocumentQualityAnalyzer, SBSDKDocumentScannerViewController, SBSDKDocumentDetector, SBSDKHealthInsuranceCardRecognizerViewController, SBSDKMRZScannerViewController, SBSDKHealthInsuranceCardRecognizer, SBSDKDocumentDataExtractorViewController, SBSDKPDFRenderer`.
    • Added a new initializer init(configuration:) to SBSDKDocumentQualityAnalyzer and SBSDKHealthInsuranceCardRecognizer.
    • Added a new property textHintBadAspectRatio to SBSDKDocumentScannerStatusTextConfiguration.
    • Added new methods detectDocumentOnImage:, detectDocumentOnSampleBuffer:orientation:, detectDocumentOnFrame:useLiveMode: to SBSDKDocumentDetector.
    • Added new methods recognizeEHICOnImage:, recognizeEHICOnSampleBuffer:orientation: to SBSDKHealthInsuranceCardRecognizer.
    • Added new methods init?(configuration:delegate), init?(parentViewController: parentView: configuration: delegate) to SBSDKDocumentDataExtractorViewController.
    • Added a new class SBSDKDocumentDataExtractorConfiguration.
    • Added new methods extractDocument(from:useLiveMode:), resetDocumentAccumulation() to SBSDKDocumentDataExtractor.
    • Added a new class SBSDKDocumentDataExtractorConfigurationBuilder.
    • Added a new property scanningParameters to SBSDKMedicalCertificateScannerViewController.
    • Added a new class SBSDKMedicalCertificateScanningParameters.
    • Added a new method scanMedicalCertificateFromFrame:parameters: to SBSDKMedicalCertificateScanner.
    • Added new property ocrConfiguration to SBSDKPDFRenderer.
    • Added a new initializer initWithConfiguration:ocrConfiguration:encrypter: to SBSDKPDFRenderer.
    • Added a new class SBSDKDocumentDetectionResult.
    • Added a new class SBSDKImageRef.
    • Added a new class SBSDKBarcodeFormats.
    • Added a new class SBSDKBarcodeFormatCommonConfiguration.
    • Added a new class SBSDKDocumentQualityAnalyzerResult.
    • Added a new property imageRef to SBSDKImageProcessor.
    • Added new methods init(imageRef:), init(uiImage:), init?(imageURL:), applyFilter(:), applyFilters(_:), applyCrop(polygon:), applyCrop(points:), applyRotation(_:), applyResize(_:), applyFilter(_:, on:), applyFilters(_:, on:), applyCrop(polygon:, on:), applyCrop(points:, on), applyRotation(_:, on:) and applyResize(_:, on:) to SBSDKImageProcessor.
    • Added a new class SBSDKTextPatternScanner, SBSDKTextPatternScannerConfiguration, SBSDKTextPatternScannerResult.
    • Added a new property dateOfLastDetection to SBSDKBarcodeScannerAccumulatingResult.
    • Added a new Recognizer SBSDKCreditCardRecognizer which recognizes credit cards.
    • Added a new Classic UI component SBSDKCreditCardRecognizerViewController that allows you to recognize credit cards.
    • Added a new protocol SBSDKAdditionalFrameProcessing to allow additional frame processing before they are passed to the main scanner.
    • Added a new optional variable additionalFrameProcessor to SBSDKBaseScannerViewController.
    • Added a new property autoRotateImages to SBSDKUI2DocumentScannerCameraConfiguration.
    • Added new RTU-UI V2 component, see SBSDKUI2MRZScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2CreditCardScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2TextPatternScannerViewController.
    • Added a new SBSDKBarcodeScannerEngineMode called nextGenAr which is optimized for detecting multiple barcodes in live mode. In particular, bounding boxes of one-d barcodes are predicted as close as possible.
    • Added support of the health industry barcode document hibc as a barcode document format in SBSDKBarcodeDocumentFormat.
  • πŸš€ Improvements:
    • More robust QR code recognition, more tolerance for destroyed or missing timing patterns and alignment patterns and a better performance on artistic QR codes.
    • QR codes with non-square finder patterns and QR codes embedded in adversarial backgrounds (flow codes and more generally) can now be recognized.
    • Improved the false positive rate for ITF.
    • Improved quiet zone checks for the barcode formats ITF, CODE_11, MSI_PLESSEY, IATA_2_OF_5, INDUSTRIAL_2_OF_5, CODE_25.
    • Introduced a new engine mode nextGenLowPowerAr in SBSDKBarcodeScannerEngineMode that is optimized for scanning barcode batches on low-power devices.
    • Improved barcode detection for various barcode types.
    • Improved the overall recall on our internal synthetic dataset for four state postal barcodes (i.e. australiaPost, japanPost, royalMail, royalTntPost, uspsIntelligentMail) from 47% to 56%.
    • Improved our barcode scanner with a significant speed-up in live mode on very large input resolutions.
    • Introduced a boolean strictMode for certain barcode configurators. If this mode is disabled, it should allow for a higher detection rate in difficult scenarios, but with the possibility that false positive results may occur. Currently, we support strictMode for qrCode, microQrCode, rmqrCode, pdf417, microPdf417, and gs1Composite.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKUI2BarcodeScannerViewController where the flip camera button was not resetting the widest camera available if chosen.
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
    • Fixed a bug in SBSDKBarcodeScanAndCountViewController where the scanner will be stuck if there is no barcode detected.
    • Fixed a UI bug in SBSDKUI2BarcodeScannerViewController where the sheet button overlapped with the action bar.
    • Fixed a UI bug in SBSDKDocumentScannerViewController where accepted document's fillColor was not being removed when autoSnapProgress fillColor was being shown.
    • Fixed a UI bug in RTU-UI V2 Document Scanner, where the bar buttons were not properly greyed out when in disabled state.
    • Fixed returned results for all types of SBSDKUpcEanExtensionBehavior.
    • Fixed checksum for SBSDKBarcodeFormat.code39.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed method recognizeOnImage:orientation: in SBSDKCheckRecognizer.
    • Removed properties imageSizeLimit, minimumNumberOfSymbols in SBSDKDocumentQualityAnalyzer, please use the new configuration property.
    • Removed properties detectorMode, preferredAspectRatios, requiredAspectRatios, ignoreBadAspectRatio, acceptedAngleScore, acceptedSizeScore and acceptedBrightnessThreshold in SBSDKDocumentScannerViewController, please use the configuration property.
    • Removed properties defaultDetectorMode, acceptedSizeScore, acceptedAngleScore, acceptedBrightnessThreshold, currentTotalScore, currentSizeScore, currentWidthScore, currentHeightScore, currentAngleScore, currentDistanceScore, detectionMetrics, preferredAspectRatios, requiredAspectRatios, detectedHorizontalEdges, detectedVerticalEdges, detectorMode in SBSDKDocumentDetector, use the new configuration property instead.
    • Removed methods detectDocumentPolygonOnImage:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnImage:visibleImageRect:smoothingEnabled:, detectDocumentPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled: in SBSDKDocumentDetector.
    • Removed property recognizerParameters in SBSDKHealthInsuranceCardRecognizerViewController, use the new configuration property instead.
    • Removed property liveDetectionParameters in SBSDKHealthInsuranceCardRecognizer, use the new configuration property instead.
    • Removed methods recognizeOnStillImage:, recognizeOnVideoFrameImage:, `recognizeOnSampleBuffer:orientation...
Read more

6.1.2-RC3

13 Feb 15:44
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.
    • Added new property autoCropOnManualSnap to SBSDKDocumentScannerViewController and SBSDKUI2DocumentScannerCameraConfiguration to enable/disable the automatic cropping of the document after a manual snap.
    • Added new property croppingPolygonMagneticLineColor to SBSDKUI2CroppingScreenConfiguration to set the color of the magnetic lines in the cropping screen.
    • Added new property topBarTitle to SBSDKUI2AcknowledgementScreenConfiguration.
  • ⚠️ Breaking Changes:
    • Updated the type of the completion result parameter in SBSDKUI2CroppingViewController from SBSDKUI2CroppingResult to SBSDKUI2CroppingResult?. The completion now returns nil when the user cancels the cropping.
  • πŸš€ Improvements:
    • The generic document recognizer no longer needs the additional data bundle with OCR languages.
  • 🐞 Bug fixes:
    • Fixes layout when hiding the text of the close button on zooming in RTU-UIv2 document scanner.
    • Fixes a layout bug in the RTU-UIv2 cropping screens top bar.

7.0.0-RC8

10 Feb 11:19
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • Added new classes SBSDKUIBarcodeAdditionalParameters, SBSDKDocumentQualityAnalyzerConfiguration.
    • Added a new property configuration to SBSDKDocumentQualityAnalyzer, SBSDKDocumentScannerViewController, SBSDKDocumentDetector, SBSDKHealthInsuranceCardRecognizerViewController, SBSDKMRZScannerViewController, SBSDKHealthInsuranceCardRecognizer, SBSDKDocumentDataExtractorViewController, SBSDKPDFRenderer`.
    • Added a new initializer init(configuration:) to SBSDKDocumentQualityAnalyzer and SBSDKHealthInsuranceCardRecognizer.
    • Added a new property textHintBadAspectRatio to SBSDKDocumentScannerStatusTextConfiguration.
    • Added new methods detectDocumentOnImage:, detectDocumentOnSampleBuffer:orientation:, detectDocumentOnFrame:useLiveMode: to SBSDKDocumentDetector.
    • Added new methods recognizeEHICOnImage:, recognizeEHICOnSampleBuffer:orientation: to SBSDKHealthInsuranceCardRecognizer.
    • Added new methods init?(configuration:delegate), init?(parentViewController: parentView: configuration: delegate) to SBSDKDocumentDataExtractorViewController.
    • Added a new class SBSDKDocumentDataExtractorConfiguration.
    • Added new methods extractDocument(from:useLiveMode:), resetDocumentAccumulation() to SBSDKDocumentDataExtractor.
    • Added a new class SBSDKDocumentDataExtractorConfigurationBuilder.
    • Added a new property scanningParameters to SBSDKMedicalCertificateScannerViewController.
    • Added a new class SBSDKMedicalCertificateScanningParameters.
    • Added a new method scanMedicalCertificateFromFrame:parameters: to SBSDKMedicalCertificateScanner.
    • Added new property ocrConfiguration to SBSDKPDFRenderer.
    • Added a new initializer initWithConfiguration:ocrConfiguration:encrypter: to SBSDKPDFRenderer.
    • Added a new class SBSDKDocumentDetectionResult.
    • Added a new class SBSDKImageRef.
    • Added a new class SBSDKBarcodeFormats.
    • Added a new class SBSDKBarcodeFormatCommonConfiguration.
    • Added a new class SBSDKDocumentQualityAnalyzerResult.
    • Added a new property imageRef to SBSDKImageProcessor.
    • Added new methods init(imageRef:), init(uiImage:), init?(imageURL:), applyFilter(:), applyFilters(_:), applyCrop(polygon:), applyCrop(points:), applyRotation(_:), applyResize(_:), applyFilter(_:, on:), applyFilters(_:, on:), applyCrop(polygon:, on:), applyCrop(points:, on), applyRotation(_:, on:) and applyResize(_:, on:) to SBSDKImageProcessor.
    • Added a new class SBSDKTextPatternScanner, SBSDKTextPatternScannerConfiguration, SBSDKTextPatternScannerResult.
    • Added a new property dateOfLastDetection to SBSDKBarcodeScannerAccumulatingResult.
    • Added a new Recognizer SBSDKCreditCardRecognizer which recognizes credit cards.
    • Added a new Classic UI component SBSDKCreditCardRecognizerViewController that allows you to recognize credit cards.
    • Added a new protocol SBSDKAdditionalFrameProcessing to allow additional frame processing before they are passed to the main scanner.
    • Added a new optional variable additionalFrameProcessor to SBSDKBaseScannerViewController.
    • Added a new property autoRotateImages to SBSDKUI2DocumentScannerCameraConfiguration.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKUI2BarcodeScannerViewController where the flip camera button was not resetting the widest camera available if chosen.
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
    • Fixed a bug in SBSDKBarcodeScanAndCountViewController where the scanner will be stuck if there is no barcode detected.
    • Fixed a UI bug in SBSDKUI2BarcodeScannerViewController where the sheet button overlapped with the action bar.
    • Fixed a UI bug in SBSDKDocumentScannerViewController where accepted document's fillColor was not being removed when autoSnapProgress fillColor was being shown.
    • Fixed a UI bug in RTU-UI V2 Document Scanner, where the bar buttons were not properly greyed out when in disabled state.
    • Fixed returned results for all types of SBSDKUpcEanExtensionBehavior.
    • Fixed checksum for SBSDKBarcodeFormat.code39.
    • Added new RTU-UI V2 component, see SBSDKUI2MRZScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2CreditCardScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2TextPatternScannerViewController.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed method recognizeOnImage:orientation: in SBSDKCheckRecognizer.
    • Removed properties imageSizeLimit, minimumNumberOfSymbols in SBSDKDocumentQualityAnalyzer, please use the new configuration property.
    • Removed properties detectorMode, preferredAspectRatios, requiredAspectRatios, ignoreBadAspectRatio, acceptedAngleScore, acceptedSizeScore and acceptedBrightnessThreshold in SBSDKDocumentScannerViewController, please use the configuration property.
    • Removed properties defaultDetectorMode, acceptedSizeScore, acceptedAngleScore, acceptedBrightnessThreshold, currentTotalScore, currentSizeScore, currentWidthScore, currentHeightScore, currentAngleScore, currentDistanceScore, detectionMetrics, preferredAspectRatios, requiredAspectRatios, detectedHorizontalEdges, detectedVerticalEdges, detectorMode in SBSDKDocumentDetector, use the new configuration property instead.
    • Removed methods detectDocumentPolygonOnImage:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnImage:visibleImageRect:smoothingEnabled:, detectDocumentPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled: in SBSDKDocumentDetector.
    • Removed property recognizerParameters in SBSDKHealthInsuranceCardRecognizerViewController, use the new configuration property instead.
    • Removed property liveDetectionParameters in SBSDKHealthInsuranceCardRecognizer, use the new configuration property instead.
    • Removed methods recognizeOnStillImage:, recognizeOnVideoFrameImage:, recognizeOnSampleBuffer:orientation:, recognizeOnSampleBuffer:searchInRect:orientation: in SBSDKHealthInsuranceCardRecognizer.
    • Removed properties acceptedDocumentTypes, resultAccumulatorConfiguration, excludedFieldTypes in SBSDKDocumentDataExtractorViewController, use the new configuration property instead.
    • Removed methods init?(acceptedDocumentTypes:excludedFieldTypes:delegate:), init?(parentViewController:parentView:delegate:), init() from SBSDKDocumentDataExtractorViewController.
    • Removed properties acceptedDocumentTypes, excludedFieldTypes, resultAccumulatorConfiguration in SBSDKDocumentDataExtractor, use the new init(configuration:) initializer instead.
    • Removed methods init(), init(acceptedDocumentTypes:) from SBSDKDocumentDataExtractor.
    • Removed properties maxNumberOfAccumulatedResults, requiredNumberOfEqualAccumulatedResults in SBSDKMRZScannerViewController, use the new configuration property instead.
    • Removed property recognitionOptions in SBSDKMedicalCertificateRecognizer.
    • Removed initializer initWithConfigurationOptions: in SBSDKMedicalCertificateRecognizer.
    • Removed property options in SBSDKPDFRenderer.
    • Removed initializer initWithOptions:encrypter: in SBSDKPDFRenderer.
    • Removed method write(to:format:compression:) in SBSDKImageProcessor.
    • Removed class SBSDKVehicleIdentificationNumberScanner, SBSDKVehicleIdentificationNumberScannerConfiguration, SBSDKVehicleIdentificationNumberScannerResult, please use SBSDKTextPatternScanner instead.
    • Removed class SBSDKTIFFImageWriterCompressionOptions, please use the new SBSDKCompressionMode class.
    • Removed class SBSDKTIFFImageWriterParameters, please use...
Read more

5.1.8-Beta3

06 Feb 09:20
Compare
Choose a tag to compare

WARNING: Release Notes for version 5.1.8 not found!

7.0.0-RC7

04 Feb 16:47
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • Added new classes SBSDKUIBarcodeAdditionalParameters, SBSDKDocumentQualityAnalyzerConfiguration.
    • Added a new property configuration to SBSDKDocumentQualityAnalyzer, SBSDKDocumentScannerViewController, SBSDKDocumentDetector, SBSDKHealthInsuranceCardRecognizerViewController, SBSDKMRZScannerViewController, SBSDKHealthInsuranceCardRecognizer, SBSDKDocumentDataExtractorViewController, SBSDKPDFRenderer`.
    • Added a new initializer init(configuration:) to SBSDKDocumentQualityAnalyzer and SBSDKHealthInsuranceCardRecognizer.
    • Added a new property textHintBadAspectRatio to SBSDKDocumentScannerStatusTextConfiguration.
    • Added new methods detectDocumentOnImage:, detectDocumentOnSampleBuffer:orientation:, detectDocumentOnFrame:useLiveMode: to SBSDKDocumentDetector.
    • Added new methods recognizeEHICOnImage:, recognizeEHICOnSampleBuffer:orientation: to SBSDKHealthInsuranceCardRecognizer.
    • Added new methods init?(configuration:delegate), init?(parentViewController: parentView: configuration: delegate) to SBSDKDocumentDataExtractorViewController.
    • Added a new class SBSDKDocumentDataExtractorConfiguration.
    • Added new methods extractDocument(from:useLiveMode:), resetDocumentAccumulation() to SBSDKDocumentDataExtractor.
    • Added a new class SBSDKDocumentDataExtractorConfigurationBuilder.
    • Added a new property scanningParameters to SBSDKMedicalCertificateScannerViewController.
    • Added a new class SBSDKMedicalCertificateScanningParameters.
    • Added a new method scanMedicalCertificateFromFrame:parameters: to SBSDKMedicalCertificateScanner.
    • Added new property ocrConfiguration to SBSDKPDFRenderer.
    • Added a new initializer initWithConfiguration:ocrConfiguration:encrypter: to SBSDKPDFRenderer.
    • Added a new class SBSDKDocumentDetectionResult.
    • Added a new class SBSDKImageRef.
    • Added a new class SBSDKBarcodeFormats.
    • Added a new class SBSDKBarcodeFormatCommonConfiguration.
    • Added a new class SBSDKDocumentQualityAnalyzerResult.
    • Added a new property imageRef to SBSDKImageProcessor.
    • Added new methods init(imageRef:), init(uiImage:), init?(imageURL:), applyFilter(:), applyFilters(_:), applyCrop(polygon:), applyCrop(points:), applyRotation(_:), applyResize(_:), applyFilter(_:, on:), applyFilters(_:, on:), applyCrop(polygon:, on:), applyCrop(points:, on), applyRotation(_:, on:) and applyResize(_:, on:) to SBSDKImageProcessor.
    • Added a new class SBSDKTextPatternScanner, SBSDKTextPatternScannerConfiguration, SBSDKTextPatternScannerResult.
    • Added a new property dateOfLastDetection to SBSDKBarcodeScannerAccumulatingResult.
    • Added a new Recognizer SBSDKCreditCardRecognizer which recognizes credit cards.
    • Added a new Classic UI component SBSDKCreditCardRecognizerViewController that allows you to recognize credit cards.
    • Added a new protocol SBSDKAdditionalFrameProcessing to allow additional frame processing before they are passed to the main scanner.
    • Added a new optional variable additionalFrameProcessor to SBSDKBaseScannerViewController.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKUI2BarcodeScannerViewController where the flip camera button was not resetting the widest camera available if chosen.
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
    • Fixed a bug in SBSDKBarcodeScanAndCountViewController where the scanner will be stuck if there is no barcode detected.
    • Fixed a UI bug in SBSDKUI2BarcodeScannerViewController where the sheet button overlapped with the action bar.
    • Fixed a UI bug in SBSDKDocumentScannerViewController where accepted document's fillColor was not being removed when autoSnapProgress fillColor was being shown.
    • Fixed a UI bug in RTU-UI V2 Document Scanner, where the bar buttons were not properly greyed out when in disabled state.
    • Fixed returned results for all types of SBSDKUpcEanExtensionBehavior.
    • Fixed checksum for SBSDKBarcodeFormat.code39.
    • Added new RTU-UI V2 component, see SBSDKUI2MRZScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2CreditCardScannerViewController.
    • Added new RTU-UI V2 component, see SBSDKUI2TextPatternScannerViewController.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed method recognizeOnImage:orientation: in SBSDKCheckRecognizer.
    • Removed properties imageSizeLimit, minimumNumberOfSymbols in SBSDKDocumentQualityAnalyzer, please use the new configuration property.
    • Removed properties detectorMode, preferredAspectRatios, requiredAspectRatios, ignoreBadAspectRatio, acceptedAngleScore, acceptedSizeScore and acceptedBrightnessThreshold in SBSDKDocumentScannerViewController, please use the configuration property.
    • Removed properties defaultDetectorMode, acceptedSizeScore, acceptedAngleScore, acceptedBrightnessThreshold, currentTotalScore, currentSizeScore, currentWidthScore, currentHeightScore, currentAngleScore, currentDistanceScore, detectionMetrics, preferredAspectRatios, requiredAspectRatios, detectedHorizontalEdges, detectedVerticalEdges, detectorMode in SBSDKDocumentDetector, use the new configuration property instead.
    • Removed methods detectDocumentPolygonOnImage:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnImage:visibleImageRect:smoothingEnabled:, detectDocumentPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled: in SBSDKDocumentDetector.
    • Removed property recognizerParameters in SBSDKHealthInsuranceCardRecognizerViewController, use the new configuration property instead.
    • Removed property liveDetectionParameters in SBSDKHealthInsuranceCardRecognizer, use the new configuration property instead.
    • Removed methods recognizeOnStillImage:, recognizeOnVideoFrameImage:, recognizeOnSampleBuffer:orientation:, recognizeOnSampleBuffer:searchInRect:orientation: in SBSDKHealthInsuranceCardRecognizer.
    • Removed properties acceptedDocumentTypes, resultAccumulatorConfiguration, excludedFieldTypes in SBSDKDocumentDataExtractorViewController, use the new configuration property instead.
    • Removed methods init?(acceptedDocumentTypes:excludedFieldTypes:delegate:), init?(parentViewController:parentView:delegate:), init() from SBSDKDocumentDataExtractorViewController.
    • Removed properties acceptedDocumentTypes, excludedFieldTypes, resultAccumulatorConfiguration in SBSDKDocumentDataExtractor, use the new init(configuration:) initializer instead.
    • Removed methods init(), init(acceptedDocumentTypes:) from SBSDKDocumentDataExtractor.
    • Removed properties maxNumberOfAccumulatedResults, requiredNumberOfEqualAccumulatedResults in SBSDKMRZScannerViewController, use the new configuration property instead.
    • Removed property recognitionOptions in SBSDKMedicalCertificateRecognizer.
    • Removed initializer initWithConfigurationOptions: in SBSDKMedicalCertificateRecognizer.
    • Removed property options in SBSDKPDFRenderer.
    • Removed initializer initWithOptions:encrypter: in SBSDKPDFRenderer.
    • Removed method write(to:format:compression:) in SBSDKImageProcessor.
    • Removed class SBSDKVehicleIdentificationNumberScanner, SBSDKVehicleIdentificationNumberScannerConfiguration, SBSDKVehicleIdentificationNumberScannerResult, please use SBSDKTextPatternScanner instead.
    • Removed class SBSDKTIFFImageWriterCompressionOptions, please use the new SBSDKCompressionMode class.
    • Removed class SBSDKTIFFImageWriterParameters, please use the new SBSDKTIFFWriterParameters class.
    • Removed class `SBSDKTIFFImageWriterUserDefine...
Read more

6.2.1-Beta1

27 Jan 18:03
Compare
Choose a tag to compare

WARNING: Release Notes for version 6.2.1 not found!

6.2.0

24 Jan 10:27
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added support for encryption/decryption of images and PDFs using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See SBSDKAESGCMEncrypter class.
    • Added support for encryption key derivation using PBKDF2, HKDF and Random key derivation on both the standard AES encrypter (SBSDKAESEncrypter) and the new AES-GCM encrypter (SBSDKAESGCMEncrypter) with variable key lengths (128 and 256 bits). See the new protocol SBSDKStorageCryptingKeyGenerator and the new classes SBSDKRandomKeyGenerator, SBSDKPBKDF2KeyGenerator and SBSDKHKDFKeyGenerator.
    • Added protocol-based support for encryption key management. See the new protocol SBSDKStorageCryptingKeyProvider and the new class SBSDKVolatileKeyProvider.
    • Added new class SBSDKVolatileKeyProvider that stores, restores and deletes keys in memory per context. For a persistent storage, e.g. in the keychain or in a file, you can implement your own key provider by conforming to the SBSDKStorageCryptingKeyProvider protocol.
    • Added support for encryption/decryption on a encryption-key-per-context base. See SBSDKStorageCryptingKeyProvider and SBSDKStorageCrypting.
    • When storing files in image storages, with the PDF renderer, or the TIFF writer, a context in the form of the file URL is being passed to the encrypter APIs to allow for context-based key derivation.
    • Added new property autoCropOnManualSnap to SBSDKDocumentScannerViewController and SBSDKUI2DocumentScannerCameraConfiguration to enable/disable the automatic cropping of the document after a manual snap.
    • Added new property croppingPolygonMagneticLineColor to SBSDKUI2CroppingScreenConfiguration to set the color of the magnetic lines in the cropping screen.
    • Added compliance to NSCopying protocol to SBSDKScannedDocument.
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.
    • Added new property topBarTitle to SBSDKUI2AcknowledgementScreenConfiguration.
  • πŸš€ Improvements:
    • The Generic Document Recognizer no longer needs the additional data bundle with OCR languages.
    • The Generic Document Recognizer now returns ID number (document number field) and sequence number (personal number field) separately for pre-2022 Costa Rican passports.
  • 🐞 Bug fixes:
    • Fixed layout when hiding the text of the close button on zooming in RTU-UI v2 Document Scanner.
    • Fixed a layout bug in the RTU-UI v2 cropping screen's top bar.
    • Fixed a bug in the barcode RTU-UI v2 action bar items where the accessibilityDescription was not being applied correctly.
  • πŸš™ Under the hood:
    • Removed third-party-library symbols from the binary to avoid linking conflicts.

7.0.0-Beta6

23 Jan 14:56
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • Added new classes SBSDKUIBarcodeAdditionalParameters, SBSDKDocumentQualityAnalyzerConfiguration.
    • Added a new property configuration to SBSDKDocumentQualityAnalyzer, SBSDKDocumentScannerViewController, SBSDKDocumentDetector, SBSDKHealthInsuranceCardRecognizerViewController, SBSDKMRZScannerViewController, SBSDKHealthInsuranceCardRecognizer, SBSDKDocumentDataExtractorViewController, SBSDKPDFRenderer`.
    • Added a new initializer init(configuration:) to SBSDKDocumentQualityAnalyzer and SBSDKHealthInsuranceCardRecognizer.
    • Added a new property textHintBadAspectRatio to SBSDKDocumentScannerStatusTextConfiguration.
    • Added new methods detectDocumentOnImage:, detectDocumentOnSampleBuffer:orientation:, detectDocumentOnFrame:useLiveMode: to SBSDKDocumentDetector.
    • Added new methods recognizeEHICOnImage:, recognizeEHICOnSampleBuffer:orientation: to SBSDKHealthInsuranceCardRecognizer.
    • Added new methods init?(configuration:delegate), init?(parentViewController: parentView: configuration: delegate) to SBSDKDocumentDataExtractorViewController.
    • Added a new class SBSDKDocumentDataExtractorConfiguration.
    • Added new methods extractDocument(from:useLiveMode:), resetDocumentAccumulation() to SBSDKDocumentDataExtractor.
    • Added a new class SBSDKDocumentDataExtractorConfigurationBuilder.
    • Added a new property scanningParameters to SBSDKMedicalCertificateScannerViewController.
    • Added a new class SBSDKMedicalCertificateScanningParameters.
    • Added a new method scanMedicalCertificateFromFrame:parameters: to SBSDKMedicalCertificateScanner.
    • Added new property ocrConfiguration to SBSDKPDFRenderer.
    • Added a new initializer initWithConfiguration:ocrConfiguration:encrypter: to SBSDKPDFRenderer.
    • Added a new class SBSDKDocumentDetectionResult.
    • Added a new class SBSDKImageRef.
    • Added a new class SBSDKBarcodeFormats.
    • Added a new class SBSDKBarcodeFormatCommonConfiguration.
    • Added a new class SBSDKDocumentQualityAnalyzerResult.
    • Added a new property imageRef to SBSDKImageProcessor.
    • Added new methods init(imageRef:), init(uiImage:), init?(imageURL:), applyFilter(:), applyFilters(_:), applyCrop(polygon:), applyCrop(points:), applyRotation(_:), applyResize(_:), applyFilter(_:, on:), applyFilters(_:, on:), applyCrop(polygon:, on:), applyCrop(points:, on), applyRotation(_:, on:) and applyResize(_:, on:) to SBSDKImageProcessor.
    • Added a new class SBSDKTextPatternScanner, SBSDKTextPatternScannerConfiguration, SBSDKTextPatternScannerResult.
    • Added a new property dateOfLastDetection to SBSDKBarcodeScannerAccumulatingResult.
    • Added a new Recognizer SBSDKCreditCardRecognizer which recognizes credit cards.
    • Added a new Classic UI component SBSDKCreditCardRecognizerViewController that allows you to recognize credit cards.
    • Added a new protocol SBSDKAdditionalFrameProcessing to allow additional frame processing before they are passed to the main scanner.
    • Added a new optional variable additionalFrameProcessor to SBSDKBaseScannerViewController.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKUI2BarcodeScannerViewController where the flip camera button was not resetting the widest camera available if chosen.
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
    • Fixed a bug in SBSDKBarcodeScanAndCountViewController where the scanner will be stuck if there is no barcode detected.
    • Fixed a UI bug in SBSDKUI2BarcodeScannerViewController where the sheet button overlapped with the action bar.
    • Fixed a UI bug in SBSDKDocumentScannerViewController where accepted document's fillColor was not being removed when autoSnapProgress fillColor was being shown.
    • Fixed a UI bug in RTU-UI V2 Document Scanner, where the bar buttons were not properly greyed out when in disabled state.
    • Fixed returned results for all types of SBSDKUpcEanExtensionBehavior.
    • Fixed checksum for SBSDKBarcodeFormat.code39.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed method recognizeOnImage:orientation: in SBSDKCheckRecognizer.
    • Removed properties imageSizeLimit, minimumNumberOfSymbols in SBSDKDocumentQualityAnalyzer, please use the new configuration property.
    • Removed properties detectorMode, preferredAspectRatios, requiredAspectRatios, ignoreBadAspectRatio, acceptedAngleScore, acceptedSizeScore and acceptedBrightnessThreshold in SBSDKDocumentScannerViewController, please use the configuration property.
    • Removed properties defaultDetectorMode, acceptedSizeScore, acceptedAngleScore, acceptedBrightnessThreshold, currentTotalScore, currentSizeScore, currentWidthScore, currentHeightScore, currentAngleScore, currentDistanceScore, detectionMetrics, preferredAspectRatios, requiredAspectRatios, detectedHorizontalEdges, detectedVerticalEdges, detectorMode in SBSDKDocumentDetector, use the new configuration property instead.
    • Removed methods detectDocumentPolygonOnImage:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnImage:visibleImageRect:smoothingEnabled:, detectDocumentPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled:useLiveDetectionParameters:, detectPhotoPolygonOnSampleBuffer:visibleImageRect:smoothingEnabled: in SBSDKDocumentDetector.
    • Removed property recognizerParameters in SBSDKHealthInsuranceCardRecognizerViewController, use the new configuration property instead.
    • Removed property liveDetectionParameters in SBSDKHealthInsuranceCardRecognizer, use the new configuration property instead.
    • Removed methods recognizeOnStillImage:, recognizeOnVideoFrameImage:, recognizeOnSampleBuffer:orientation:, recognizeOnSampleBuffer:searchInRect:orientation: in SBSDKHealthInsuranceCardRecognizer.
    • Removed properties acceptedDocumentTypes, resultAccumulatorConfiguration, excludedFieldTypes in SBSDKDocumentDataExtractorViewController, use the new configuration property instead.
    • Removed methods init?(acceptedDocumentTypes:excludedFieldTypes:delegate:), init?(parentViewController:parentView:delegate:), init() from SBSDKDocumentDataExtractorViewController.
    • Removed properties acceptedDocumentTypes, excludedFieldTypes, resultAccumulatorConfiguration in SBSDKDocumentDataExtractor, use the new init(configuration:) initializer instead.
    • Removed methods init(), init(acceptedDocumentTypes:) from SBSDKDocumentDataExtractor.
    • Removed properties maxNumberOfAccumulatedResults, requiredNumberOfEqualAccumulatedResults in SBSDKMRZScannerViewController, use the new configuration property instead.
    • Removed property recognitionOptions in SBSDKMedicalCertificateRecognizer.
    • Removed initializer initWithConfigurationOptions: in SBSDKMedicalCertificateRecognizer.
    • Removed property options in SBSDKPDFRenderer.
    • Removed initializer initWithOptions:encrypter: in SBSDKPDFRenderer.
    • Removed method write(to:format:compression:) in SBSDKImageProcessor.
    • Removed class SBSDKVehicleIdentificationNumberScanner, SBSDKVehicleIdentificationNumberScannerConfiguration, SBSDKVehicleIdentificationNumberScannerResult, please use SBSDKTextPatternScanner instead.
    • Removed class SBSDKTIFFImageWriterCompressionOptions, please use the new SBSDKCompressionMode class.
    • Removed class SBSDKTIFFImageWriterParameters, please use the new SBSDKTIFFWriterParameters class.
    • Removed class SBSDKTIFFImageWriterUserDefinedField, please use the new SBSDKUserField class.
    • Removed class SBSDKTIFFImageWriterUserDefinedFieldType, please use the new SBSDKUserFieldValue class.
    • Removed class SBSDKDocumentDetectorResult, please use the new `SBSDKDocu...
Read more

5.1.8-Beta2

21 Jan 14:37
Compare
Choose a tag to compare

WARNING: Release Notes for version 5.1.8 not found!

6.2.0-RC6

16 Jan 15:17
Compare
Choose a tag to compare
  • πŸŽ‰ New:
    • Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See SBSDKAESGCMEncrypter class.
    • Added support for encryption key derivation using PBKDF2, HKDF and Random key derivation on both the standard AES encrypter (SBSDKAESEncrypter) and the new AES-GCM encrypter (SBSDKAESGCMEncrypter) with variable key lengths (128 and 256 bits). See the new protocol SBSDKStorageCryptingKeyGenerator and the new classes SBSDKRandomKeyGenerator, SBSDKPBKDF2KeyGenerator and SBSDKHKDFKeyGenerator.
    • Added protocol-based support for encryption key management. See the new protocol SBSDKStorageCryptingKeyProvider and the new class SBSDKVolatileKeyProvider.
    • Added new class SBSDKVolatileKeyProvider that stores, restores and deletes keys in memory per context. For a persistent storage, e.g. in the keychain or in a file, you can implement your own key provider by conforming to the SBSDKStorageCryptingKeyProvider protocol.
    • Added support for encryption/decryption on a encryption-key-per-context base. See SBSDKStorageCryptingKeyProvider and SBSDKStorageCrypting.
    • When storing files in image storages, with the PDF renderer, or the TIFF writer, a context in the form of the file URL is being passed to the encrypter APIs to allow for context-based key derivation.
    • Added new property autoCropOnManualSnap to SBSDKDocumentScannerViewController and SBSDKUI2DocumentScannerCameraConfiguration to enable/disable the automatic cropping of the document after a manual snap.
    • Added new property croppingPolygonMagneticLineColor to SBSDKUI2CroppingScreenConfiguration to set the color of the magnetic lines in the cropping screen.
    • Added compliance to NSCopying protocol to `SBSDKScannedDocument'.
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.
    • Added new property topBarTitle to SBSDKUI2AcknowledgementScreenConfiguration.
  • πŸš€ Improvements:
    • The generic document recognizer no longer needs the additional data bundle with OCR languages.
    • Generic document recognizer now returns ID number (document number field) and sequence number (personal number field) separately for pre-2022 Costa Rican passports.
  • 🐞 Bug fixes:
    • Fixes layout when hiding the text of the close button on zooming in RTU-UIv2 document scanner.
    • Fixes a layout bug in the RTU-UIv2 cropping screens top bar.
    • Fixes a bug in the barcode RTU-UIv2 action bar items where the accessibilityDescription was not being applied correctly.
  • πŸš™ Under the hood:
    • Removed third-party-library symbols from the binary to avoid linking conflicts.