2020-08-20 02:10:42 +02:00
|
|
|
import { DetectAllFacesTask, DetectSingleFaceTask } from './DetectFacesTasks';
|
|
|
|
import { TinyFaceDetectorOptions } from '../tinyFaceDetector/TinyFaceDetectorOptions';
|
|
|
|
export function detectSingleFace(input, options = new TinyFaceDetectorOptions()) {
|
|
|
|
return new DetectSingleFaceTask(input, options);
|
2020-08-18 14:04:33 +02:00
|
|
|
}
|
2020-08-20 02:10:42 +02:00
|
|
|
export function detectAllFaces(input, options = new TinyFaceDetectorOptions()) {
|
|
|
|
return new DetectAllFacesTask(input, options);
|
2020-08-18 14:04:33 +02:00
|
|
|
}
|
|
|
|
//# sourceMappingURL=detectFaces.js.map
|