This opertator detects faces in the images by using RetinaFace Detector[1]. It will returns the bounding box positions and the confidence scores of detected faces. This repo is a adopataion from [2].
```python
from towhee import ops
model = ops.face_detection.retinaface()
embedding = model(img)
```
## Factory Constructor
Create the operator via the following factory method
***ops.face_detection.retinaface()***
## Interface
A face detection operator takes an image as input. it generates the bounding box position and confidence score back to ndarray.