A C D F G I L 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.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.

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

getBitmap() - Method in class com.affectiva.android.affdex.sdk.Frame.BitmapFrame
Get underlying Bitmap object.
getBrowFurrowScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
getBrowRaiseScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
getByteArray() - Method in class com.affectiva.android.affdex.sdk.Frame.ByteArrayFrame
Get underlying byte array of pixels.
getColorFormat() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's color format.
getDetectBrowFurrow() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectBrowRaise() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectEngagement() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectLipCornerDepressor() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectSmile() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getDetectValence() - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
getEngagementScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
getFacePoints() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
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.
getLipCornerDepressorScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
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()).
getPixelCount() - Method in class com.affectiva.android.affdex.sdk.Frame
Get total number of pixels in Frame.
getSmileScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
getTargetRotation() - Method in class com.affectiva.android.affdex.sdk.Frame
Get Frame's rotation angle.
getValenceScore() - Method in class com.affectiva.android.affdex.sdk.detector.Face
 
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.

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
 

O

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.
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
 
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

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.
setDetectBrowFurrow(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectBrowRaise(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectEngagement(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectLipCornerDepressor(boolean) - Method in class com.affectiva.android.affdex.sdk.detector.Detector
 
setDetectSmile(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.
setMaxProcessRate(float) - Method in class com.affectiva.android.affdex.sdk.detector.CameraDetector
The maximum processing rate to operate in [FPS].
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 F G I L O P R S T V 

Copyright © 2014. All rights reserved.