human/types/blazeface/facepipeline.d.ts

36 lines
1.2 KiB
TypeScript
Raw Normal View History

2021-02-08 18:47:38 +01:00
export declare class Pipeline {
storedBoxes: any;
boundingBoxDetector: any;
meshDetector: any;
irisModel: any;
2021-03-11 16:26:14 +01:00
boxSize: number;
meshSize: number;
2021-02-08 18:47:38 +01:00
irisSize: number;
irisEnlarge: number;
skipped: number;
detectedFaces: number;
2021-03-11 16:26:14 +01:00
constructor(boundingBoxDetector: any, meshDetector: any, irisModel: any);
2021-02-08 18:47:38 +01:00
transformRawCoords(rawCoords: any, box: any, angle: any, rotationMatrix: any): any;
getLeftToRightEyeDepthDifference(rawCoords: any): number;
getEyeBox(rawCoords: any, face: any, eyeInnerCornerIndex: any, eyeOuterCornerIndex: any, flip?: boolean): {
box: {
startPoint: number[];
endPoint: any[];
landmarks: any;
};
boxSize: number[];
crop: any;
};
getEyeCoords(eyeData: any, eyeBox: any, eyeBoxSize: any, flip?: boolean): {
rawCoords: any[][];
iris: any[][];
};
getAdjustedIrisCoords(rawCoords: any, irisCoords: any, direction: any): any;
predict(input: any, config: any): Promise<any>;
calculateLandmarksBoundingBox(landmarks: any): {
startPoint: number[];
endPoint: number[];
landmarks: any;
};
}