UNPKG

angular2-qrscanner

Version:

QrScanner will scan for a QRCode from your Web-cam and return its string representation by drawing the captured image onto a 2D Canvas and use [@LazarSoft/jsqrcode](https://github.com/LazarSoft/jsqrcode) to check for a valid QRCode every *Xms*

8 lines (7 loc) 286 B
import { ReedSolomonDecoder } from "./rsdecoder"; import { QRCodeDataBlockReader } from "./databr"; export declare class Decoder { rsDecoder: ReedSolomonDecoder; correctErrors(codewordBytes: any, numDataCodewords: any): void; decode: (bits: any) => QRCodeDataBlockReader; }