3DiVi Face SDK
3.24.2
|
Classes | |
class | face_sdk.modules.ir_frame_raw.IRFrameRaw |
An IR frame aligned with the original color image. More... | |
class | face_sdk.modules.ir_liveness_estimator.Liveness |
Estimated liveness. More... | |
class | face_sdk.modules.ir_liveness_estimator.IRLivenessEstimator |
Interface object used to estimate face liveness in order to prevent spoofing attacks. More... | |
Functions | |
def | face_sdk.modules.ir_frame_raw.IRFrameRaw.__init__ |
Height of an IR frame. More... | |
def | face_sdk.modules.ir_frame_raw.IRFrameRaw.read_ir_frame |
A function that loads a IR frame from a file and converts it to a uint16 array. | |
def | face_sdk.modules.ir_liveness_estimator.IRLivenessEstimator.estimate_liveness |
Estimates liveness of an observed face. More... | |
Variables | |
int | face_sdk.modules.ir_liveness_estimator.Liveness.NOT_ENOUGH_DATA = 0 |
Not enough information. | |
int | face_sdk.modules.ir_liveness_estimator.Liveness.REAL = 1 |
The observed face belongs to a real person. | |
int | face_sdk.modules.ir_liveness_estimator.Liveness.FAKE = 2 |
The observed face is taken from a photo. | |
int | face_sdk.modules.ir_liveness_estimator.Liveness.NOT_COMPUTED = 3 |
The observed face was not checked. | |
def face_sdk.modules.ir_frame_raw.IRFrameRaw.__init__ | ( | self | ) |
Height of an IR frame.
Width of an IR frame.
Parameter of correspondence between the coordinates of an original image and an IR frame.
Parameter of correspondence between the coordinates of the original image and depth map.
Parameter of correspondence between the coordinates of an original image and an IR frame.
Parameter of correspondence between the coordinates of an original image and an IR frame.
The horizontal viewing angle of an IR frame in degrees.
The vertical viewing angle of an IR frame in degrees.
Pointer to the IR data.
Stride in bytes.
def face_sdk.modules.ir_liveness_estimator.IRLivenessEstimator.estimate_liveness | ( | self, | |
sample | |||
) |
Estimates liveness of an observed face.
The given IR frame must be synchronized and aligned with the original image from which the sample was captured.
[in] | sample | Face sample. |
[in] | ir_frame | IR Frame. |