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.
 
 
 
 

10 lines
440 B

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[]>;
}