UNPKG

ai-face-detection

Version:

This is simple face detection using face-api.js and tensorflow.js

6 lines (5 loc) 326 B
/// <reference types="node" /> import * as faceapi from '@vladmandic/face-api'; export declare function faceDetect(imagePath: string | Buffer): Promise<faceapi.WithAge<faceapi.WithGender<faceapi.WithFaceExpressions<faceapi.WithFaceLandmarks<{ detection: faceapi.FaceDetection; }, faceapi.FaceLandmarks68>>>> | undefined>;