PortraitProcessor.updatePortrait Method¶
Module: PortraitProcessor
Definition¶
Analyses an image and updates the specified portrait with the first detected face or the currently tracked face.
This method performs the following tasks:
Face detection and tracking with prediction models
Landmark detection (68 points)
Head pose estimation
Verification of subject position
Template encoding and updating
Geometric attributes computation
Unified quality score computation
Important
This method requires the FaceDetector, FaceEncoder, FaceLandmarksEstimator and FacePoseEstimator models to be loaded.
void updatePortrait(Portrait portrait, Image image)
Parameters
Exceptions
An error has occurred during Face Library execution.