glodrei
Version:
useful add-ons for react-three-fiber
16 lines (15 loc) • 622 B
TypeScript
import * as React from 'react';
import { ReactNode } from 'react';
import type { FaceLandmarker as FaceLandmarkerImpl, FaceLandmarkerOptions } from '@mediapipe/tasks-vision';
type FaceLandmarkerProps = {
basePath?: string;
options?: FaceLandmarkerOptions;
children?: ReactNode;
};
export declare const FaceLandmarkerDefaults: {
basePath: string;
options: FaceLandmarkerOptions;
};
export declare const FaceLandmarker: React.ForwardRefExoticComponent<FaceLandmarkerProps & React.RefAttributes<FaceLandmarkerImpl>>;
export declare function useFaceLandmarker(): FaceLandmarkerImpl | undefined;
export {};