mirror of https://github.com/vladmandic/human
26 lines
819 B
TypeScript
26 lines
819 B
TypeScript
![]() |
export declare class HandPipeline {
|
||
|
handDetector: any;
|
||
|
landmarkDetector: any;
|
||
|
inputSize: number;
|
||
|
storedBoxes: any;
|
||
|
skipped: number;
|
||
|
detectedHands: number;
|
||
|
constructor(handDetector: any, landmarkDetector: any, inputSize: any);
|
||
|
getBoxForPalmLandmarks(palmLandmarks: any, rotationMatrix: any): {
|
||
|
startPoint: number[];
|
||
|
endPoint: any[];
|
||
|
palmLandmarks: any;
|
||
|
};
|
||
|
getBoxForHandLandmarks(landmarks: any): {
|
||
|
startPoint: number[];
|
||
|
endPoint: any[];
|
||
|
palmLandmarks: any;
|
||
|
};
|
||
|
transformRawCoords(rawCoords: any, box2: any, angle: any, rotationMatrix: any): any;
|
||
|
estimateHands(image: any, config: any): Promise<{}[]>;
|
||
|
calculateLandmarksBoundingBox(landmarks: any): {
|
||
|
startPoint: number[];
|
||
|
endPoint: number[];
|
||
|
};
|
||
|
}
|