abdelrehman mahmoud - emotion ai developer day 2016
TRANSCRIPT
@affectiva #emodev16
Affectiva Emotion SDK for Linux
Abdelrahman MahmoudProduct ManagerAffectiva@ahamino
@affectiva #emodev16
Emotion Metrics!
#smile
#surprise #sadness #eye_widen #smirk
#disgust#eye_closure
#anger
#lip_puckerer20 Expressions
7 Emotions13 Emojis
#Joy
#lid_tighten
Source: giphy.com
@affectiva #emodev16
Software and Hardware Requirements
Supported Linux Distros:Ubuntu 14.04 LTSCentOS 7Programming Language:C++
Processor Architecture: x86_64, ARM (coming soon!)
Hardware Requirements: (recommended) Processor, 2GHzRAM 1GHz
Compiler Requirements:GLIBC 3.4, GLIBCXX 3.4.9, GCC v4.8
@affectiva #emodev16
SDK Detectors
affdex::PhotoDetector affdex::FrameDetector affdex::CameraDetector affdex::VideoDetector
Source
Detector
For each of the different sources, a child of the class affdex::Detector can be used to consume pixels and produce emotion metrics.
@affectiva #emodev16
SDK Data StructuresThe affdex::Frame data structure contains the raw pixels of the image in BGR Format.
@affectiva #emodev16
The affdex::Face data structure contains the results for the analysis of the different expressions, emotions and locations of the
face for an individual frame.
SDK Data Structures
@affectiva #emodev16
SDK CallbacksThe SDK uses callback functions to
report events.
• affdex::ImageListener: receive image and emotion analysis
• affdex::FaceListener: receive events for every face found and lost.
@affectiva #emodev16
How do Track Faces in my app ?
@affectiva #emodev16
How do Track Faces in my app ?(1) Create an instance of the detector
matching your data source. Specify the number of faces to track, or just track one.
@affectiva #emodev16
(2) Specify the location of the Affdex Emotion SDK data folder. The location of
the classifier files to use.
How do Track Faces in my app ?
@affectiva #emodev16
(3) Turn on the emotion metrics you are interested in tracking.
How do Track Faces in my app ?
@affectiva #emodev16
(4) Implement affdex::FaceListener callback to receive notification when a face
is found or lost.
How do Track Faces in my app ?
@affectiva #emodev16
(5) start the detector.How do Track Faces in my app ?
@affectiva #emodev16
(6) Call stop to release the camera at the end of your app.
How do Track Faces in my app ?
@affectiva #emodev16
How do I get Emotion Metrics in my app ?
SWITCH TO LINUX VM!
@affectiva #emodev16
How to get started ?
Developer portal:Documentation and how to guides to show how to use the SDKs
Sample code and utilities on GitHub
Ask questions through stack exchange
tag: affdex-sdk
/Affectiva
Visit: http://developer.affectiva.com
@affectiva #emodev16
@affectiva @ahamino
#emodev16#EmotionAI
Get started todaydeveloper.affectiva.com
@affectiva #emodev16
THANK YOU :)