face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
11 lines • 559 B
JavaScript
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/SsdMobilenetv1Options';
import { DetectAllFacesTask, DetectSingleFaceTask } from './DetectFacesTasks';
export function detectSingleFace(input, options) {
if (options === void 0) { options = new SsdMobilenetv1Options(); }
return new DetectSingleFaceTask(input, options);
}
export function detectAllFaces(input, options) {
if (options === void 0) { options = new SsdMobilenetv1Options(); }
return new DetectAllFacesTask(input, options);
}
//# sourceMappingURL=detectFaces.js.map