FacePad.detectAttackSupport Method

Module: FacePad

Definition

Detects if an attack support surrounds the detected face.

The recommended usage is to consider the image to be an attack as soon as an attack support is detected.

Important

Loading the FaceAttackSupportDetector model is required to use this function.

DetectedFaceAttackSupport detectAttackSupport(Image image, DetectedFace detectedFace)

Parameters

image Image
in Source image to process.

detectedFace DetectedFace
in Detected face to process.

Returns

The detected face attack support.

Exceptions

An error has occurred during Face Library execution.