Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Resource Base
Table of contents

Release Notes - JavaScript 2.x

2.3.2 (03/28/2022)

  • Fixed bug in API setVideoFit() so that it works correctly with canvases created by addScanRegionOverlayCanvas().

2.3.1 (03/21/2022)

Version Highlights

  • The same camera enhancer instance can now be used by multiple products. (JS edition only)
  • Added photo capturing features. You can now capture high-resolution images using the library. (Mobile editions only)
  • Added device feedback features. You can now trigger vibrations or beep sounds of mobile devices. (Mobile editions only)

Changelog

New

  • Added method getResolutions() to test and return supported resolutions by the current active camera.
  • Added property frameColorMode to control the color mode of the resulting image generated by the method getFrame().
  • Added event frameAddedToBuffer which is triggered each time a frame is added to the buffer.
  • Added method toCanvas() to DCEFrame objects to allow the image data to be converted to a canvas at runtime.

2.1.0 (01/20/2022)

Version Highlights

  • Added class scan region configuration APIs and RegionDefinition for users to set the region of interest. The frames will be cropped based on the scan region to accelerate further frame processing.

Changelog

New

  • Added methods getScanRegion() and setScanRegion() to control which part of the original video frames are cropped when acquiring frames for a 3rd party application to use.
  • Added method setScanRegionMaskStyle() to set the style of the indicator for the scan region.
  • Added method getVisibleRegion() to return which part of the original video frames are currently visible in the video element.
  • Added methods startFetchingLoop(), stopFetchingLoop(),isFetchingLoopStarted() and getFrameFromBuffer() plus properties maxNumberOfFramesInbuffer, numberOfFramesInBuffer and loopInterval to control the continuous fetching of frames into the buffer.
  • Added methods getFocus() and setFocus() to control the camera focus.
  • Added methods setVideoFit() and getVideoFit() to control the fitting style of the video element.
  • Added the feature to display a view decorator with the methods getViewDecorator() and setViewDecorator(). Also, added methods setViewDecoratorLineWidth(), setViewDecoratorStrokeStyle(), setViewDecoratorFillStyle() and setViewDecoratorMaskFillStyle() to control the style of the view decorator.
  • Added method addScanRegionOverlayCanvas() to return a canvas above the video stream for users to draw on.
  • Added property singelFrameMode to handle the situation where no camera is available.
  • Added property ifSkipCameraInspection to skip camera inspection upon initialization to save time.
  • Added property ifSaveLastUsedCamera to keep track of last used camera.
  • Added methods on() and off() to control event binding and unbinding.
  • Added method dispose() to releases all resources used by a CameraEnhancer instance.

2.0.3 (10/29/2021)

  • Fixed a bug that caused compiler errors in frameworks such as Angular, React, and Vue.

2.0.1 (10/26/2021)

  • Improved the frame buffer mechanism.

2.0.0 (10/20/2021)

  • Well-wrapped APIs to control cameras based on the MediaDevices interface.
  • Automatic selection of the optimal camera to use.
  • Built-in user interface for fast interaction.
  • Built-in compatibility mode, suitable for scenes where no camera is available.
  • Built-in frame buffer mechanism to save time for the application(s) making use of the video frames.
  • Flexible frame acquisition methods, allowing automatic or manual interaction.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 3.0.1
    • Version 3.0.0
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.1.0
    • Version 2.0.0
    • Version 1.0.3
    • Version 1.0.1
    • Version 1.0.0
    Change +
    © 2003–2022 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support