public class EllipticalDetectedFace extends DetectedFace
DetectedFacethat 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.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get the shape of the detection.
binaryHeader, getBounds, getConfidence, getFacePatch, readBinary, setBounds, setConfidence, setFacePatch, writeBinary
public EllipticalDetectedFace(Ellipse ellipse, FImage image, float confidence)
EllipticalDetectedFacefrom the given parameters.
ellipse- the ellipse describing the location of the face in the image
image- the image in which the face was detected
confidence- the confidence of the detection