com.google.android.media.effects
Class EffectList

java.lang.Object
  extended by com.google.android.media.effects.EffectList

public class EffectList
extends java.lang.Object

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.

See Also:
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

EFFECT_GOOFY_FACE

public static final java.lang.String EFFECT_GOOFY_FACE

Detects faces in the input frames, and distorts them based on the selected parameters

Parameter nameMeaningValid values
currentEffectSelects the face distortion effectIntegers, 0-6: 0 = Squeeze
1 = Big eyes
2 = Big mouth
3 = Small mouth
4 = Big nose
5 = Small eyes

See Also:
Constant Field Values

EFFECT_VIRTUAL_CAMERA_OPERATOR

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 nameMeaningValid values
timestampTimestamp for the time of capture of the next input frame. Used to time the transition and zooming animations properly. Long, measuring time in nanoseconds

See Also:
Constant Field Values

EFFECT_FACE_TRACKING

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 []

See Also:
Constant Field Values

EFFECT_FACE_TANNING

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 nameMeaningValid values
strength The strength of tanning. Float, between 0 and 1. Zero means no change.

See Also:
Constant Field Values

EFFECT_FACELIFT

public static final java.lang.String EFFECT_FACELIFT

Detects faces in the input image, and smooths wrinkles according to given strength

Available parameters:

Parameter nameMeaningValid values
strength The strength of skin smoothing. Float, between 0 and 1. Zero means no change.

See Also:
Constant Field Values
Constructor Detail

EffectList

public EffectList()