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*

33 lines (32 loc) 1.17 kB
export declare class AlignmentPattern { x: any; y: any; count: number; estimatedModuleSize: any; constructor(posX: any, posY: any, estimatedModuleSize: any); readonly EstimatedModuleSize: any; readonly Count: number; readonly X: number; readonly Y: number; incrementCount: () => void; aboutEquals: (moduleSize: any, i: any, j: any) => boolean; } export declare class AlignmentPatternFinder { image: any; possibleCenters: any[]; startX: any; startY: any; width: any; height: any; moduleSize: any; crossCheckStateCount: number[]; resultPointCallback: any; imageWidth: number; imageHeight: number; constructor(image: any, startX: any, startY: any, width: any, height: any, moduleSize: any, imageWidth: number, imageHeight: number, resultPointCallback: any); centerFromEnd: (stateCount: any, end: any) => number; foundPatternCross: (stateCount: any) => boolean; crossCheckVertical: (startI: any, centerJ: any, maxCount: any, originalStateCountTotal: any) => any; handlePossibleCenter: (stateCount: any, i: any, j: any) => AlignmentPattern; find: () => any; }