| Modifier and Type | Method and Description |
|---|---|
Rectangle |
TrackedFace.getBounds()
Gets the bounds of the detected face.
|
Rectangle |
DetectedFace.getBounds()
Gets the bounds of the detected face.
|
Rectangle |
TrackedFace.getExpandedBounds(float aspectRatio,
float margin)
Gets the bounding box around the detected face with specified aspect ratio and specified margin.
|
Rectangle |
DetectedFace.getExpandedBounds(float aspectRatio,
float margin)
Gets the bounding box around the detected face with specified aspect ratio and specified margin.
|
Rectangle |
TrackedFace.getPortraitBounds(float eyeImageWidthRatio,
float eyeImageHeightRatio,
float imageRatio)
Gets the bounding box of the detected face for ICAO portrait cropping.
|
Rectangle |
DetectedFace.getPortraitBounds(float eyeImageWidthRatio,
float eyeImageHeightRatio,
float imageRatio)
Gets the bounding box of the detected face for ICAO portrait cropping.
|
Rectangle |
TrackedFace.getPredictedBounds()
Gets the predicted bounds of the tracked face.
|
| Modifier and Type | Method and Description |
|---|---|
static TrackedFace |
TrackedFace.create(Rectangle bounds,
int detectionScore,
int id,
PointList landmarks)
Creates a detected face.
|
static DetectedFace |
DetectedFace.create(Rectangle bounds,
int detectionScore,
int id,
PointList landmarks)
Creates a 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.
|
void |
TrackedFace.setBounds(Rectangle bounds)
Sets the bounds of the detected face.
|
void |
DetectedFace.setBounds(Rectangle bounds)
Sets the bounds of the detected face.
|
| Constructor and Description |
|---|
Rectangle(Rectangle rectangle)
Initializes a new instance of the Rectangle class by copying another Rectangle.
|
Copyright © id3 Technologies. All rights reserved. eu.id3.face