FaceAnalyser.detectOcclusions Method¶
Module: FaceAnalyser
Definition¶
Detects the presence of occlusions on top of a detected face.
Important
Loading the FaceOcclusionDetector1A model is required to use this function.
detect_occlusions(self, image: Image, detected_face: DetectedFace) -> FaceOcclusionScores
Parameters
Returns
The occlusion scores of the detected face.
Exceptions
An error has occurred during Face Library execution.
FaceOcclusionScores detectOcclusions(Image image, DetectedFace detectedFace)
Parameters
Returns
The occlusion scores of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FaceOcclusionScores DetectOcclusions(Image image, DetectedFace detectedFace)
Parameters
Returns
The occlusion scores of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FaceOcclusionScores detectOcclusions(Image image, DetectedFace detectedFace) throws FaceException
Parameters
Returns
The occlusion scores of the detected face.
Exceptions
An error has occurred during Face Library execution.
public func detectOcclusions(image: Image, detectedFace: DetectedFace) throws -> FaceOcclusionScores
Parameters
Returns
The occlusion scores of the detected face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_DetectOcclusions (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_FACE_IMAGE hImage,
ID3_DETECTED_FACE hDetectedFace,
id3FaceOcclusionScores * sScores)
Parameters
hFaceAnalyser
ID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hImage
ID3_FACE_IMAGEin Source image to process.hDetectedFace
ID3_DETECTED_FACEin Detected face to process.sScores
id3FaceOcclusionScores *out The occlusion scores of the detected face.
Returns