UNPKG

@idscan/idvc2

Version:

component for the capturing documents

25 lines (24 loc) 751 B
import Face from './Face'; export declare class SimpleFace extends Face { private initialized; private readonly shiftFactor; private readonly minSize; private readonly maxSize; private readonly scaleFactor; constructor(core: any); initPico(data: ImageData): void; rgbaToGrayScale(rgba: any, width: any, height: any): Uint8Array; findFaces({ height, width }: ImageData): void; detect(faceData: ImageData, isUploader?: boolean): { status: boolean; image: any; faceSuccessCount: number; faceFailCount: number; faceNotRecognizedCount: number; touch: boolean; cancel: boolean; type: string; }; dropResults(): void; } export default SimpleFace;