Class BarcodeDetector
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalBarcodeDetector interface of the 'Barcode Detection API' allows detection of linear and two dimensional barcodes in images.
[Value("BarcodeDetector")]
public class BarcodeDetector
- Inheritance
-
BarcodeDetector
- Inherited Members
Remarks
-barcodefaq.com: A website with information about different barcodes and examples of the different types.
-Accelerated Shape Detection in Images
Constructors
BarcodeDetector()
public BarcodeDetector()
BarcodeDetector(BarcodeDetectorOptions)
NOTE
ExperimentalBarcodeDetector() constructor createsa new BarcodeDetector object which detects linear and two-dimensional
barcodes in images.
public BarcodeDetector(BarcodeDetectorOptions barcodeDetectorOptions = null)
Parameters
barcodeDetectorOptionsBarcodeDetectorOptions
Remarks
Methods
Detect(Union93)
NOTE
Experimentaldetect() method of theBarcodeDetector interface returns a {{jsxref('Promise')}} which fulfills
with an 'Array' of detected barcodes within an image.
[Value("detect")]
public Task<List<DetectedBarcode>> Detect(Union93 image)
Parameters
imageUnion93
Returns
- Task<List<DetectedBarcode>>
Returns a 'Promise' which fulfills with an array of
DetectedBarcodeobjects with the following properties:
Remarks
GetSupportedFormats()
NOTE
ExperimentalgetSupportedFormats() static methodof the BarcodeDetector interface returns a {{jsxref('Promise')}} which
fulfills with an 'Array' of supported barcode format types.
[Value("getSupportedFormats")]
public static Task<List<BarcodeFormat>> GetSupportedFormats()
Returns
- Task<List<BarcodeFormat>>
A 'Promise' which fulfills with an 'Array' of
supported barcode format types.