3DiVi Face SDK
3.21.0
|
Classes | |
class | face_sdk.modules.capturer.CapturerType |
Capturer types (see also RawSample.SampleType). More... | |
class | face_sdk.modules.capturer.Capturer |
Interface object for detecting or tracking of faces in the images or video sequences. More... | |
Functions | |
def | face_sdk.modules.capturer.Capturer.__init__ |
def | face_sdk.modules.capturer.Capturer.capture |
Capture faces in a given image or video frame. More... | |
def | face_sdk.modules.capturer.Capturer.manual_capture |
Create a sample manually with the marked eye positions. More... | |
def | face_sdk.modules.capturer.Capturer.get_type |
Get a capturer type. More... | |
def | face_sdk.modules.capturer.Capturer.reset_history |
Forget all previous frames and faces (only affects trackers). | |
def | face_sdk.modules.capturer.Capturer.set_parameter |
Change the parameter value in runtime. More... | |
Variables | |
int | face_sdk.modules.capturer.CapturerType.CAPTURER_TYPE_FRONTAL = 0 |
Only frontal-oriented faces will be captured. | |
int | face_sdk.modules.capturer.CapturerType.CAPTURER_TYPE_LEFT_PROFILE = 1 |
Only left-profile-oriented faces will be captured. | |
int | face_sdk.modules.capturer.CapturerType.CAPTURER_TYPE_RIGHT_PROFILE = 2 |
Only right-profile-oriented faces will be captured. | |
def face_sdk.modules.capturer.Capturer.capture | ( | self, | |
data | |||
) |
Capture faces in a given image or video frame.
[in] | data | Image or videoframe. |
def face_sdk.modules.capturer.Capturer.get_type | ( | self, | |
CapturerType | |||
) |
Get a capturer type.
def face_sdk.modules.capturer.Capturer.manual_capture | ( | self, | |
data | |||
) |
Create a sample manually with the marked eye positions.
[in] | image | Image. |
[in] | left_eye_x | X coordinate of the left eye. |
[in] | left_eye_y | Y coordinate of the left eye. |
[in] | right_eye_x | X coordinate of the right eye. |
[in] | right_eye_y | Y coordinate of the right eye. |
def face_sdk.modules.capturer.Capturer.set_parameter | ( | self, | |
parameter | |||
) |
Change the parameter value in runtime.
[in] | parameter | Parameter name (tag name in the .xml config file). |
[in] | value | New parameter value. |