A C D E F G I L M O P R S T V 

A

AffdexException - Exception in com.affectiva.android.affdex.sdk
 
AffdexException(String) - Constructor for exception com.affectiva.android.affdex.sdk.AffdexException
 
AffdexException(String, Throwable) - Constructor for exception com.affectiva.android.affdex.sdk.AffdexException
 

C

CameraDetector - Class in com.affectiva.android.affdex.sdk.detector
A Detector for processing a stream of frames received from the device's camera
CameraDetector(Context, CameraDetector.CameraType, SurfaceView) - Constructor for class com.affectiva.android.affdex.sdk.detector.CameraDetector
Creates a CameraDetector.
CameraDetector.CameraEventListener - Interface in com.affectiva.android.affdex.sdk.detector
Reports events related to the handling of the Android Camera by CameraDetector.
CameraDetector.CameraType - Enum in com.affectiva.android.affdex.sdk.detector
This enumeration is used to specify which camera to use during recording.
colorFormat - Variable in class com.affectiva.android.affdex.sdk.Frame
 
com.affectiva.android.affdex.sdk - package com.affectiva.android.affdex.sdk
 
com.affectiva.android.affdex.sdk.detector - package com.affectiva.android.affdex.sdk.detector
 

D

Detector - Class in com.affectiva.android.affdex.sdk.detector
Welcome to the Affdex SDK for Android! With this SDK, your app will be able to detect facial expressions using the built-in camera, or via a file on your device.
Detector.FaceListener - Interface in com.affectiva.android.affdex.sdk.detector
 
Detector.ImageListener - Interface in com.affectiva.android.affdex.sdk.detector
This interface provides methods that the Detector uses to communicate to users of the class.

E

emotions - Variable in class com.affectiva.android.affdex.sdk.detector.Face
 
expressions - Variable in class com.affectiva.android.affdex.sdk.detector.Face
 

F

Face - Class in com.affectiva.android.affdex.sdk.detector
Represents a face found within a processed Frame
Face() - Constructor for class com.affectiva.android.affdex.sdk.detector.Face
 
Face.Emotions - Class in com.affectiva.android.affdex.sdk.detector
A container for emotion metric scores.
Face.Emotions() - Constructor for class com.affectiva.android.affdex.sdk.detector.Face.Emotions
 
Face.Expressions - Class in com.affectiva.android.affdex.sdk.detector
A container for expression metric scores.
Face.Expressions() - Constructor for class com.affectiva.android.affdex.sdk.detector.Face.Expressions
 
Face.Measurements - Class in com.affectiva.android.affdex.sdk.detector
A container for measurement metric scores.
Face.Measurements() - Constructor for class com.affectiva.android.affdex.sdk.detector.Face.Measurements
 
Face.Measurements.Orientation - Class in com.affectiva.android.affdex.sdk.detector
A container for orientation scores.
Face.Measurements.Orientation() - Constructor for class com.affectiva.android.affdex.sdk.detector.Face.Measurements.Orientation
 
Frame - Class in com.affectiva.android.affdex.sdk
A wrapper class for images, which can originate from different types (like byte[] and Bitmap).
Frame() - Constructor for class com.affectiva.android.affdex.sdk.Frame
 
Frame.BitmapFrame - Class in com.affectiva.android.affdex.sdk
A class to wrap an image in a Bitmap format to a Frame readable by the SDK.
Frame.BitmapFrame(Bitmap, Frame.COLOR_FORMAT) - Constructor for class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
Constructs a BitmapFrame that wraps the specified Bitmap.
Frame.ByteArrayFrame - Class in com.affectiva.android.affdex.sdk
A class to wrap an image in a byte array format to a Frame readable by the SDK.
Frame.ByteArrayFrame(byte[], int, int, Frame.COLOR_FORMAT) - Constructor for class com.affectiva.android.affdex.sdk.Frame.ByteArrayFrame
Constructs a ByteArrayFrame that wraps the specified byte array.
Frame.COLOR_FORMAT - Enum in com.affectiva.android.affdex.sdk
Defines the Frame's color format.
Frame.ROTATE - Enum in com.affectiva.android.affdex.sdk
Defines the desired rotation before processing.
FrameDetector - Class in com.affectiva.android.affdex.sdk.detector
A Detector used to process a sequence of pushed frames.
FrameDetector(Context) - Constructor for class com.affectiva.android.affdex.sdk.detector.FrameDetector
Creates a FrameProcessor.
frameReady(byte[], int, int, Frame.COLOR_FORMAT, long, Frame.ROTATE) - Method in class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
 

G

getAnger() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Anger score, a float in the range [0,100].
getAttention() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Attention score, a float in the range [0,100].
getBitmap() - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
Get underlying Bitmap object.
getBrowFurrow() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Brow Furrow score, a float in the range [0,100].
getBrowRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Brow Raise score, a float in the range [0,100].
getByteArray() - Method in class com.affectiva.android.affdex.sdk.Frame.ByteArrayFrame
Get underlying byte array of pixels.
getChinRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Chin Raise score, a float in the range [0,100].
getColorFormat() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's color format.
getContempt() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Contempt score, a float in the range [0,100].
getDetectAnger() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectAttention() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectBrowFurrow() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectBrowRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectChinRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectContempt() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectDisgust() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectEngagement() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectEyeClosure() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectFear() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectInnerBrowRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectJoy() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectLipCornerDepressor() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectLipPress() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectLipPucker() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectLipSuck() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectMouthOpen() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectNoseWrinkle() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectSadness() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectSmile() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectSmirk() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectSurprise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectUpperLipRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectValence() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDisgust() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Disgust score, a float in the range [0,100].
getEngagement() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Engagement score, a float in the range [0,100].
getEyeClosure() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Eye Closure score, a float in the range [0,100].
getFacePoints() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
getFear() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Fear score, a float in the range [0,100].
getHeight() - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
 
getHeight() - Method in class com.affectiva.android.affdex.sdk.Frame.ByteArrayFrame
 
getHeight() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's height.
getInnerBrowRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Inner Brow Raise score, a float in the range [0,100].
getInterocularDistance() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Measurements
Gets the Interocular Distance, defined as the distance between the outer corner of each eye, measured in pixels.
getJoy() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Joy score, a float in the range [0,100].
getLipCornerDepressor() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Lip Corner Depressor score, a float in the range [0,100].
getLipPress() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Lip Press score, a float in the range [0,100].
getLipPucker() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Lip Pucker score, a float in the range [0,100].
getLipSuck() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Lip Suck score, a float in the range [0,100].
getMouthOpen() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Mouth Open score, a float in the range [0,100].
getNoseWrinkle() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Nose Wrinkle score, a float in the range [0,100].
getOriginalBitmapFrame() - Method in class com.affectiva.android.affdex.sdk.Frame
Get the Bitmap that was used to create this frame, if any.
getPercentFaceDetected() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
The percentage of time a face was detected (reset at every Detector.start(), but not Detector.reset()).
getPitch() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Measurements.Orientation
Gets the Pitch score, measured in degrees.
getPixelCount() - Method in class com.affectiva.android.affdex.sdk.Frame
Get total number of pixels in Frame.
getRoll() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Measurements.Orientation
Gets the Roll score, measured in degrees.
getSadness() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Sadness score, a float in the range [0,100].
getSmile() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Smile score, a float in the range [0,100].
getSmirk() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Smirk score, a float in the range [0,100].
getSurprise() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Surprise score, a float in the range [0,100].
getTargetRotation() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's rotation angle.
getUpperLipRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Expressions
Gets the Upper Lip Raise score, a float in the range [0,100].
getValence() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Emotions
Gets the Valence score, a float in the range [-100,100].
getWidth() - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
 
getWidth() - Method in class com.affectiva.android.affdex.sdk.Frame.ByteArrayFrame
 
getWidth() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's width.
getYaw() - Method in class com.affectiva.android.affdex.sdk.detector.Face.Measurements.Orientation
Gets the Yaw score, measured in degrees.

I

isRunning() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Returns the state of the detector.

L

LicenseException - Exception in com.affectiva.android.affdex.sdk
 
LicenseException(String) - Constructor for exception com.affectiva.android.affdex.sdk.LicenseException
 
LicenseException(String, Throwable) - Constructor for exception com.affectiva.android.affdex.sdk.LicenseException
 

M

measurements - Variable in class com.affectiva.android.affdex.sdk.detector.Face
 

O

onCameraSizeSelected(int, int, Frame.ROTATE) - Method in interface com.affectiva.android.affdex.sdk.detector.CameraDetector.CameraEventListener
Called when the size and orientation of the camera preview frames are known.
onFaceDetectionStarted() - Method in interface com.affectiva.android.affdex.sdk.detector.Detector.FaceListener
Indicates that the face detector has started tracking a face.
onFaceDetectionStopped() - Method in interface com.affectiva.android.affdex.sdk.detector.Detector.FaceListener
Indicates that the face detector has stopped tracking a face.
onFrameAvailable(byte[], int, int, Frame.ROTATE) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
 
onFrameSizeSelected(int, int, Frame.ROTATE) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
 
onImageResults(List<Face>, Frame, float) - Method in interface com.affectiva.android.affdex.sdk.detector.Detector.ImageListener
Delivers information about an image which has been handled by the Detector
onProcessingFinished() - Method in class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
 
orientation - Variable in class com.affectiva.android.affdex.sdk.detector.Face.Measurements
 
originalBitmap - Variable in class com.affectiva.android.affdex.sdk.Frame
 

P

PhotoDetector - Class in com.affectiva.android.affdex.sdk.detector
A Detector for processing discrete photos.
PhotoDetector(Context) - Constructor for class com.affectiva.android.affdex.sdk.detector.PhotoDetector
Creates a PhotoDetector
process(Frame, float) - Method in class com.affectiva.android.affdex.sdk.detector.FrameDetector
Asks the Detector to process the passed facePicture.
process(Frame) - Method in class com.affectiva.android.affdex.sdk.detector.PhotoDetector
Processes a photo.

R

reset() - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
 
reset() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Resets the baselines used to measure facial expressions and emotions.
reset() - Method in class com.affectiva.android.affdex.sdk.detector.FrameDetector
Resets the baselines used to detect expressions and emotions.
reset() - Method in class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
 
revertPointRotation(PointF[]) - Method in class com.affectiva.android.affdex.sdk.Frame
Revert points to the Frame's original coordinate space.
revertPointRotation(PointF[], int, int, Frame.ROTATE) - Static method in class com.affectiva.android.affdex.sdk.Frame
Revert points to Frame's original coordinate space
rotateImage(Bitmap, float) - Static method in class com.affectiva.android.affdex.sdk.Frame
Rotate a Bitmap.

S

setBitmap(Bitmap, Frame.COLOR_FORMAT) - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
Set underlying Bitmap object.
setCameraType(CameraDetector.CameraType) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
Indicates which device camera to use.
setDetectAllEmotions(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Activates/Deactivates detection of all emotions simultaneously.
setDetectAllExpressions(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Activates/Deactivates detection of all expressions simultaneously.
setDetectAnger(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectAttention(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectBrowFurrow(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectBrowRaise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectChinRaise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectContempt(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectDisgust(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectEngagement(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectEyeClosure(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectFear(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectInnerBrowRaise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectJoy(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectLipCornerDepressor(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectLipPress(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectLipPucker(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectLipSuck(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectMouthOpen(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectNoseWrinkle(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectSadness(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectSmile(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectSmirk(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectSurprise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectUpperLipRaise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectValence(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setFaceListener(Detector.FaceListener) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setImageListener(Detector.ImageListener) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setLicensePath(String) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Call this with the relative path (under /assets/Affdex/) to the license file provided by Affectiva.
setLicenseStream(Reader) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
Call this with a Reader object which contains a byte array representation of the license file.
setMaxProcessRate(float) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
The maximum processing rate to operate in [FPS].
setOnCameraEventListener(CameraDetector.CameraEventListener) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
 
setSendUnprocessedFrames(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
When the SDK is in control of the camera, if the SDK frame rate is lower than the camera frame rate, there will be frames that are not processed for expressions by the SDK.
setTargetRotation(Frame.ROTATE) - Method in class com.affectiva.android.affdex.sdk.Frame
Set Frame's rotation angle.
start() - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
Initiates processing of frames received from the device's camera.
start() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
start() - Method in class com.affectiva.android.affdex.sdk.detector.FrameDetector
Initializes the FrameDetector in preparation for handling frames subsequently pushed via FrameDetector.process(com.affectiva.android.affdex.sdk.Frame, float)
start() - Method in class com.affectiva.android.affdex.sdk.detector.PhotoDetector
Initializes the PhotoDetector in preparation for handling photos subsequently pushed via PhotoDetector.process(com.affectiva.android.affdex.sdk.Frame)
start() - Method in class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
Initiates processing of the video file.
stop() - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
Stops processing frames received from the device's camera, and releases the camera to allow its use by other apps.
stop() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
stop() - Method in class com.affectiva.android.affdex.sdk.detector.FrameDetector
Notifies the FrameDetector that the last frame has been pushed via FrameDetector.process(com.affectiva.android.affdex.sdk.Frame, float), allowing it to deallocate resources.
stop() - Method in class com.affectiva.android.affdex.sdk.detector.PhotoDetector
Notifies the PhotoDetector that the last photo has been pushed via PhotoDetector.process(com.affectiva.android.affdex.sdk.Frame), allowing it to deallocate resources.
stop() - Method in class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
Allows the VideoFileProcessor to deallocate resources when processing is complete.

T

TAG - Static variable in class com.affectiva.android.affdex.sdk.Frame
 
toByteArrayFrame() - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
Extract byte array from bitmap, be careful when using it, it allocates memory when needed.
toDouble() - Method in enum com.affectiva.android.affdex.sdk.Frame.ROTATE
Method to get the rotation angle.

V

valueOf(String) - Static method in enum com.affectiva.android.affdex.sdk.detector.CameraDetector.CameraType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.affectiva.android.affdex.sdk.Frame.COLOR_FORMAT
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.affectiva.android.affdex.sdk.Frame.ROTATE
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.affectiva.android.affdex.sdk.detector.CameraDetector.CameraType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.affectiva.android.affdex.sdk.Frame.COLOR_FORMAT
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.affectiva.android.affdex.sdk.Frame.ROTATE
Returns an array containing the constants of this enum type, in the order they are declared.
VideoFileDetector - Class in com.affectiva.android.affdex.sdk.detector
A Detector for processing video files.
VideoFileDetector(Context, String) - Constructor for class com.affectiva.android.affdex.sdk.detector.VideoFileDetector
Creates a VideoFileDetector.
A C D E F G I L M O P R S T V