3DiVi Face SDK  3.24.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
Capturer

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.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.
 

Detailed Description

Function Documentation

def face_sdk.modules.capturer.Capturer.capture (   self,
  data 
)

Capture faces in a given image or video frame.

Parameters
[in]dataImage or videoframe.
Returns
Vector of captured face samples.
Warning
Gray-scale images are not supported by the objects created with some configuration files.
def face_sdk.modules.capturer.Capturer.get_type (   self,
  CapturerType 
)

Get a capturer type.

Returns
Type of the capturer.
def face_sdk.modules.capturer.Capturer.manual_capture (   self,
  data 
)

Create a sample manually with the marked eye positions.

Parameters
[in]imageImage.
[in]left_eye_xX coordinate of the left eye.
[in]left_eye_yY coordinate of the left eye.
[in]right_eye_xX coordinate of the right eye.
[in]right_eye_yY coordinate of the right eye.
Returns
Captured face sample.
def face_sdk.modules.capturer.Capturer.set_parameter (   self,
  parameter 
)

Change the parameter value in runtime.

Parameters
[in]parameterParameter name (tag name in the .xml config file).
[in]valueNew parameter value.