Skip to content

Commit f842498

Browse files
committed
7.3.0.1
1 parent f99937b commit f842498

34 files changed

+126
-75
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ Dynamsoft.BarcodeReader.productKeys = 'PRODUCT-KEYS';
9393

9494
* Browser Compatibility:
9595

96+
* Unlike normal server-based applications, this library requires some advanced features which fortunately are supported by all mainstream modern browsers. These advanced features are listed below:
97+
* [MediaDevices/getUserMedia](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)
98+
* Required only for in-browser video streaming. If a browser doesn't have this API the [Single Frame Mode](https://www.dynamsoft.com/help/Barcode-Reader-wasm/classes/barcodescanner.html#singleframemode) is used automatically. If the API exists but doesn't work correctly, [Single Frame Mode](https://www.dynamsoft.com/help/Barcode-Reader-wasm/classes/barcodescanner.html#singleframemode) can be used as an alternative.
99+
* [WebAssembly](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/WebAssembly), [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob), [URL/createObjectURL](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL), [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API)
100+
* These four features are required for the library to work.
101+
102+
* Combining the requirements above results in the following table of supported browsers.
103+
104+
> **NOTE**: Apart from the browsers, the operating systems running on the target devices may also impose some limitations of their own that could restrict the use of the library. Therefore, the following table serves as a rough estimation instead of an accurate guideline. Browser compatibility ultimately depends on whether the browser on that particular operating system supports the features listed above.
105+
96106
| Browser Name | Version |
97107
|:-:|:-:|
98108
| Chrome | v57+ (v59+ on Android/iOS<sup>1</sup>) |
@@ -106,6 +116,8 @@ Dynamsoft.BarcodeReader.productKeys = 'PRODUCT-KEYS';
106116

107117
<sup>3</sup> Safari 11.2.2 ~ 11.2.6 are not supported.
108118

119+
>
120+
109121
* Compact and Full Editions
110122

111123
As more and more features are being added to the library, the supporting `wasm` file is getting bigger and bigger. For flexibility, we provide two editions. The compact edition has less features but downloads and compiles faster, on the other hand, the full edition has all features built-in.
Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.browser.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

dist/dbr.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @website http://www.dynamsoft.com
55
* @preserve Copyright 2020, Dynamsoft Corporation
66
* @author Dynamsoft
7-
* @version 7.3.0 (js 20200103)
7+
* @version 7.3.0.1 (js 20200103)
88
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
99
* More info on DBR JS: https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx
1010
*/
@@ -516,15 +516,6 @@ export declare class BarcodeReader {
516516
*/
517517
static BarcodeReaderException(ag0: any, ag1: any): Error;
518518
private _handleRetJsonString;
519-
/**
520-
* The method is only supported in the full feature edition.
521-
* Returns intermediate results containing the original image, the colour clustered image, the binarized Image, contours, Lines, TextBlocks, etc.
522-
* ```js
523-
* let imResults = await reader.getIntermediateResults();
524-
* ```
525-
* @ignore
526-
*/
527-
getIntermediateResults(): Promise<any>;
528519
/**
529520
* Sets the optional argument for a specified mode in Modes parameters.
530521
* ```js
@@ -546,10 +537,19 @@ export declare class BarcodeReader {
546537
* @param argumentName
547538
*/
548539
getModeArgument(modeName: string, index: number, argumentName: string): Promise<string>;
540+
/**
541+
* The method is only supported in the full feature edition.
542+
* Returns intermediate results containing the original image, the colour clustered image, the binarized Image, contours, Lines, TextBlocks, etc.
543+
* ```js
544+
* let imResults = await reader.getIntermediateResults();
545+
* ```
546+
* @ignore
547+
*/
548+
getIntermediateResults(): Promise<any>;
549549
/**
550550
* @ignore
551551
*/
552-
getIntermediateCanvas(): Promise<HTMLCanvasElement | null>;
552+
getIntermediateCanvas(): Promise<HTMLCanvasElement[]>;
553553
/**
554554
* Destructor the `BarcodeReader` object.
555555
* Equivalent to the previous method `deleteInstance()`.

0 commit comments

Comments
 (0)