scanbot-web-sdk 2.10.0-beta.2 → 2.10.0-beta.3

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.
@@ -3,6 +3,7 @@ export declare class Barcode {
3
3
  format: BarcodeFormat;
4
4
  text: string;
5
5
  rawBytes: Uint8Array;
6
- constructor(format: BarcodeFormat, text: string, bytes: Uint8Array);
6
+ barcodeImage: Uint8Array;
7
+ constructor(format: BarcodeFormat, text: string, bytes: Uint8Array, barcodeImage: Uint8Array);
7
8
  static fromWorker(input: any): Barcode;
8
9
  }
@@ -12,6 +12,7 @@ export declare class BarcodeScannerConfiguration extends ScannerConfiguration {
12
12
  style?: ViewFinderConfiguration;
13
13
  engineMode?: EngineMode;
14
14
  barcodeFormats?: BarcodeFormat[];
15
+ returnBarcodeImage?: boolean;
15
16
  /**
16
17
  */
17
18
  onBarcodesDetected?: (e: BarcodeResult) => void;
@@ -45,7 +45,7 @@ export default class ScanbotSDK {
45
45
  rotateImageCcw(imageBuffer: ArrayBuffer, rotations: number): Promise<ArrayBuffer>;
46
46
  cropAndRotateImageCcw(imageBuffer: ArrayBuffer, polygon: Polygon, rotations: number): Promise<any>;
47
47
  detectDocument(imageBuffer: ArrayBuffer, acceptedAngleScore?: number, acceptedSizeScore?: number): Promise<ContourDetectionResult>;
48
- detectBarcodes(base64: string, engineMode?: EngineMode, barcodeFormats?: BarcodeFormat[]): Promise<BarcodeResult>;
48
+ detectBarcodes(base64: string, engineMode?: EngineMode, barcodeFormats?: BarcodeFormat[], returnBarcodeImage?: boolean): Promise<BarcodeResult>;
49
49
  createSimpleMRZRecognizer(): Promise<SimpleMrzRecognizer>;
50
50
  createOcrEngine(languages: Array<string>): Promise<OcrEngine>;
51
51
  createBlurDetector(): Promise<BlurDetector>;
package/Libraries.txt CHANGED
@@ -1266,7 +1266,7 @@ and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/
1266
1266
 
1267
1267
  Tensorflow
1268
1268
 
1269
- Version v2.6.1
1269
+ Version v2.10.0
1270
1270
  (https://github.com/tensorflow/tensorflow)
1271
1271
 
1272
1272
  Apache License