mirror of https://github.com/vladmandic/human
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
export declare class Pipeline {
|
|
storedBoxes: any;
|
|
boundingBoxDetector: any;
|
|
meshDetector: any;
|
|
irisModel: any;
|
|
boxSize: number;
|
|
meshSize: number;
|
|
irisSize: number;
|
|
irisEnlarge: number;
|
|
skipped: number;
|
|
detectedFaces: number;
|
|
constructor(boundingBoxDetector: any, meshDetector: any, irisModel: any);
|
|
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>;
|
|
}
|