public class EllipticalDetectedFace extends DetectedFace
DetectedFace that represents the detection by an
ellipse. The patch is extracted from the oriented bounding box surrounding
the detection ellipse. The Ellipse.getRotation() is assumed to point
towards the bottom of the face; this means a rotation of +pi/2 equates to an
upright detection.bounds, confidence, facePatch| Constructor and Description |
|---|
EllipticalDetectedFace(Ellipse ellipse,
FImage image,
float confidence)
Construct the
EllipticalDetectedFace from the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
Shape |
getShape()
Get the shape of the detection.
|
binaryHeader, getBounds, getConfidence, getFacePatch, readBinary, setBounds, setConfidence, setFacePatch, writeBinarypublic EllipticalDetectedFace(Ellipse ellipse, FImage image, float confidence)
EllipticalDetectedFace from the given parameters.ellipse - the ellipse describing the location of the face in the imageimage - the image in which the face was detectedconfidence - the confidence of the detectionpublic Shape getShape()
DetectedFacegetShape in class DetectedFace