FaceAnalyser.removeCompressionArtifacts Method¶
Module: FaceAnalyser
Definition¶
Upscale and enhance the image of a face.
Important
This methods requires the CompressionArtifactRemover
model to be loaded.
remove_compression_artifacts(self, image: Image) -> Image
Parameters
image
Imagein Source image to process.
Returns
The enhanced face.
Exceptions
An error has occurred during Face Library execution.
Image removeCompressionArtifacts(Image image)
Parameters
image
Imagein Source image to process.
Returns
The enhanced face.
Exceptions
An error has occurred during Face Library execution.
public Image RemoveCompressionArtifacts(Image image)
Parameters
image
Imagein Source image to process.
Returns
The enhanced face.
Exceptions
An error has occurred during Face Library execution.
public Image removeCompressionArtifacts(Image image) throws FaceException
Parameters
image
Imagein Source image to process.
Returns
The enhanced face.
Exceptions
An error has occurred during Face Library execution.
public func removeCompressionArtifacts(image: Image) throws -> Image
Parameters
image
Imagein Source image to process.
Returns
The enhanced face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_RemoveCompressionArtifacts (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_FACE_IMAGE hImage,
ID3_FACE_IMAGE hEnhancedImage)
Parameters
hFaceAnalyser
ID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hImage
ID3_FACE_IMAGEin Source image to process.hEnhancedImage
ID3_FACE_IMAGEout The enhanced face.
Returns