Skip to main content

Changelog | Web Document Scanner

Version 5.0.0 (22 Mar 2024)

  • 🎉 New
    • Added torch controls for scanner views (see e.g. Document Scanner) for a limited set of devices & browsers
    • Added more options to PDF generation: dpi, pageFit, jpegQuality, resample
    • Support new barcode type GS1_COMPOSITE (CC-A, CC-B and CC-C). We allow for composites with a linear component that can be RSS_14, RSS_EXPANDED, DATABAR_LIMITED or CODE_128.
  • 🚀 Improvements
    • Many improvements to the cropping view. Most notably, pointer events no longer get lost when moving things about too quickly, and dragging handles now have an invisible 50x50 pixel hitbox, to make them easier to grab on mobile devices.
    • Massive overhaul of camera permission and error handling
    • Added frame accumulation based verification to MRZ scanner
    • New ImageProcessor API that allows for improved filters and more efficient post-processing of scan results
    • New API reference available at docs.scanbot.io
    • Significantly reduced WASM binary sizes (-2MB)
    • Added pdf renderer to Package 1 (Document scanner SDK). Previously it was only available in Package 2 (Full SDK).
    • Improved image sharpness calculation per document-template to filter blurry frames faster
    • Increased speed of tiff 1 bit packing
    • Text detection in Text Data & VIN scanner is faster and more accurate
    • Improved speed of document detection
  • ⚠️ Breaking changes:
    • Deprecated legacy errors and implemented proper permission checks. For specifics, see Handling Errors
    • TiffGenerator no longer has its own binarization options. Instead, apply a binarization filter using the new ImageProcessor API as described here.
    • GS1 string handling is now uniform across all supported GS1 symbologies (Code128, DataMatrix, QR Code, DataBar 14, DataBar Limited, DataBar Expanded, GS1 Composite)
    • Renamed RSS_14 to DATABAR and RSS_EXPANDED to DATABAR_EXPANDED
    • Older Safari on iOS are no longer supported. The minimum supported iOS version is now 14.5+
  • 🐞 Bug fixes:
    • DataBar Limited: add "(01)" prefix to result string
    • Fixed an issue in which the confidence of MRZ fields could be NaN
    • Fixed an issue with cross-validation between MRZ and Passport data
    • SimpleMrzRecognizer.recognizeURL will now resolve to undefined if recognition failed. Previously, it would remain in the pending state.
    • Fixed a bug where the VIN scanner would also successfully scan non-VIN text

Version 4.0.1 (26 Jan 2024)

  • 🐞 Bug fixes:
  • Fixed an issue where css class-based styling of the document scanner view was not working

Version 4.0.0 (15 Dec 2023)

  • 🎉 New
    • Introduced DocumentQualityAnalyzer to replace deprecated BlurDetector
    • Introduced barcode formats USPS_INTELLIGENT_MAIL, ROYAL_MAIL, JAPAN_POST, ROYAL_TNT_POST, AUSTRALIA_POST and DATABAR_LIMITED
    • Introduced Scanbot PDF Renderer
    • Introduced a new OCR engine based on ML algorithms that is much faster and less error prone
    • Added path style configuration to our Document Scanner Configuration, allowing capture completion animation!
    • Added ImageCapture API support - Snap full-resolution images from the camera!
    • Added validatorPreset property to TextDataScannerConfiguration to simplify scans of specific text types, e.g. VIN
    • Added createVinScanner, a simple way to instantiate a vehicle identification number (VIN) scanner.
  • 🚀 Improvements
    • Decreased complete binary size by more than 3MB
    • Improved WebAssembly memory management for a smoother experience
  • ⚠️ Breaking changes:
    • Removed BlurDetector
    • Removed dpi option from PDF generation options. DPI is chosen automatically
    • Removed paperWidthInches and paperHeightInches from PDF generation options. standardPaperSize now features various formats to replace custom sizing
    • Removed landscape boolean property from PDF generation options, added pageDirection property
    • Removed tessdata files from bundle
    • OCR engine constructor no longer takes languages parameter, now features an optional mode parameter

Version 3.0.1 (19 Oct 2023)

  • 🐞 Bug fixes:
    • Fixed case where snapped image was not returned when document detection failed

Version 3.0.0 (02 Oct 2023)

  • 🎉 New
    • Introduced ML-Based document detector - incredible performance and accuracy increases!
  • 🚀 Improvements & 🚙 Under the hood:
    • Vectorised WASM binaries - increased performance for parallel computations such as cropping and image filter application
    • Models now run on TensorFlow.js binaries (with vectorization and threading!) - increased performance across the board!
  • 🐞 Bug fixes:
    • Fixed document polygon outline styling
  • ⚠️ Breaking changes:
    • OutlinePolygonStyleConfiguration now has four properties: strokeCapturing, fillCapturing, strokeSearching, fillSearching, instead of the previous stroke and fill properties

Version 2.14.0 (24 Aug 2023)

  • 🎉 New
    • Barcode Scanner AR Overlay
    • Added MICRO_QR_CODE barcode format
  • 🚀 Improvements:
    • Enhanced & smoothed out document detection polygon animations
    • New generation of Text Data Scanner component. The quality and speed of scanning has significantly improved
  • 🐞 Bug fixes:
    • Removed intrusive Device: ${preferredCamera} is not found error logging
  • 🚙 Under the hood
    • Added framer-motion dependency

Version 2.13.1 (12 Jul 2023)

  • 🎉 New
    • setRecognitionResolution now works for live detection as well, not just for still images
  • 🐞 Bug fixes:
    • Fixed setZoom typings missing zoom parameter

Version 2.13.0 (29 Jun 2023)

  • 🎉 New
    • Barcode Scan & Count feature: enabled via scanAndCount property of BarcodeScannerConfiguration
    • Added option to pass the container html element in scanner configuration as an alternative to containerId string parameter
    • Added option to update barcode scanner input resolution at scanner runtime via barcodeScanner.setRecognitionResolution(n) – this provides the option to either go for a more performant scan or a more accurate scan
  • 🐞 Bug fixes:
    • Fixed issue where auto capture enable/disable was not updated at scanner runtime
  • 🚙 Under the hood
    • Better per-frame accuracy for QR_CODE
    • Unify MRZ interface and create Generic Document interface
    • Code39 and Code93 should decode slightly faster
    • Support inverted PDF-417 barcodes

Version 2.12.0 (6 Apr 2023)

  • 🚀 Improvements:
    • Improved performance and accuracy of machine-readable-zone recognition.
  • 🎉 New:
    • parsedText property is introduced in BarcodeResult. If the data is structured and parsing is supported for the data type, this structured data will be parsed into document-like data structures. See Barcode Scanner.
  • 🚙 Under the hood:
    • Updated third-party libraries.
    • Updated TensorFlow Lite to 2.10
    • Improved allocated memory releasing mechanism for:
      • Text Data scanner
      • MRZ scanner
      • TIFF creator
      • Blur estimator

Version 2.11.0 (2 Mar 2023)

  • 🎉 New:
    • fetchAvailableCameras API was introduced to query the available cameras on the running browser. Available in DocumentScanner, BarcodeScanner, MrzScanner and TextDataScanner
    • getActiveCameraInfo API was introduced to retrieve information of the active camera on the scanner. Available in DocumentScanner, BarcodeScanner, MrzScanner and TextDataScanner
    • switchCamera API was introduced to switch any of the available cameras on the running browser. Available in DocumentScanner, BarcodeScanner, MrzScanner and TextDataScanner
    • showFinder parameter was added into BarcodeScannerConfiguration to initialize BarcodeScanner with or without the finder rectangle
    • widthProportion parameter was added into style.window parameters of all the scanners. This parameter is used to configure the size of the finder rectangle in proportion to the visible screen width
    • preferredCamera parameter was added into DocumentScannerConfiguration, BarcodeScannerConfiguration, MrzScannerConfiguration and TextDataScannerConfiguration. This parameter is used to pass a preferred camera label or camera device id to a scanner to decide which camera to start with
  • ⚠️ Breaking changes:
    • Removed paddingPropLeft in style.window parameters from all the scanners. The new configuration widthProportion can be used as a replacement

Version 2.10.0 (30 Jan 2023)

  • 🚀 Improvements:
    • Improved the error handling in all scanners and introduced LicenseError that is thrown when a client calls any of the Scanbot SDK functions while having a license error. See Handling Errors.
    • Barcode Scanner optionally returns barcode images along with the barcode recognition result. See Configuration.
  • 🐞 Bug fixes:
    • Firefox on Android: when switching to the rear camera, the camera went black and could not be initiated again until the tab was closed and the browser was restarted.
    • isValid() method of LicenseInfo returned false when the status was equal to Trial. It should now return true while the trial mode is active. See License Check in Production.
  • ⚠️ Breaking changes:
    • Default camera resolution of Barcode Scanner, MRZ Scanner and Text Data Scanner was changed from UHD: 3840 x 2160 to HD: 1920 x 1080.
    • onError callback is now mandatory when configuring Document Scanner, Barcode Scanner, MRZ Scanner and Text Data Scanner. See Handling Errors.
  • 🚙 Under the hood:

Version 2.9.2 (9 Nov 2022)

Version 2.9.1 (29 Aug 2022)

  • 🐞 Bug fixes:
    • When camera access was not given, scanners would throw an exception instead of using an error callback

Version 2.9.0 (11 Aug 2022)

  • 🎉 New:
  • 🚀 Improvements:
    • Further improvements on memory usage
  • 🐞 Bug fixes:
    • Viewfinder overflows when device orientation changed

Version 2.8.2 (22 Jun 2022)

  • 🚀 Improvements:
    • Updated README

Version 2.8.1 (18 May 2022)

  • 🐞 Bug fixes:
    • The resolution of the generated PDF document was not reflecting the passed dpi value

Version 2.8.0 (11 May 2022)

  • 🎉 New:
    • Dragging the points on the Cropping screen is now enabled on non-touch screen environments such as clicking via a mouse in a browser
    • saveImageAsJpeg utility function was introduced to help save a scanned document as a JPEG file
  • 🚀 Improvements:
    • Huge improvement on the speed and accuracy of 1D barcodes recognition
    • Improved accuracy of auto-capturing process in the document scanner
  • 🐞 Bug fixes:
    • Document size in a PDF page was not consistent while creating a PDF from a scanned document

Version 2.7.0 (16 Mar 2022)

  • 🚀 Improvements:
    • Improved performance of Barcode, MRZ and Document Scanners
    • Significantly improved recognition of Aztec, PDF417 and Datamatrix barcodes
    • Improved the error handling in Document Scanner

Version 2.6.1 (10 Dec 2021)

  • 🚀 Improvements:
    • Throwing specific errors on creating scanners (i.e. createDocumentScanner, createBarcodeScanner, createMrzScanner)

Version 2.6.0 (30 Nov 2021)

  • 🎉 New:
    • Blur detection: The Blur Detector API allows you to detect the blurriness of images.
    • Document scanning on still images: Detects document on a still image on a JPG file regardless of the image source
    • Cropping on still images: Cropping and rotation operations on a still image on a JPG file regardless of the image source
  • 🐞 Bug fixes:
    • Fixed: MRZ Scanner 'RuntimeError: divide by zero error' while scanning clean solid colored images

Version 2.5.3 (5 Nov 2021)

  • 🚀 Improvements:
    • Improving the polygon detection performance in time on document scanning
    • Preventing capturing multiple documents at once
    • Further improvements on memory usage

Version 2.5.2 (27 Oct 2021)

  • 🐞 Bug fixes:
    • ViewFinder doesn't work well on all devices with different aspect ratios and resolutions
    • MRZ result is not right on Android on Firefox browser
    • Document Scanner captures black screen on iOS 15
  • 🚀 Improvements:
    • Improvement on memory usage regarding to bug: Scanner camera preview turns blank on iOS 15

Version 2.5.1 (8 Oct 2021)

  • 🐞 Bug fixes:
    • Fixed: Polygons are not visible on Document Scanner

Version 2.5.0 (6 Oct 2021)

  • 🎉 New:
    • MRZ Scanner UI MRZ
  • 🚀 Improvements:
    • In WindowStyleConfiguration, aspectRatio and paddingPropLeft elements can be used for configuring the size of the view-finder in a more responsive way for Barcode Scanner and MRZ Scanner. Styling
  • 🐞 Bug fixes:
    • Fixed: disableScroll in cropping view is not working as expected
  • ⚠️ Breaking Changes:
    • The type of style attribute of BarcodeScanner is refactored. It is changed from BarcodeScannerStyle to ViewFinderConfiguration Styling
    • text attribute is removed from BarcodeScannerConfiguration and the functionality is moved into ViewFinderConfiguration as hint Styling

Version 2.4.1 (6 Sep 2021)

  • 🎉 New:
    • Additional parameter barcodeFormats: BarcodeFormat[] in BarcodeScannerConfiguration to specify the enabled barcode formats
    • Ability to scan MSI Plessey barcodes via passing MSI_PLESSEY in barcodeFormats parameter to BarcodeScannerConfiguration
  • 🚀 Improvements:
    • Improved the document scanner instructions to make it compliant with Scanbot mobile demo apps.
  • 🐞 Bug fixes:
    • Fixed: Document scanner instructions are not configurable. Now you can pass TextConfiguration to DocumentScannerConfiguration

Version 2.4.0 (13 Aug 2021)

  • 🎉 New:
    • Added engineMode property of type EngineMode on barcode scanning APIs - BarcodeScannerConfiguration to switch between the legacy barcode engine and the new Next Generation barcode engine. By default, the new engine is used.
    • Exposed version info API: ScanbotSDK.version
    • Exposed Barcode Finder View positioning API: left, top and transform properties
  • ⚠️ Breaking Changes:
    • Removed experimental image filter types trinarization and lightMapNormalization

Version 2.3.0 (7 June 2021)

  • 🎉 New:
  • 🚀 Improvements:
    • Revamped barcode view finder to support additional styling
  • 🐞 Bug fixes:
    • iOS: Fixed view finder turning gray on zoom
  • 🚙 Under the hood:
    • Updated internal dependencies to latest versions

Version 2.2.0 (27 Apr 2021)

  • 🎉 New:
    • Magnifier View for Cropping View
  • 🚀 Improvements:
    • Exposed videoConstraints to Scanner Configuration, allowing to set facingMode and advanced options
    • Added source ImageData object to Barcode Scanner Result (ImageData object extracted from canvas)
    • Added mirrored option to Scanner Configuration (false by default)
    • Remove partially-supported MSI_PLESSEY barcode format
    • Improved how Scanbot Web SDK handles access errors. See Error Handling Section
    • Added option to add experimental or advanced constraints via scanner configuration.
  • 🐞 Bug fixes:
    • Barcode Finder Window custom positioning fix
    • Fixed auto-focus issue on certain android devices

Version 2.1.0 (3 Mar 2021)

  • 🎉 New:
    • Barcode Scanner – Scanner view to scan various barcodes
  • 🐞 Bug fixes:
    • Fixed issue where camera component was not properly disposed of
  • ⚠️ Breaking Changes:
    • Moved Polygon object to utils/dto/polygon package
    • Moved DetectionStatus to model/document/detection-status package
    • Renamed and moved model/response/detection-result to model/document/document-detection-result

Version 2.0.2 (16 Feb 2021)

  • 🎉 New:
    • TIFF support – The ability to export scanned images as binarized TIFF
  • 🚀 Improvements:
    • All typing imports now available from the @types root package
    • CroppingViewConfiguration now features a rotations property. The rotations property is also contained in CroppingResult after applying the crop
  • 🐞 Bug fixes:
    • Respect existing rotation state when re-applying detection
  • ⚠️ Breaking Changes:
    • Moved PdfGeneration(Options) and TiffGenerator(Options) to the service package

Version 2.0.1 (8 Feb 2021)

  • 🎉 New:
    • Option to disable and enable auto-capture on the fly
  • 🚀 Improvements:
    • Improved ImageFilter @types support for advanced typescript configurations

Version 2.0.0 (3 Feb 2021)

  • 🎉 New:
    • Cropping UI – New components to implement UI for manual cropping of images
    • Image Filters – Scanned documents can now be optimized by applying image filters like binarization, grayscale, etc
    • PDF support – The ability to export scanned images as PDF
  • 🚀 Improvements:
    • Improved @types support for non-react projects
  • ⚠️ Breaking Changes:
    • Detection result images are now Uint8Array. Use scanbotSDK.toDataUrl to convert it to a displayable image
    • The component package is no longer available in the Bundle SDK. Replaced by @types
      • Configuration objects moved from model/ to model/configuration/
  • 🚙 Under the hood:
    • Updated OpenCV to version 4.5.0. OpenCV license has been changed from BSD to Apache 2
    • Added further 3rd-party libraries, see Libraries.txt

Version 1.0.2 (03 Nov 2020)

  • 🐞 Bug fixes:
    • Module loading fix for Webpack 5

Version 1.0.1 (20 Oct 2020)

  • 🐞 Bug fixes:
    • Typings entrypoint fix

Version 1.0.0 (25 September 2020)

  • 🎉 Initial release
    • Document Scanner with Auto-cropping
    • UI Components: User-guidance text, Detection polygon and Capture button

Want to scan longer than one minute?

Generate your free "no-strings-attached" Trial License and properly test the Scanbot SDK.

Get your free Trial License

What do you think of this documentation?