scanbot-web-sdk 6.0.0-dev.6 → 7.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/barcode-scanner-view.d.ts +1 -1
- package/@types/core/bridge/compiled/{BarcodeConfigs.d.ts → BarcodeConfigurationTypes.d.ts} +558 -173
- package/@types/core/bridge/compiled/BarcodeDocumentModel.d.ts +1421 -0
- package/@types/core/bridge/compiled/BarcodeDocumentTypes.d.ts +14 -13
- package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +25 -14
- package/@types/core/bridge/compiled/BarcodeTypes.d.ts +58 -56
- package/@types/core/bridge/compiled/CheckDocumentModel.d.ts +130 -0
- package/@types/core/bridge/compiled/CheckScannerTypes.d.ts +67 -0
- package/@types/core/bridge/compiled/CommonFieldType.d.ts +29 -28
- package/@types/core/bridge/compiled/CreditCardDocumentModel.d.ts +16 -0
- package/@types/core/bridge/compiled/CreditCardTypes.d.ts +35 -33
- package/@types/core/bridge/compiled/DocumentDataExtractorConfigurationTypes.d.ts +148 -0
- package/@types/core/bridge/compiled/DocumentDataExtractorTypes.d.ts +90 -0
- package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +28 -23
- package/@types/core/bridge/compiled/{DocumentDetectorTypes.d.ts → DocumentScannerTypes.d.ts} +49 -47
- package/@types/core/bridge/compiled/DocumentsModel.d.ts +489 -0
- package/@types/core/bridge/compiled/{EhicTypes.d.ts → EuropeanHealthInsuranceCardTypes.d.ts} +51 -108
- package/@types/core/bridge/compiled/FrameAccumulationTypes.d.ts +37 -14
- package/@types/core/bridge/compiled/GenericDocument.d.ts +17 -17
- package/@types/core/bridge/compiled/Geometry.d.ts +2 -2
- package/@types/core/bridge/compiled/ImageTypes.d.ts +1 -0
- package/@types/core/bridge/compiled/LicensePlateScannerTypes.d.ts +20 -19
- package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +108 -105
- package/@types/core/bridge/compiled/MrzTypes.d.ts +73 -0
- package/@types/core/bridge/compiled/ParametricFilters.d.ts +4 -3
- package/@types/core/bridge/compiled/{PdfConfig.d.ts → PdfConfigurationTypes.d.ts} +48 -45
- package/@types/core/bridge/compiled/{GenericTextLineScannerTypes.d.ts → TextPatternScannerTypes.d.ts} +20 -39
- package/@types/core/bridge/compiled/TiffTypes.d.ts +48 -50
- package/@types/core/bridge/compiled/VinScannerTypes.d.ts +79 -0
- package/@types/core/bridge/worker-bridge.d.ts +512 -374
- package/@types/core/worker/ScanbotSDK.Core.d.ts +28 -22
- package/@types/core-types.d.ts +15 -12
- package/@types/cropping-view.d.ts +8 -4
- package/@types/document-data-extractor-view.d.ts +22 -0
- package/@types/document-scanner-view.d.ts +16 -7
- package/@types/index.d.ts +37 -24
- package/@types/interfaces/i-cropping-view-handle.d.ts +2 -0
- package/@types/interfaces/i-document-data-extractor-scanner-handle.d.ts +3 -0
- package/@types/interfaces/{i-text-data-scanner-handle.d.ts → i-text-pattern-scanner-handle.d.ts} +1 -1
- package/@types/model/configuration/barcode-scanner-configuration.d.ts +1 -0
- package/@types/model/configuration/cropping-view-configuration.d.ts +1 -0
- package/@types/model/configuration/document-data-extractor-configuration.d.ts +9 -0
- package/@types/model/configuration/document-scanner-configuration.d.ts +8 -4
- package/@types/model/configuration/initialization-options.d.ts +1 -2
- package/@types/model/configuration/mrz-scanner-configuration.d.ts +4 -4
- package/@types/model/configuration/selection-overlay-configuration.d.ts +5 -0
- package/@types/model/configuration/text-pattern-scanner-configuration.d.ts +9 -0
- package/@types/model/configuration/view-finder-scanner-configuration.d.ts +2 -1
- package/@types/model/configuration/vin-scanner-configuration.d.ts +4 -4
- package/@types/scanbot-sdk.d.ts +276 -210
- package/@types/scanner-view.d.ts +2 -0
- package/@types/service/document-data-extractor.d.ts +13 -0
- package/@types/service/ocr-engine.d.ts +3 -3
- package/@types/service/pdf-generator.d.ts +6 -1
- package/@types/service/simple-mrz-recognizer.d.ts +4 -4
- package/@types/service/storage/indexed-db/sb-indexed-db.d.ts +60 -0
- package/@types/service/storage/local/sb-local-storage.d.ts +11 -0
- package/@types/service/storage/sb-storage.d.ts +33 -0
- package/@types/service/storage/utils/create-worker-vite.d.ts +1 -0
- package/@types/service/storage/utils/create-worker.d.ts +1 -0
- package/@types/service/storage/utils/sb-storage-error.d.ts +5 -0
- package/@types/service/storage/utils/sb-storage-utils.d.ts +10 -0
- package/@types/service/text-pattern-scanner.d.ts +14 -0
- package/@types/service/tiff-generator.d.ts +7 -4
- package/@types/service/vin-scanner.d.ts +16 -0
- package/@types/{text-data-scanner-view.d.ts → text-pattern-scanner-view.d.ts} +10 -10
- package/@types/ui2/{controllers → barcode/controllers}/barcode-scanner-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/multiple-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/single-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{model → barcode/model}/counted-barcodes.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/expected-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/i-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/user-barcode-mapper.d.ts +1 -1
- package/@types/ui2/{utils → barcode/utils}/camera-config.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/styled-badge.d.ts +3 -1
- package/@types/ui2/{utils → barcode/utils}/styled-box.d.ts +1 -1
- package/@types/ui2/barcode/utils/styled-button.d.ts +14 -0
- package/@types/ui2/{utils → barcode/utils}/useScanningViewSize.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/action-button/action-button-container.d.ts +3 -3
- package/@types/ui2/{views → barcode/views}/action-button/action-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/ar/ar-badge.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/ar-overlay-barcode-info.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/vertical-positions.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/barcode-info/barcode-info.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/barcode-scanner.d.ts +8 -8
- package/@types/ui2/{views → barcode/views}/camera-permission-denied.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-info-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-mapping-error-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/confirmation-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/styled-dialog.d.ts +1 -0
- package/@types/ui2/{views → barcode/views}/dialog/count-edit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/find-and-pick-submit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-drawer.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-sidebar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/counting-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/hooks/use-drag-listener.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list-item.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/drawer-header-content.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/swipe-underlay.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/form/dialog-button.d.ts +4 -1
- package/@types/ui2/{views → barcode/views}/navigation-bar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/styled-text.d.ts +2 -1
- package/@types/ui2/configuration/DocumentQualityAnalyzerTypes.d.ts +1 -0
- package/@types/ui2/configuration/DocumentScannerTypes.d.ts +1 -0
- package/@types/ui2/configuration/Geometry.d.ts +1 -1
- package/@types/ui2/configuration/ParametricFilters.d.ts +1 -0
- package/@types/ui2/configuration/{ActionBarConfiguration.d.ts → barcode/ActionBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ArTrackingOverlayConfiguration.d.ts → barcode/ArTrackingOverlayConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeInfoMapping.d.ts → barcode/BarcodeInfoMapping.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeRecognizerConfiguration.d.ts → barcode/BarcodeRecognizerConfiguration.d.ts} +3 -3
- package/@types/ui2/configuration/{BarcodeScannerConfiguration.d.ts → barcode/BarcodeScannerConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeScannerTypes.d.ts +2 -0
- package/@types/ui2/configuration/{BarcodeScannerUIResult.d.ts → barcode/BarcodeScannerUIResult.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeTextLocalization.d.ts → barcode/BarcodeTextLocalization.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeTypes.d.ts +1 -0
- package/@types/ui2/configuration/{CameraConfiguration.d.ts → barcode/CameraConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{CameraPermission.d.ts → barcode/CameraPermission.d.ts} +1 -1
- package/@types/ui2/configuration/{Common.d.ts → barcode/Common.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/CommonFieldType.d.ts +1 -0
- package/@types/ui2/configuration/{FindAndPickScanningModeUseCase.d.ts → barcode/FindAndPickScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/GenericDocument.d.ts +1 -0
- package/@types/ui2/configuration/barcode/Geometry.d.ts +1 -0
- package/@types/ui2/configuration/{MultipleScanningModeUseCase.d.ts → barcode/MultipleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{ScanbotAlertDialog.d.ts → barcode/ScanbotAlertDialog.d.ts} +1 -1
- package/@types/ui2/configuration/{SingleScanningModeUseCase.d.ts → barcode/SingleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{TopBarConfiguration.d.ts → barcode/TopBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{UserGuidanceConfiguration.d.ts → barcode/UserGuidanceConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ViewFinderConfiguration.d.ts → barcode/ViewFinderConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/common/ActionBarConfiguration.d.ts +42 -0
- package/@types/ui2/configuration/common/CameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/common/CameraPermission.d.ts +62 -0
- package/@types/ui2/configuration/common/Common.d.ts +467 -0
- package/@types/ui2/configuration/common/NavigationBarConfiguration.d.ts +11 -0
- package/@types/ui2/configuration/common/ScanbotAlertDialog.d.ts +74 -0
- package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +55 -0
- package/@types/ui2/configuration/common/UserGuidanceConfiguration.d.ts +64 -0
- package/@types/ui2/configuration/common/ViewFinderConfiguration.d.ts +93 -0
- package/@types/ui2/configuration/document/AcknowledgementScreenConfiguration.d.ts +125 -0
- package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +659 -0
- package/@types/ui2/configuration/document/CroppingConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingResult.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingScreenConfiguration.d.ts +141 -0
- package/@types/ui2/configuration/document/CroppingTextLocalization.d.ts +1 -0
- package/@types/ui2/configuration/document/DocumentScannerCameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/document/DocumentScannerGuidanceVisibility.d.ts +11 -0
- package/@types/ui2/configuration/document/DocumentScannerOutputSettings.d.ts +38 -0
- package/@types/ui2/configuration/document/DocumentScannerScreens.d.ts +26 -0
- package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +608 -0
- package/@types/ui2/configuration/document/DocumentScannerUIResult.d.ts +5 -0
- package/@types/ui2/configuration/document/DocumentScannerUserGuidance.d.ts +99 -0
- package/@types/ui2/configuration/document/DocumentScanningFlow.d.ts +91 -0
- package/@types/ui2/configuration/document/IntroductionScreenConfiguration.d.ts +188 -0
- package/@types/ui2/configuration/document/ReorderPagesScreenConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/ReviewScreenConfiguration.d.ts +372 -0
- package/@types/ui2/configuration/native/DocumentData.d.ts +37 -0
- package/@types/ui2/configuration/native/PageData.d.ts +58 -0
- package/@types/ui2/configuration/native/PageImageSource.d.ts +13 -0
- package/@types/ui2/configuration/utils.d.ts +8 -0
- package/@types/ui2/configuration.d.ts +46 -21
- package/@types/ui2/document/assets/auto-capture-disabled-icon.d.ts +4 -0
- package/@types/ui2/document/assets/auto-capture-icon.d.ts +4 -0
- package/@types/ui2/document/assets/captured-circle-icon.d.ts +5 -0
- package/@types/ui2/document/assets/delete-icon.d.ts +4 -0
- package/@types/ui2/document/assets/file-add-icon.d.ts +4 -0
- package/@types/ui2/document/assets/image-error-icon.d.ts +5 -0
- package/@types/ui2/document/assets/image-retake.d.ts +4 -0
- package/@types/ui2/document/assets/loading-spinner-icon.d.ts +2 -0
- package/@types/ui2/document/assets/shutter-button-auto-icon.d.ts +4 -0
- package/@types/ui2/document/assets/shutter-button-manual-icon.d.ts +5 -0
- package/@types/ui2/document/assets/shutter-button-spinner-icon.d.ts +4 -0
- package/@types/ui2/document/assets/the-hand.d.ts +10 -0
- package/@types/ui2/document/controller/acknowledgment-screen-controller.d.ts +16 -0
- package/@types/ui2/document/controller/camera-screen-controller.d.ts +20 -0
- package/@types/ui2/document/controller/cropping-screen-controller.d.ts +14 -0
- package/@types/ui2/document/controller/document-scanner-controller.d.ts +14 -0
- package/@types/ui2/document/controller/review-screen-controller.d.ts +18 -0
- package/@types/ui2/document/controller/zoom-screen-controller.d.ts +11 -0
- package/@types/ui2/document/model/document-detection-ui-result.d.ts +8 -0
- package/@types/ui2/document/model/sb-document.d.ts +62 -0
- package/@types/ui2/document/model/sb-page.d.ts +38 -0
- package/@types/ui2/document/model/utils/sb-document-data.d.ts +10 -0
- package/@types/ui2/document/model/utils/sb-page-data.d.ts +7 -0
- package/@types/ui2/document/utils/SBThemeProvider.d.ts +4 -0
- package/@types/ui2/document/utils/button-accessibility-styling.d.ts +40 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-confirmation.d.ts +19 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-fade.d.ts +9 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-image.d.ts +6 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-screen-bottom-bar.d.ts +12 -0
- package/@types/ui2/document/views/acknowledgement-screen/quality-insufficient-banner.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/bottom-bar.d.ts +33 -0
- package/@types/ui2/document/views/camera-screen/camera-permission-denied.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/camera-select-dropdown.d.ts +14 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CheckIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CreditCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/DocumentsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/IdCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/MedicalCertsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/Props.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/ReceiptsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction-image.d.ts +5 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/preview-button.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/scanner-box.d.ts +21 -0
- package/@types/ui2/document/views/camera-screen/shutter-button.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/top-bar.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/top-user-guidance.d.ts +8 -0
- package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +31 -0
- package/@types/ui2/document/views/camera-screen/user-guidance-text.d.ts +10 -0
- package/@types/ui2/document/views/common/alert-dialog.d.ts +11 -0
- package/@types/ui2/document/views/common/bar-button.d.ts +17 -0
- package/@types/ui2/document/views/common/common-top-bar.d.ts +12 -0
- package/@types/ui2/document/views/common/loading-spinner.d.ts +4 -0
- package/@types/ui2/document/views/common/styled-menu-item.d.ts +12 -0
- package/@types/ui2/document/views/common/styled-menu.d.ts +17 -0
- package/@types/ui2/document/views/review-screen/bottom-bar.d.ts +15 -0
- package/@types/ui2/document/views/review-screen/carousel-page.d.ts +13 -0
- package/@types/ui2/document/views/review-screen/carousel.d.ts +14 -0
- package/@types/ui2/document/views/review-screen/page-counter-and-zoom-button.d.ts +10 -0
- package/@types/ui2/document/views/review-screen/scroller-navigation-button.d.ts +11 -0
- package/@types/ui2/document/views/review-screen/top-bar.d.ts +11 -0
- package/@types/ui2/scanbot-sdk-ui.d.ts +4 -0
- package/@types/ui2/scanbot-ui-library.d.ts +7 -4
- package/@types/ui2/utils/text-styling.d.ts +8 -0
- package/@types/ui2/utils/use-time-since-first-render-has-passed.d.ts +1 -0
- package/@types/utils/constants.d.ts +0 -2
- package/@types/utils/dto/Frame.d.ts +2 -0
- package/@types/utils/image-utils.d.ts +2 -1
- package/@types/utils/parse-color.d.ts +9 -0
- package/@types/utils/react/useIsMounted.d.ts +2 -0
- package/@types/utils/react/usePromise.d.ts +4 -3
- package/@types/utils/supported-image-mime-types.d.ts +2 -0
- package/@types/utils/view-utils.d.ts +1 -1
- package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +8 -2
- package/@types/view/polygon/document-polygon.d.ts +1 -0
- package/@types/worker/worker-bridge.d.ts +522 -384
- package/Libraries.txt +1510 -36
- package/bundle/ScanbotSDK.min.js +5 -5
- package/bundle/ScanbotSDK.ui2.min.js +18 -18
- package/bundle/ScanbotSDK.ui2.min.js.LICENSE.txt +10 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
- package/package.json +3 -3
- package/@types/core/bridge/compiled/CheckRecognizerTypes.d.ts +0 -29
- package/@types/core/bridge/compiled/FrameUtilities.d.ts +0 -18
- package/@types/core/bridge/compiled/GDRTypes.d.ts +0 -38
- package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +0 -150
- package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +0 -83
- package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +0 -15
- package/@types/core/bridge/compiled/MRZTypes.d.ts +0 -52
- package/@types/generic-document-recognizer-view.d.ts +0 -22
- package/@types/interfaces/i-generic-document-recognizer-scanner-handle.d.ts +0 -3
- package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +0 -9
- package/@types/model/configuration/text-data-scanner-configuration.d.ts +0 -9
- package/@types/service/generic-document-recognizer.d.ts +0 -13
- package/@types/service/text-data-recognizer.d.ts +0 -14
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +0 -1
- package/@types/ui2/configuration/BarcodeTypes.d.ts +0 -1
- package/@types/ui2/configuration/CommonFieldType.d.ts +0 -1
- package/@types/ui2/configuration/GenericDocument.d.ts +0 -1
- package/@types/ui2/utils/styled-button.d.ts +0 -7
- /package/@types/core/bridge/compiled/{OcrElements.d.ts → OcrTypes.d.ts} +0 -0
- /package/@types/ui2/{utils → barcode/utils}/find-and-pick.ts/expected-barcode-counter.d.ts +0 -0
- /package/@types/ui2/{utils → barcode/utils}/styled-input.d.ts +0 -0
- /package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-header.d.ts +0 -0
- /package/@types/ui2/configuration/{BarcodeItemMapper.d.ts → barcode/BarcodeItemMapper.d.ts} +0 -0
- /package/@types/ui2/configuration/{BarcodeUseCase.d.ts → barcode/BarcodeUseCase.d.ts} +0 -0
|
@@ -1,80 +1,82 @@
|
|
|
1
1
|
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
2
|
/**
|
|
3
|
-
PDF attributes
|
|
3
|
+
PDF attributes.
|
|
4
4
|
*/
|
|
5
5
|
export declare class PdfAttributes extends PartiallyConstructible {
|
|
6
6
|
/**
|
|
7
|
-
Author
|
|
8
|
-
@defaultValue "Created with
|
|
7
|
+
Author.
|
|
8
|
+
@defaultValue "Created with Scanbot SDK";
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
author: string;
|
|
11
11
|
/**
|
|
12
|
-
Creator
|
|
12
|
+
Creator.
|
|
13
13
|
@defaultValue "";
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
creator: string;
|
|
16
16
|
/**
|
|
17
|
-
Title
|
|
17
|
+
Title.
|
|
18
18
|
@defaultValue "";
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
title: string;
|
|
21
21
|
/**
|
|
22
|
-
Subject
|
|
22
|
+
Subject.
|
|
23
23
|
@defaultValue "";
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
subject: string;
|
|
26
26
|
/**
|
|
27
|
-
Keywords
|
|
27
|
+
Keywords.
|
|
28
28
|
@defaultValue "";
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
keywords: string;
|
|
31
31
|
/** @param source {@displayType `DeepPartial<PdfAttributes>`} */
|
|
32
32
|
constructor(source?: DeepPartial<PdfAttributes>);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
Page size
|
|
35
|
+
Page size.
|
|
36
36
|
|
|
37
37
|
- `LETTER`:
|
|
38
|
-
8.5 x 11 (inches) 612 x 792 (pixels) at 72 DPI
|
|
38
|
+
8.5 x 11 (inches) 612 x 792 (pixels) at 72 DPI.
|
|
39
39
|
- `LEGAL`:
|
|
40
|
-
8.5 x 14 (inches) 612 x 1008 (pixels) at 72 DPI
|
|
40
|
+
8.5 x 14 (inches) 612 x 1008 (pixels) at 72 DPI.
|
|
41
41
|
- `A3`:
|
|
42
|
-
297 x 420 (mm) 841.89 x 1199.551 (pixels) at 72 DPI
|
|
42
|
+
297 x 420 (mm) 841.89 x 1199.551 (pixels) at 72 DPI.
|
|
43
43
|
- `A4`:
|
|
44
|
-
210 x 297 (mm) 595.276 x 841.89 (pixels) at 72 DPI
|
|
44
|
+
210 x 297 (mm) 595.276 x 841.89 (pixels) at 72 DPI.
|
|
45
45
|
- `A5`:
|
|
46
|
-
148 x 210 (mm) 419.528 x 595.276 (pixels) at 72 DPI
|
|
46
|
+
148 x 210 (mm) 419.528 x 595.276 (pixels) at 72 DPI.
|
|
47
47
|
- `B4`:
|
|
48
|
-
250 x 353 (mm) 708.661 x 1000.63 (pixels) at 72 DPI
|
|
48
|
+
250 x 353 (mm) 708.661 x 1000.63 (pixels) at 72 DPI.
|
|
49
49
|
- `B5`:
|
|
50
|
-
176 x 250 (mm) 498.898 x 708.661 (pixels) at 72 DPI
|
|
50
|
+
176 x 250 (mm) 498.898 x 708.661 (pixels) at 72 DPI.
|
|
51
51
|
- `EXECUTIVE`:
|
|
52
|
-
7.25 x 10.5 (inches) 522 x 756 (pixels) at 72 DPI
|
|
52
|
+
7.25 x 10.5 (inches) 522 x 756 (pixels) at 72 DPI.
|
|
53
53
|
- `US4x6`:
|
|
54
|
-
4 x 6 (inches) 288 x 432 (pixels) at 72 DPI
|
|
54
|
+
4 x 6 (inches) 288 x 432 (pixels) at 72 DPI.
|
|
55
55
|
- `US4x8`:
|
|
56
|
-
4 x 8 (inches) 288 x 576 (pixels) at 72 DPI
|
|
56
|
+
4 x 8 (inches) 288 x 576 (pixels) at 72 DPI.
|
|
57
57
|
- `US5x7`:
|
|
58
|
-
5 x 7 (inches) 360 x 504 (pixels) at 72 DPI
|
|
58
|
+
5 x 7 (inches) 360 x 504 (pixels) at 72 DPI.
|
|
59
59
|
- `COMM10`:
|
|
60
|
-
4.125 x 9.5 (inches) 297 x 684 (pixels) at 72 DPI
|
|
60
|
+
4.125 x 9.5 (inches) 297 x 684 (pixels) at 72 DPI.
|
|
61
61
|
- `CUSTOM`:
|
|
62
62
|
physical size will be calculated from the image dimensions and the `dpi` parameter.
|
|
63
63
|
*/
|
|
64
64
|
export type PageSize = "LETTER" | "LEGAL" | "A3" | "A4" | "A5" | "B4" | "B5" | "EXECUTIVE" | "US4x6" | "US4x8" | "US5x7" | "COMM10" | "CUSTOM";
|
|
65
|
+
export declare const PageSizeValues: PageSize[];
|
|
65
66
|
/**
|
|
66
|
-
Page direction
|
|
67
|
+
Page direction.
|
|
67
68
|
|
|
68
69
|
- `PORTRAIT`:
|
|
69
|
-
Portrait
|
|
70
|
+
Portrait.
|
|
70
71
|
- `LANDSCAPE`:
|
|
71
|
-
Landscape
|
|
72
|
+
Landscape.
|
|
72
73
|
- `AUTO`:
|
|
73
|
-
Decides based on image aspect ratio
|
|
74
|
+
Decides based on image aspect ratio.
|
|
74
75
|
*/
|
|
75
76
|
export type PageDirection = "PORTRAIT" | "LANDSCAPE" | "AUTO";
|
|
77
|
+
export declare const PageDirectionValues: PageDirection[];
|
|
76
78
|
/**
|
|
77
|
-
Page fit
|
|
79
|
+
Page fit.
|
|
78
80
|
|
|
79
81
|
- `FIT_IN`:
|
|
80
82
|
Fit image into page. May leave white borders if the aspect ratio
|
|
@@ -91,8 +93,9 @@ Page fit
|
|
|
91
93
|
will be determined by the `dpi` parameter.
|
|
92
94
|
*/
|
|
93
95
|
export type PageFit = "FIT_IN" | "FILL_IN" | "STRETCH" | "NONE";
|
|
96
|
+
export declare const PageFitValues: PageFit[];
|
|
94
97
|
/**
|
|
95
|
-
Resampling method
|
|
98
|
+
Resampling method.
|
|
96
99
|
|
|
97
100
|
- `NONE`:
|
|
98
101
|
Always geometrically rescale the image to fit the page if necessary. Fast.
|
|
@@ -117,6 +120,7 @@ Resampling method
|
|
|
117
120
|
upsampling, it is similar to nearest-neighbor.
|
|
118
121
|
*/
|
|
119
122
|
export type ResamplingMethod = "NONE" | "NEAREST" | "LINEAR" | "CUBIC" | "LANCZOS4" | "AREA";
|
|
123
|
+
export declare const ResamplingMethodValues: ResamplingMethod[];
|
|
120
124
|
/**
|
|
121
125
|
The parameters `pageSize`, `pageFit`, `dpi` and `resamplingMethod` interact in a complex way
|
|
122
126
|
when adding bitmap images (JPEG, PNG, or raw) to the PDF.
|
|
@@ -141,31 +145,30 @@ There are three cases to consider:
|
|
|
141
145
|
in this case the bitmap of the image is resampled to match `dpi` using the selected method
|
|
142
146
|
before adding it to the PDF. This will result in a bitmap that is smaller than the
|
|
143
147
|
original image and hence, the resulting PDF will be smaller in size.
|
|
144
|
-
|
|
145
148
|
*/
|
|
146
|
-
export declare class
|
|
149
|
+
export declare class PdfConfiguration extends PartiallyConstructible {
|
|
147
150
|
/**
|
|
148
|
-
Attributes
|
|
151
|
+
Attributes.
|
|
149
152
|
@defaultValue new PdfAttributes({});
|
|
150
153
|
*/
|
|
151
|
-
|
|
154
|
+
attributes: PdfAttributes;
|
|
152
155
|
/**
|
|
153
156
|
Physical size of the page. If CUSTOM, the page size will be set as the image size at given dpi.
|
|
154
157
|
@defaultValue "A4";
|
|
155
158
|
*/
|
|
156
|
-
|
|
159
|
+
pageSize: PageSize;
|
|
157
160
|
/**
|
|
158
|
-
Page direction
|
|
161
|
+
Page direction.
|
|
159
162
|
@defaultValue "PORTRAIT";
|
|
160
163
|
*/
|
|
161
|
-
|
|
164
|
+
pageDirection: PageDirection;
|
|
162
165
|
/**
|
|
163
166
|
How to fit the image into the page. Only used if `pageSize` is not `CUSTOM`.
|
|
164
167
|
The image can either be stretched to fill the page,
|
|
165
168
|
in one of three ways, or centered on the page without stretching.
|
|
166
169
|
@defaultValue "FIT_IN";
|
|
167
170
|
*/
|
|
168
|
-
|
|
171
|
+
pageFit: PageFit;
|
|
169
172
|
/**
|
|
170
173
|
The `dpi` parameter has two different meanings depending on the value of `pageSize` and
|
|
171
174
|
`pageFit`. If pageSize is CUSTOM or pageFit is NONE, then `dpi` is the conversion ratio used
|
|
@@ -176,7 +179,7 @@ export declare class PdfConfig extends PartiallyConstructible {
|
|
|
176
179
|
calculated image DPI is used instead.
|
|
177
180
|
@defaultValue 72;
|
|
178
181
|
*/
|
|
179
|
-
|
|
182
|
+
dpi: number;
|
|
180
183
|
/**
|
|
181
184
|
JPEG quality for images.
|
|
182
185
|
Applies if an image is added as a cv::Mat and therefore needs to be encoded.
|
|
@@ -186,12 +189,12 @@ export declare class PdfConfig extends PartiallyConstructible {
|
|
|
186
189
|
original.
|
|
187
190
|
@defaultValue 80;
|
|
188
191
|
*/
|
|
189
|
-
|
|
192
|
+
jpegQuality: number;
|
|
190
193
|
/**
|
|
191
|
-
Resampling method
|
|
194
|
+
Resampling method.
|
|
192
195
|
@defaultValue "NONE";
|
|
193
196
|
*/
|
|
194
|
-
|
|
195
|
-
/** @param source {@displayType `DeepPartial<
|
|
196
|
-
constructor(source?: DeepPartial<
|
|
197
|
+
resamplingMethod: ResamplingMethod;
|
|
198
|
+
/** @param source {@displayType `DeepPartial<PdfConfiguration>`} */
|
|
199
|
+
constructor(source?: DeepPartial<PdfConfiguration>);
|
|
197
200
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
2
|
import { Rectangle } from "../common";
|
|
3
3
|
/**
|
|
4
|
-
Structure containing recognized word text and bounds
|
|
4
|
+
Structure containing recognized word text and bounds.
|
|
5
5
|
*/
|
|
6
6
|
export declare class WordBox extends PartiallyConstructible {
|
|
7
7
|
/**
|
|
@@ -13,7 +13,7 @@ export declare class WordBox extends PartiallyConstructible {
|
|
|
13
13
|
*/
|
|
14
14
|
readonly boundingRect: Rectangle;
|
|
15
15
|
/**
|
|
16
|
-
Confidence of the recognition
|
|
16
|
+
Confidence of the recognition.
|
|
17
17
|
@defaultValue 0.0;
|
|
18
18
|
*/
|
|
19
19
|
readonly recognitionConfidence: number;
|
|
@@ -21,7 +21,7 @@ export declare class WordBox extends PartiallyConstructible {
|
|
|
21
21
|
constructor(source?: DeepPartial<WordBox>);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
Structure containing recognized symbol text and bounds
|
|
24
|
+
Structure containing recognized symbol text and bounds.
|
|
25
25
|
*/
|
|
26
26
|
export declare class SymbolBox extends PartiallyConstructible {
|
|
27
27
|
/**
|
|
@@ -40,9 +40,9 @@ export declare class SymbolBox extends PartiallyConstructible {
|
|
|
40
40
|
constructor(source?: DeepPartial<SymbolBox>);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
The result of the text line recognition
|
|
43
|
+
The result of the text line recognition.
|
|
44
44
|
*/
|
|
45
|
-
export declare class
|
|
45
|
+
export declare class TextPatternScannerResult extends PartiallyConstructible {
|
|
46
46
|
/**
|
|
47
47
|
Raw recognized string
|
|
48
48
|
*/
|
|
@@ -56,29 +56,22 @@ export declare class ScannerResult extends PartiallyConstructible {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly symbolBoxes: SymbolBox[];
|
|
58
58
|
/**
|
|
59
|
-
Confidence of the recognition
|
|
59
|
+
Confidence of the recognition.
|
|
60
60
|
@defaultValue 0.0;
|
|
61
61
|
*/
|
|
62
62
|
readonly confidence: number;
|
|
63
63
|
/**
|
|
64
|
-
Whether the validation was successful
|
|
64
|
+
Whether the validation was successful.
|
|
65
65
|
@defaultValue false;
|
|
66
66
|
*/
|
|
67
67
|
readonly validationSuccessful: boolean;
|
|
68
|
-
/** @param source {@displayType `DeepPartial<
|
|
69
|
-
constructor(source?: DeepPartial<
|
|
68
|
+
/** @param source {@displayType `DeepPartial<TextPatternScannerResult>`} */
|
|
69
|
+
constructor(source?: DeepPartial<TextPatternScannerResult>);
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- `VEHICLE_IDENTIFICATION_NUMBER`:
|
|
75
|
-
Validation rules for vehicle identification numbers
|
|
72
|
+
Base class for content validators.
|
|
76
73
|
*/
|
|
77
|
-
export type
|
|
78
|
-
/**
|
|
79
|
-
Base class for content validators
|
|
80
|
-
*/
|
|
81
|
-
export type ContentValidator = DefaultContentValidator | PresetContentValidator | PatternContentValidator;
|
|
74
|
+
export type ContentValidator = DefaultContentValidator | PatternContentValidator;
|
|
82
75
|
/** @internal */
|
|
83
76
|
export declare namespace ContentValidator {
|
|
84
77
|
/** @internal */
|
|
@@ -100,19 +93,7 @@ export declare class DefaultContentValidator extends PartiallyConstructible {
|
|
|
100
93
|
constructor(source?: DeepPartial<DefaultContentValidator>);
|
|
101
94
|
}
|
|
102
95
|
/**
|
|
103
|
-
|
|
104
|
-
*/
|
|
105
|
-
export declare class PresetContentValidator extends PartiallyConstructible {
|
|
106
|
-
readonly _type: "PresetContentValidator";
|
|
107
|
-
/**
|
|
108
|
-
Validator preset
|
|
109
|
-
*/
|
|
110
|
-
preset: ValidatorPreset;
|
|
111
|
-
/** @param source {@displayType `DeepPartial<PresetContentValidator>`} */
|
|
112
|
-
constructor(source?: DeepPartial<PresetContentValidator>);
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
Pattern content validator
|
|
96
|
+
Pattern content validator.
|
|
116
97
|
*/
|
|
117
98
|
export declare class PatternContentValidator extends PartiallyConstructible {
|
|
118
99
|
readonly _type: "PatternContentValidator";
|
|
@@ -129,7 +110,7 @@ export declare class PatternContentValidator extends PartiallyConstructible {
|
|
|
129
110
|
*/
|
|
130
111
|
pattern: string;
|
|
131
112
|
/**
|
|
132
|
-
Whether the pattern should match the whole string or just a substring
|
|
113
|
+
Whether the pattern should match the whole string or just a substring.
|
|
133
114
|
@defaultValue false;
|
|
134
115
|
*/
|
|
135
116
|
matchSubstring: boolean;
|
|
@@ -137,29 +118,29 @@ export declare class PatternContentValidator extends PartiallyConstructible {
|
|
|
137
118
|
constructor(source?: DeepPartial<PatternContentValidator>);
|
|
138
119
|
}
|
|
139
120
|
/**
|
|
140
|
-
Configuration for the
|
|
121
|
+
Configuration for the text pattern scanner.
|
|
141
122
|
*/
|
|
142
|
-
export declare class
|
|
123
|
+
export declare class TextPatternScannerConfiguration extends PartiallyConstructible {
|
|
143
124
|
/**
|
|
144
125
|
Maximum image side (height or width) for OCR process. 0 - do not rescale.
|
|
145
126
|
@defaultValue 0;
|
|
146
127
|
*/
|
|
147
128
|
ocrResolutionLimit: number;
|
|
148
129
|
/**
|
|
149
|
-
Maximum number of accumulated frames to inspect before actual result is returned
|
|
130
|
+
Maximum number of accumulated frames to inspect before actual result is returned.
|
|
150
131
|
@defaultValue 3;
|
|
151
132
|
*/
|
|
152
133
|
maximumNumberOfAccumulatedFrames: number;
|
|
153
134
|
/**
|
|
154
|
-
Minimum number of accumulated frames that have equal result
|
|
135
|
+
Minimum number of accumulated frames that have equal result.
|
|
155
136
|
@defaultValue 2;
|
|
156
137
|
*/
|
|
157
138
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
158
139
|
/**
|
|
159
|
-
Content validator
|
|
140
|
+
Content validator.
|
|
160
141
|
@defaultValue new DefaultContentValidator({});
|
|
161
142
|
*/
|
|
162
143
|
validator: ContentValidator;
|
|
163
|
-
/** @param source {@displayType `DeepPartial<
|
|
164
|
-
constructor(source?: DeepPartial<
|
|
144
|
+
/** @param source {@displayType `DeepPartial<TextPatternScannerConfiguration>`} */
|
|
145
|
+
constructor(source?: DeepPartial<TextPatternScannerConfiguration>);
|
|
165
146
|
}
|
|
@@ -1,58 +1,55 @@
|
|
|
1
1
|
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
2
|
import { ParametricFilter } from "./ParametricFilters";
|
|
3
3
|
/**
|
|
4
|
-
TIFF compression type
|
|
4
|
+
TIFF compression type.
|
|
5
5
|
|
|
6
6
|
- `NONE`:
|
|
7
|
-
dump mode
|
|
7
|
+
dump mode.
|
|
8
8
|
- `CCITTRLE`:
|
|
9
|
-
CCITT modified Huffman RLE
|
|
10
|
-
- `CCITTFAX3`:
|
|
11
|
-
CCITT Group 3 fax encoding
|
|
9
|
+
CCITT modified Huffman RLE.
|
|
12
10
|
- `CCITT_T4`:
|
|
13
|
-
CCITT T.4 (TIFF 6 name)
|
|
14
|
-
- `CCITTFAX4`:
|
|
15
|
-
CCITT Group 4 fax encoding
|
|
11
|
+
CCITT T.4 (CCITTFAX3, CCITT Group 3 fax encoding, TIFF 6 name).
|
|
16
12
|
- `CCITT_T6`:
|
|
17
|
-
CCITT T.6 (TIFF 6 name)
|
|
13
|
+
CCITT T.6 (CCITTFAX4, CCITT Group 4 fax encoding, TIFF 6 name).
|
|
18
14
|
- `LZW`:
|
|
19
|
-
Lempel-Ziv
|
|
15
|
+
Lempel-Ziv and Welch.
|
|
20
16
|
- `OJPEG`:
|
|
21
|
-
!6.0 JPEG
|
|
17
|
+
!6.0 JPEG.
|
|
22
18
|
- `JPEG`:
|
|
23
|
-
%JPEG DCT compression
|
|
19
|
+
%JPEG DCT compression.
|
|
24
20
|
- `T85`:
|
|
25
|
-
!TIFF/FX T.85 JBIG compression
|
|
21
|
+
!TIFF/FX T.85 JBIG compression.
|
|
26
22
|
- `T43`:
|
|
27
|
-
!TIFF/FX T.43 colour by layered JBIG compression
|
|
23
|
+
!TIFF/FX T.43 colour by layered JBIG compression.
|
|
28
24
|
- `NEXT`:
|
|
29
|
-
NeXT 2-bit RLE
|
|
25
|
+
NeXT 2-bit RLE.
|
|
30
26
|
- `CCITTRLEW`:
|
|
31
|
-
#1 w/ word alignment
|
|
27
|
+
#1 w/ word alignment.
|
|
32
28
|
- `PACKBITS`:
|
|
33
|
-
Macintosh RLE
|
|
29
|
+
Macintosh RLE.
|
|
34
30
|
- `THUNDERSCAN`:
|
|
35
|
-
ThunderScan RLE
|
|
31
|
+
ThunderScan RLE.
|
|
36
32
|
- `IT8CTPAD`:
|
|
37
|
-
IT8 CT w/padding
|
|
33
|
+
IT8 CT w/padding.
|
|
38
34
|
- `IT8LW`:
|
|
39
|
-
IT8 Linework RLE
|
|
35
|
+
IT8 Linework RLE.
|
|
40
36
|
- `IT8MP`:
|
|
41
|
-
IT8 Monochrome picture
|
|
37
|
+
IT8 Monochrome picture.
|
|
42
38
|
- `IT8BL`:
|
|
43
|
-
IT8 Binary line art
|
|
39
|
+
IT8 Binary line art.
|
|
44
40
|
- `PIXARFILM`:
|
|
45
|
-
Pixar companded 10bit LZW
|
|
41
|
+
Pixar companded 10bit LZW.
|
|
46
42
|
- `PIXARLOG`:
|
|
47
|
-
Pixar companded 11bit ZIP
|
|
43
|
+
Pixar companded 11bit ZIP.
|
|
48
44
|
- `DEFLATE`:
|
|
49
|
-
Deflate compression
|
|
45
|
+
Deflate compression.
|
|
50
46
|
- `ADOBE_DEFLATE`:
|
|
51
|
-
Deflate compression, as recognized by Adobe
|
|
47
|
+
Deflate compression, as recognized by Adobe.
|
|
52
48
|
*/
|
|
53
|
-
export type CompressionMode = "NONE" | "CCITTRLE" | "
|
|
49
|
+
export type CompressionMode = "NONE" | "CCITTRLE" | "CCITT_T4" | "CCITT_T6" | "LZW" | "OJPEG" | "JPEG" | "T85" | "T43" | "NEXT" | "CCITTRLEW" | "PACKBITS" | "THUNDERSCAN" | "IT8CTPAD" | "IT8LW" | "IT8MP" | "IT8BL" | "PIXARFILM" | "PIXARLOG" | "DEFLATE" | "ADOBE_DEFLATE";
|
|
50
|
+
export declare const CompressionModeValues: CompressionMode[];
|
|
54
51
|
/**
|
|
55
|
-
Binarization behavior to apply when adding pages to a TIFF
|
|
52
|
+
Binarization behavior to apply when adding pages to a TIFF.
|
|
56
53
|
|
|
57
54
|
- `DISABLED`:
|
|
58
55
|
Do not binarize the image. Image will be stored as a grayscale or color TIFF.
|
|
@@ -63,8 +60,9 @@ Binarization behavior to apply when adding pages to a TIFF
|
|
|
63
60
|
otherwise same behavior as DISABLED. This is the default.
|
|
64
61
|
*/
|
|
65
62
|
export type Binarization = "DISABLED" | "ENABLED" | "ENABLED_IF_BINARIZATION_FILTER_SET";
|
|
63
|
+
export declare const BinarizationValues: Binarization[];
|
|
66
64
|
/**
|
|
67
|
-
User-defined TIFF field value
|
|
65
|
+
User-defined TIFF field value.
|
|
68
66
|
*/
|
|
69
67
|
export type UserFieldValue = UserFieldDoubleValue | UserFieldStringValue | UserFieldIntValue;
|
|
70
68
|
/** @internal */
|
|
@@ -75,66 +73,66 @@ export declare namespace UserFieldValue {
|
|
|
75
73
|
}): UserFieldValue;
|
|
76
74
|
}
|
|
77
75
|
/**
|
|
78
|
-
Double value (TIFF_DOUBLE)
|
|
76
|
+
Double value (TIFF_DOUBLE).
|
|
79
77
|
*/
|
|
80
78
|
export declare class UserFieldDoubleValue extends PartiallyConstructible {
|
|
81
79
|
readonly _type: "UserFieldDoubleValue";
|
|
82
80
|
/**
|
|
83
81
|
Value
|
|
84
82
|
*/
|
|
85
|
-
|
|
83
|
+
value: number;
|
|
86
84
|
/** @param source {@displayType `DeepPartial<UserFieldDoubleValue>`} */
|
|
87
85
|
constructor(source?: DeepPartial<UserFieldDoubleValue>);
|
|
88
86
|
}
|
|
89
87
|
/**
|
|
90
|
-
ASCII string value (TIFF_ASCII)
|
|
88
|
+
ASCII string value (TIFF_ASCII).
|
|
91
89
|
*/
|
|
92
90
|
export declare class UserFieldStringValue extends PartiallyConstructible {
|
|
93
91
|
readonly _type: "UserFieldStringValue";
|
|
94
92
|
/**
|
|
95
93
|
Value
|
|
96
94
|
*/
|
|
97
|
-
|
|
95
|
+
value: string;
|
|
98
96
|
/** @param source {@displayType `DeepPartial<UserFieldStringValue>`} */
|
|
99
97
|
constructor(source?: DeepPartial<UserFieldStringValue>);
|
|
100
98
|
}
|
|
101
99
|
/**
|
|
102
|
-
32-bit int value (TIFF_LONG)
|
|
100
|
+
32-bit int value (TIFF_LONG).
|
|
103
101
|
*/
|
|
104
102
|
export declare class UserFieldIntValue extends PartiallyConstructible {
|
|
105
103
|
readonly _type: "UserFieldIntValue";
|
|
106
104
|
/**
|
|
107
105
|
Value
|
|
108
106
|
*/
|
|
109
|
-
|
|
107
|
+
value: number;
|
|
110
108
|
/** @param source {@displayType `DeepPartial<UserFieldIntValue>`} */
|
|
111
109
|
constructor(source?: DeepPartial<UserFieldIntValue>);
|
|
112
110
|
}
|
|
113
111
|
/**
|
|
114
|
-
User-defined TIFF field
|
|
112
|
+
User-defined TIFF field.
|
|
115
113
|
*/
|
|
116
114
|
export declare class UserField extends PartiallyConstructible {
|
|
117
115
|
/**
|
|
118
116
|
Numeric tag
|
|
119
117
|
*/
|
|
120
|
-
|
|
118
|
+
tag: number;
|
|
121
119
|
/**
|
|
122
120
|
Field name
|
|
123
121
|
*/
|
|
124
|
-
|
|
122
|
+
name: string;
|
|
125
123
|
/**
|
|
126
124
|
Value
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
value: UserFieldValue;
|
|
129
127
|
/** @param source {@displayType `DeepPartial<UserField>`} */
|
|
130
128
|
constructor(source?: DeepPartial<UserField>);
|
|
131
129
|
}
|
|
132
130
|
/**
|
|
133
|
-
TIFF writer parameters
|
|
131
|
+
TIFF writer parameters.
|
|
134
132
|
*/
|
|
135
|
-
export declare class
|
|
133
|
+
export declare class TiffWriterParameters extends PartiallyConstructible {
|
|
136
134
|
/**
|
|
137
|
-
Compression
|
|
135
|
+
Compression.
|
|
138
136
|
@defaultValue "LZW";
|
|
139
137
|
*/
|
|
140
138
|
compression: CompressionMode;
|
|
@@ -149,12 +147,12 @@ export declare class TIFFWriterParameters extends PartiallyConstructible {
|
|
|
149
147
|
*/
|
|
150
148
|
zipCompressionLevel: number;
|
|
151
149
|
/**
|
|
152
|
-
DPI value
|
|
150
|
+
DPI value.
|
|
153
151
|
@defaultValue 72;
|
|
154
152
|
*/
|
|
155
153
|
dpi: number;
|
|
156
154
|
/**
|
|
157
|
-
User-defined fields
|
|
155
|
+
User-defined fields.
|
|
158
156
|
@defaultValue [];
|
|
159
157
|
*/
|
|
160
158
|
userFields: UserField[];
|
|
@@ -167,18 +165,18 @@ export declare class TIFFWriterParameters extends PartiallyConstructible {
|
|
|
167
165
|
@defaultValue null;
|
|
168
166
|
*/
|
|
169
167
|
binarizationFilter: ParametricFilter | null;
|
|
170
|
-
/** @param source {@displayType `DeepPartial<
|
|
171
|
-
constructor(source?: DeepPartial<
|
|
168
|
+
/** @param source {@displayType `DeepPartial<TiffWriterParameters>`} */
|
|
169
|
+
constructor(source?: DeepPartial<TiffWriterParameters>);
|
|
172
170
|
}
|
|
173
|
-
export declare namespace
|
|
171
|
+
export declare namespace TiffWriterParameters {
|
|
174
172
|
/**
|
|
175
|
-
Default compression
|
|
173
|
+
Default compression.
|
|
176
174
|
@defaultValue "LZW";
|
|
177
175
|
*/
|
|
178
176
|
const defaultCompression: CompressionMode;
|
|
179
177
|
/**
|
|
180
|
-
Compression mode typically producing the smallest file sizes for binary (1-bit) document images
|
|
181
|
-
@defaultValue "
|
|
178
|
+
Compression mode typically producing the smallest file sizes for binary (1-bit) document images.
|
|
179
|
+
@defaultValue "CCITT_T6";
|
|
182
180
|
*/
|
|
183
181
|
const binaryDocumentOptimizedCompression: CompressionMode;
|
|
184
182
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
|
+
import { Point } from "../common";
|
|
3
|
+
import { TextPatternScannerResult } from "./TextPatternScannerTypes";
|
|
4
|
+
/**
|
|
5
|
+
Status of the barcode extraction.
|
|
6
|
+
|
|
7
|
+
- `SUCCESS`:
|
|
8
|
+
Barcode containing a VIN was successfully extracted.
|
|
9
|
+
- `BARCODE_WITHOUT_VIN`:
|
|
10
|
+
Barcode was found but it does not contain a VIN.
|
|
11
|
+
- `NO_BARCODE_FOUND`:
|
|
12
|
+
No barcode was found in the image.
|
|
13
|
+
- `BARCODE_EXTRACTION_DISABLED`:
|
|
14
|
+
Barcode extraction is disabled in the configuration.
|
|
15
|
+
*/
|
|
16
|
+
export type VinBarcodeExtractionStatus = "SUCCESS" | "BARCODE_WITHOUT_VIN" | "NO_BARCODE_FOUND" | "BARCODE_EXTRACTION_DISABLED";
|
|
17
|
+
export declare const VinBarcodeExtractionStatusValues: VinBarcodeExtractionStatus[];
|
|
18
|
+
/**
|
|
19
|
+
Result of the barcode scanner.
|
|
20
|
+
*/
|
|
21
|
+
export declare class VinBarcodeResult extends PartiallyConstructible {
|
|
22
|
+
/**
|
|
23
|
+
Text result of the barcode scanner
|
|
24
|
+
*/
|
|
25
|
+
readonly extractedVIN: string;
|
|
26
|
+
/**
|
|
27
|
+
Rectangle of the barcode in the image
|
|
28
|
+
*/
|
|
29
|
+
readonly rectangle: Point[];
|
|
30
|
+
/**
|
|
31
|
+
Status of the barcode extraction
|
|
32
|
+
*/
|
|
33
|
+
readonly status: VinBarcodeExtractionStatus;
|
|
34
|
+
/** @param source {@displayType `DeepPartial<VinBarcodeResult>`} */
|
|
35
|
+
constructor(source?: DeepPartial<VinBarcodeResult>);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
Result of the VIN scanner.
|
|
39
|
+
*/
|
|
40
|
+
export declare class VinScannerResult extends PartiallyConstructible {
|
|
41
|
+
/**
|
|
42
|
+
Text result of the VIN scanner
|
|
43
|
+
*/
|
|
44
|
+
readonly textResult: TextPatternScannerResult;
|
|
45
|
+
/**
|
|
46
|
+
Barcode result of the VIN scanner
|
|
47
|
+
*/
|
|
48
|
+
readonly barcodeResult: VinBarcodeResult;
|
|
49
|
+
/** @param source {@displayType `DeepPartial<VinScannerResult>`} */
|
|
50
|
+
constructor(source?: DeepPartial<VinScannerResult>);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
Configuration for the VIN scanner.
|
|
54
|
+
*/
|
|
55
|
+
export declare class VinScannerConfiguration extends PartiallyConstructible {
|
|
56
|
+
/**
|
|
57
|
+
If true, the VIN scanner will also extract VINs from barcodes.
|
|
58
|
+
Requires a license that allows barcode scanning in addition to VIN scanning.
|
|
59
|
+
@defaultValue false;
|
|
60
|
+
*/
|
|
61
|
+
extractVINFromBarcode: boolean;
|
|
62
|
+
/**
|
|
63
|
+
Maximum image side (height or width) for OCR process. 0 - do not rescale.
|
|
64
|
+
@defaultValue 0;
|
|
65
|
+
*/
|
|
66
|
+
ocrResolutionLimit: number;
|
|
67
|
+
/**
|
|
68
|
+
Maximum number of accumulated frames to inspect before actual result is returned.
|
|
69
|
+
@defaultValue 3;
|
|
70
|
+
*/
|
|
71
|
+
maximumNumberOfAccumulatedFrames: number;
|
|
72
|
+
/**
|
|
73
|
+
Minimum number of accumulated frames that have equal result.
|
|
74
|
+
@defaultValue 2;
|
|
75
|
+
*/
|
|
76
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
77
|
+
/** @param source {@displayType `DeepPartial<VinScannerConfiguration>`} */
|
|
78
|
+
constructor(source?: DeepPartial<VinScannerConfiguration>);
|
|
79
|
+
}
|