3DiVi Face SDK
3.21.0
|
Interface object for detecting or tracking of faces in the images or video sequences. More...
Classes | |
enum | CapturerType |
Capturer types (see also RawSample.SampleType). More... | |
Public Member Functions | |
void | dispose () |
Release internal object. | |
boolean | isDisposed () |
Check if an object is released. More... | |
Vector< RawSample > | capture (final RawImage image) |
Capture faces in a given image or video frame. More... | |
Vector< RawSample > | capture (final byte[] data) |
Capture faces in a given image or video frame. More... | |
RawSample | manualCapture (final RawImage image, float left_eye_x, float left_eye_y, float right_eye_x, float right_eye_y) |
Create a sample manually with the marked eye positions. More... | |
RawSample | manualCapture (final RawImage image, final Vector< Point > points) |
Create a sample manually with the marked positions of all points. Used only to adjust the position of points. More... | |
RawSample | manualCapture (final byte[] data, float left_eye_x, float left_eye_y, float right_eye_x, float right_eye_y) |
Create a sample manually with the marked eye positions. More... | |
RawSample | manualCapture (final byte[] data, final Vector< Point > points) |
Create a sample manually with the marked positions of all points. Used only to adjust the position of points. More... | |
void | resetHistory () |
Forget all previous frames and faces (only affects trackers). | |
CapturerType | getType () |
Get a capturer type. More... | |
void | setParameter (final String parameter, final double value) |
Change the parameter value in runtime. More... | |
Interface object for detecting or tracking of faces in the images or video sequences.
Capture faces in a given image or video frame.
[in] | image | Image or videoframe. |
|
inline |
Capture faces in a given image or video frame.
[in] | data | An array of bytes of the encoded image or videoframe with 8 or 24 bits per pixel. Supported formats are JPEG, PNG, TIF and BMP. |
|
inline |
Get a capturer type.
|
inline |
Check if an object is released.
|
inline |
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. |
|
inline |
Create a sample manually with the marked positions of all points. Used only to adjust the position of points.
[in] | image | Image. |
[in] | points | List of points. It should be of the same size and the points should be in the same order as in the list received from RawSample.getLandmarks from the original sample. |
|
inline |
Create a sample manually with the marked eye positions.
[in] | data | An array of bytes of the encoded image or videoframe with 8 or 24 bits per pixel. Supported formats are JPEG, PNG, TIF and BMP. |
[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. |
|
inline |
Create a sample manually with the marked positions of all points. Used only to adjust the position of points.
[in] | data | An array of bytes of the encoded image or videoframe with 8 or 24 bits per pixel. Supported formats are JPEG, PNG, TIF and BMP. |
[in] | points | List of points. It should be of the same size, and the points should be in the same order as in the list received from RawSample.getLandmarks from the original sample. |
|
inline |
Change the parameter value in runtime.
[in] | parameter | Parameter name (tag name in the .xml config file). |
[in] | value | New parameter value. |