UNPKG

expo-pose-landmarks

Version:

Pose landmarks detection for Expo using MediaPipe

26 lines 927 B
export declare const initPoseLandmarks: () => Promise<void>; export declare const addPoseDetectedListener: (listener: (result: any) => void) => void; export declare const addStatusListener: (listener: (status: any) => void) => void; export declare const addErrorListener: (listener: (error: any) => void) => void; export declare const removeAllListeners: () => void; export declare const poseLandmarker: (frame: any) => void; export default function withPoseLandmarks(config: any): any; export interface PoseLandmark { x: number; y: number; z: number; visibility?: number; } export interface PoseLandmarksResult { landmarks: PoseLandmark[]; timestamp: number; } export interface PoseLandmarksStatus { status: 'initializing' | 'ready' | 'processing' | 'error'; message?: string; } export interface PoseLandmarksError { error: string; message: string; } //# sourceMappingURL=index.d.ts.map