You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
440 B
11 lines
440 B
10 months ago
|
import { BarcodeDetectorOptions, BarcodeFormat, DetectedBarcode } from "./basic-types";
|
||
|
import SleepyWorker from "./SleepyWorker";
|
||
|
export default class BarcodeDetector {
|
||
|
worker: SleepyWorker;
|
||
|
workerLoad: number;
|
||
|
messageCount: number;
|
||
|
constructor(barcodeDetectorOptions?: BarcodeDetectorOptions);
|
||
|
static getSupportedFormats(): Promise<BarcodeFormat[]>;
|
||
|
detect(image: ImageBitmapSource): Promise<DetectedBarcode[]>;
|
||
|
}
|