Class FaceMasksServicesImpl
java.lang.Object
cz.fidentis.analyst.engines.face.impl.FaceMasksServicesImpl
Services related to the masks detection and management.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetectFaceMasks
(HumanFace face, Set<SurfaceMaskVariant> variants) Runs automatic detection of face masks for pre-defined parts of the face.
-
Constructor Details
-
FaceMasksServicesImpl
public FaceMasksServicesImpl()
-
-
Method Details
-
detectFaceMasks
public List<SurfaceMask> detectFaceMasks(HumanFace face, Set<SurfaceMaskVariant> variants) throws RemoteServiceUnreachableException, RemoteServiceFailedException, LocalResourceUnavailableException Runs automatic detection of face masks for pre-defined parts of the face.- Parameters:
face
- Human facevariants
- Variants to detect- Returns:
- List of detected face masks
- Throws:
RemoteServiceUnreachableException
- if the service is not running or is unreachableRemoteServiceFailedException
- if the computational request performed with an errorLocalResourceUnavailableException
- if the preparation of data for the service has failed
-