Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for BarcodeDetector.
Developer library 5
Barcode Detection API
t, a HTMLVideoElement, a HTMLCanvasElement, an ImageBitmap, an OffscreenCanvas, a VideoFrame, a Blob, or an ImageData. Optional parameters can be passed to the BarcodeDetector constructor to provide hints on which barcode formats to detect. ### Supported barcode formats The Barcode Detection API supports the following barcode formats: <table class="no-markdown"> <thead> <tr> <th>Format</th> <th>D
BarcodeDetector
Barcode Detector API The **`BarcodeDetector`** interface of the allows detection of linear and two dimensional barcodes in images. ## Constructors - BarcodeDetector.BarcodeDetector() - : Creates and returns a `BarcodeDetector` object, with optional `BarcodeDetectorOptions`. ## Static methods - getSupportedFormats() - : Returns a Promise which fulfills with an Array of supported [barcode format types](/doc
BarcodeDetector: getSupportedFormats() static method
Barcode Detector API The **`getSupportedFormats()`** static method of the BarcodeDetector interface returns a Promise which fulfills with an Array of supported barcode format types. ## Syntax ```js-nolint BarcodeDetector.getSupportedFormats() ``` ### Parameters None. ### Return value A Promise which fulfills with an Array of [supported barcode format types](/docs/Web/API/Barcode_Detection_API#supported_barcode
BarcodeDetector: detect() method
Barcode Detector API The **`detect()`** method of the BarcodeDetector interface returns a Promise which fulfills with an Array of detected barcodes within an image. ## Syntax ```js-nolint detect(imageBitmapSource) ``` ### Parameters - `imageBitmapSource` - : Receives an image source as a parameter. This can be a HTMLImageElement, a SVGImageElement, a HTMLVideoElement, a HTMLCanvasElement, an ImageBitmap, an Of
BarcodeDetector: BarcodeDetector() constructor
Barcode Detector API The **`BarcodeDetector()`** constructor creates a new BarcodeDetector object which detects linear and two-dimensional barcodes in images. ## Syntax ```js-nolint new BarcodeDetector() new BarcodeDetector(options) ``` ### Parameters - `options` - : An options object containing a series of `BarcodeFormats` to search for in the subsequent detect() calls. The options are: - `format