Constructor FaceDetector
FaceDetector(LM)
Creates a face detector over a face detection model.
public FaceDetector(LM model)
Parameters
modelLMA model with face detection (HasFaceDetection), loaded with its tensors.
Exceptions
- ArgumentNullException
modelis null.- InvalidModelException
The model does not detect faces.