Detection
Face detector
- class apps.expert.data.detection.face_detector.FaceDetector(model_selection: int = 0, min_detection_confidence: float = 0.5, max_num_faces: int = 1)[source]
Bases:
objectFace detection and embedding implementation.
FaceDetector processes an BGR image and returns a list of the detected face embeddings and bounding boxes.
Example
>>> face_detector = FaceDetector(model_selection=0, min_detection_confidence=0.9)