ngx-face-api-js
Version:
Angular directives for face detection and face recognition in the browser. It is a wrapper for face-api.js, so it is not dependent on the browser implementation.
10 lines (9 loc) • 339 B
TypeScript
import { ModuleWithProviders } from '@angular/core';
import * as faceapi from 'face-api.js';
export interface NgxFaceApiJsModuleOption {
modelsUrl: string;
faceDetectionOptions?: faceapi.FaceDetectionOptions;
}
export declare class NgxFaceApiJsModule {
static forRoot(options: NgxFaceApiJsModuleOption): ModuleWithProviders;
}