UNPKG

@vladmandic/face-api

Version:

FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS

6 lines (5 loc) 235 B
export declare type WithAge<TSource> = TSource & { age: number; }; export declare function isWithAge(obj: any): obj is WithAge<{}>; export declare function extendWithAge<TSource>(sourceObj: TSource, age: number): WithAge<TSource>;