DetectedFace Class¶
Namespace: id3.Face
Definition¶
Properties¶
Static Methods¶
Name |
Description |
|---|---|
Creates a detected face. |
|
Imports the face object from a buffer. |
|
Imports the face object from a file. |
Methods¶
Name |
Description |
|---|---|
Clones the DetectedFace object. |
|
Gets the distance between the detected face and the camera when using a depth map in pixels. |
|
Gets the bounding box around the detected face with specified aspect ratio and specified margin. |
|
Gets the distance between the eyes (IOD) of the detected face in pixels. |
|
Gets the bounding box of the detected face for ICAO portrait cropping. |
|
Rescales the detected face object bounding box and landmarks. This function can be useful if the image was downscaled to speed up detection, then you need to upscale the detected face to fit the source image size. |
|
Rotates the face object by a given angle in degrees from a given center. |
|
Exports the face object to a buffer. |
|
Saves the face object to a file. |
|
Translates the face object. |