Package cz.fidentis.analyst.engines.face
Interface FaceLandmarksServices
public interface FaceLandmarksServices
Service for the autodetection of landmarks.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionDetects landmarks on a given human face using an external landmark detection service.
-
Method Details
-
automaticallyDetectLandmarks
static List<Landmark> automaticallyDetectLandmarks(HumanFace face) throws LocalResourceUnavailableException, RemoteServiceFailedException, RemoteServiceUnreachableException Detects landmarks on a given human face using an external landmark detection service.This method creates an OpenAPI-generated client, sends a request to an external service for automatic landmark detection, and returns a list of detected landmarks.
- Parameters:
face
- TheHumanFace
object representing the face for which landmarks should be detected.- Returns:
- A list of detected landmarks.
- 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
-