human/types/handpose/handpose.d.ts

21 lines
545 B
TypeScript
Raw Normal View History

2021-03-17 23:57:00 +01:00
export declare class HandPose {
handPipeline: any;
constructor(handPipeline: any);
static getAnnotations(): {
thumb: number[];
indexFinger: number[];
middleFinger: number[];
ringFinger: number[];
pinky: number[];
palmBase: number[];
};
estimateHands(input: any, config: any): Promise<{
confidence: number;
box: any;
boxRaw: any;
landmarks: any;
annotations: any;
}[]>;
}
export declare function load(config: any): Promise<HandPose>;