| Modifier and Type | Method and Description |
|---|---|
Image |
FaceAnalyser.applyAlphaMask(Image image,
Image mask)
Applies an alpha mask to suppress the background and returns a 32-bit BGRA image.
|
Image |
FaceAnalyser.applyMask(Image image,
Image mask,
int red,
int green,
int blue)
Applies a mask to replace the background with the specified color and returns a 24-bit BGR image.
|
Image |
Image.clone()
Creates a copy of the Image object.
|
Image |
Image.crop(int left,
int top,
int width,
int height)
Crop a rectangular region of interest in the image according to the given bounds.
|
Image |
PortraitProcessor.cropIcaoPortrait(Portrait portrait)
Creates an ICAO-compliant portrait image by cropping the source image around the detected face.
|
Image |
PortraitProcessor.cropPortrait(Portrait portrait)
Creates a portrait image by cropping the source image around the detected face.
|
Image |
Image.extractRoi(Rectangle bounds)
Extracts a region of interest in the image according to the given bounds.
|
Image |
Image.extractRoiWithColor(Rectangle bounds,
int colorRed,
int colorGreen,
int colorBlue)
Extracts a region of interest in the image according to the given bounds.
|
static Image |
Image.fromBuffer(byte[] data,
PixelFormat pixelFormat)
Creates an Image from the specified data buffer.
|
static Image |
Image.fromFile(java.lang.String filepath,
PixelFormat pixelFormat)
Creates an Image from the specified file.
|
static Image |
Image.fromRawBuffer(byte[] pixels,
int width,
int height,
int stride,
PixelFormat srcPixelFormat,
PixelFormat dstPixelFormat)
Creates an Image from the specified raw data buffer.
|
static Image |
Image.fromYuvPlanes(byte[] yPlane,
byte[] uPlane,
byte[] vPlane,
int yWidth,
int yHeight,
int uvPixelStride,
int uvRowStride,
PixelFormat dstPixelFormat)
Creates an Image from the specified YUV planes.
|
Image |
ImageList.get(int index)
Gets an item of the ImageList object.
|
Image |
ImageDict.get(java.lang.String key)
Gets an item of the ImageDict object.
|
Image |
Portrait.getImage()
Gets the source image.
|
Image |
FaceAnalyser.removeCompressionArtifacts(Image image)
Upscale and enhance the image of a face.
|
Image |
FaceAnalyser.segmentBackground(Image image)
Computes face segmentation mask for background removal.
|
Image |
FaceAnalyser.segmentFace(Image image)
Computes a segmentation map of a face.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Image> |
ImageList.iterator() |
java.util.Iterator<Image> |
ImageDict.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
ImageList.add(Image imageItem)
Adds an item to the ImageList object.
|
void |
ImageDict.add(java.lang.String key,
Image imageItem)
Adds an item to the ImageDict object.
|
Image |
FaceAnalyser.applyAlphaMask(Image image,
Image mask)
Applies an alpha mask to suppress the background and returns a 32-bit BGRA image.
|
Image |
FaceAnalyser.applyMask(Image image,
Image mask,
int red,
int green,
int blue)
Applies a mask to replace the background with the specified color and returns a 24-bit BGR image.
|
boolean |
FaceAnalyser.checkColorizedImage(Image image)
Verifies if an image is colorized or grayscale.
|
float |
Image.compare(Image cmpImage)
Computes the difference with another image.
|
int |
FaceAnalyser.computeAge(Image image,
DetectedFace detectedFace)
Computes the age of a detected face.
|
FaceAttributes |
FaceAnalyser.computeAttributes(Image image,
DetectedFace detectedFace)
Computes the attributes of a detected face.
|
BackgroundUniformity |
FaceAnalyser.computeBackgroundUniformity(Image image,
DetectedFace detectedFace)
Computes the background uniformity behind a detected face.
|
int |
FacePad.computeBlurrinessScore(Image image,
DetectedFace detectedFace)
Computes a blurriness score for a color image.
|
ColorBasedPadResult |
FacePad.computeColorBasedScore(Image image,
DetectedFace detectedFace)
Computes the PAD score and confidence of a detected face using only the color image.
|
int |
FacePad.computeDepthBasedScore(Image image,
DetectedFace detectedFace)
Computes the PAD score of a detected face using a depth map image.
|
FaceExpression |
FaceAnalyser.computeExpression(Image image,
DetectedFace detectedFace)
Computes the expression of a detected face.
|
EyeGaze |
FaceAnalyser.computeEyeGaze(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the eye gaze of a detected face.
|
int[] |
FaceAnalyser.computeEyeOpenness(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the eye openness of a detected face.
|
int[] |
FaceAnalyser.computeEyeRedness(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the eye redness of a detected face.
|
GeometricAttributes |
FaceAnalyser.computeGeometricAttributes(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the geometric attributes of a detected face.
|
GlassesAttributes |
FaceAnalyser.computeGlassesAttributes(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the glasses attributes of a detected face.
|
PointList |
FaceAnalyser.computeLandmarks(Image image,
DetectedFace detectedFace)
Computes 68 landmarks of a detected face.
|
int |
FaceAnalyser.computeNoise(Image image)
Measures the image noise.
|
PhotographicAttributes |
FaceAnalyser.computePhotographicAttributes(Image image,
DetectedFace detectedFace,
PointList landmarks)
Computes the photographic attributes of a detected face.
|
int |
FaceEncoder.computeQuality(Image image,
DetectedFace detectedFace)
Computes the quality of a detected face.
|
Portrait |
PortraitProcessor.createPortrait(Image image)
Analyses an image and creates a portrait with the first detected face or the currently tracked face if the update parameter is activated.
|
FaceTemplate |
FaceEncoder.createTemplate(Image image,
DetectedFace detectedFace)
Extracts the unique features of a detected face and store them in a FaceTemplate.
|
DetectedFaceAttackSupport |
FacePad.detectAttackSupport(Image image,
DetectedFace detectedFace)
Detects if an attack support surrounds the detected face.
|
int |
FaceAnalyser.detectFaceMask(Image image,
DetectedFace detectedFace)
Detects the presence of a face mask on a detected face.
|
DetectedFaceList |
FaceDetector.detectFaces(Image image)
Detects faces in an image and store their info in a DetectedFaceList object.
|
void |
FaceTracker.detectFaces(Image image,
TrackedFaceList trackedFaceList)
Detects faces in an image and update their info in a TrackedFaceList object.
|
FaceOcclusionScores |
FaceAnalyser.detectOcclusions(Image image,
DetectedFace detectedFace)
Detects occlusions on the subject's face.
|
float |
Image.downscaleTo(Image dstImage,
int maxSize)
Downscales the image so that its maximum dimension equals the given maximum size, while preserving the aspect ratio.
|
void |
Image.flipTo(boolean flipHorizontally,
boolean flipVertically,
Image dstImage)
Flips the image.
|
int |
TrackedFace.getDistanceToCamera(Image depthImage)
Gets the distance between the detected face and the camera when using a depth map in pixels.
|
int |
DetectedFace.getDistanceToCamera(Image depthImage)
Gets the distance between the detected face and the camera when using a depth map in pixels.
|
void |
PortraitProcessor.removeBackground(Image image,
int red,
int green,
int blue)
Removes the background on the specified portrait image.
|
Image |
FaceAnalyser.removeCompressionArtifacts(Image image)
Upscale and enhance the image of a face.
|
void |
Image.resizeTo(int width,
int height,
Image dstImage)
Resizes the image to the specified width and height.
|
void |
Image.rotateTo(int angle,
Image dstImage)
Rotates the image to the specified angle.
|
Image |
FaceAnalyser.segmentBackground(Image image)
Computes face segmentation mask for background removal.
|
Image |
FaceAnalyser.segmentFace(Image image)
Computes a segmentation map of a face.
|
void |
ImageList.set(int index,
Image imageItem)
Sets an item of the ImageList object.
|
void |
ImageDict.set(java.lang.String key,
Image imageItem)
Sets an item of the ImageDict object.
|
void |
FaceDetector.trackFaces(Image image,
DetectedFaceList detectedFaceList)
Tracks faces in an image and update their info in a DetectedFaceList object.
|
void |
FaceTracker.trackFaces(Image image,
TrackedFaceList trackedFaceList)
Tracks faces in an image and update their info in a TrackedFaceList object.
|
void |
PortraitProcessor.updatePortrait(Portrait portrait,
Image image)
Analyses an image and updates the specified portrait with the first detected face or the currently tracked face.
|
Copyright © id3 Technologies. All rights reserved. eu.id3.face