|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.android.media.effects.EffectList
public class EffectList
This class lists the extra effects available in the Google add-on SDK for developers. The usage and parameters for each effect are described with the names.
android.media.effects.Effect
,
android.media.effects.EffectFactory
Field Summary | |
---|---|
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 Summary | |
---|---|
EffectList()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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. |
Constructor Detail |
---|
public EffectList()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |