public class EffectList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EFFECT_FACE_TANNING
Detects faces in the input image, and tans face skin according to given
strength
|
static java.lang.String |
EFFECT_FACE_TRACKING
Detects and tracks faces in the input frames, call setUpdateListener to get the
face data
|
static java.lang.String |
EFFECT_FACELIFT
Detects faces in the input image, and smooths wrinkles according to given strength
|
static java.lang.String |
EFFECT_GOOFY_FACE
Detects faces in the input frames, and distorts them based on the selected parameters
|
static java.lang.String |
EFFECT_VIRTUAL_CAMERA_OPERATOR
Detects faces in the input frames, and zooms in on the person currently speaking.
|
Constructor and Description |
---|
EffectList() |
public static final java.lang.String EFFECT_GOOFY_FACE
Detects faces in the input frames, and distorts them based on the selected parameters
Parameter name | Meaning | Valid values |
---|---|---|
currentEffect | Selects the face distortion effect | Integers, 0-6:
0 = Squeeze 1 = Big eyes 2 = Big mouth 3 = Small mouth 4 = Big nose 5 = Small eyes |
public static final java.lang.String EFFECT_VIRTUAL_CAMERA_OPERATOR
Detects faces in the input frames, and zooms in on the person currently speaking.
Parameter name | Meaning | Valid values |
---|---|---|
timestamp | Timestamp for the time of capture of the next input frame. Used to time the transition and zooming animations properly. | Long, measuring time in nanoseconds |
public static final java.lang.String EFFECT_FACE_TRACKING
Detects and tracks faces in the input frames, call setUpdateListener to get the face data
Listener callback Object type is: android.hardware.Camera.Face []
public static final java.lang.String EFFECT_FACE_TANNING
Detects faces in the input image, and tans face skin according to given strength
Available parameters:
Parameter name | Meaning | Valid values |
---|---|---|
strength |
The strength of tanning. | Float, between 0 and 1. Zero means no change. |
public static final java.lang.String EFFECT_FACELIFT
Detects faces in the input image, and smooths wrinkles according to given strength
Available parameters:
Parameter name | Meaning | Valid values |
---|---|---|
strength |
The strength of skin smoothing. | Float, between 0 and 1. Zero means no change. |