WebIDLpedia

FaceDetector interface

Definition

Accelerated Shape Detection in Images defines FaceDetector

[Exposed=(Window,Worker),
 SecureContext]
interface FaceDetector {
  constructor(optional FaceDetectorOptions faceDetectorOptions = {});
  Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
};

Methods and attributes that return objects implementing FaceDetector