jsqr
Version:
A pure javascript QR code reading library that takes in raw images and will locate, extract and parse any QR code found within.
14 lines (13 loc) • 312 B
TypeScript
import { BitMatrix } from "../BitMatrix";
export interface Point {
x: number;
y: number;
}
export interface QRLocation {
topRight: Point;
bottomLeft: Point;
topLeft: Point;
alignmentPattern: Point;
dimension: number;
}
export declare function locate(matrix: BitMatrix): QRLocation[];