Questions tagged [affdex-sdk]
This tag is for questions regarding the usage of Affectiva's emotion recognition SDKs. The SDK is now at version 3.0.
100
questions
10
votes
1
answer
45k
views
Undefined reference to process(std::__cxx11::basic_string ... ) when compiling affdex linux sample applications
I encountered the following error when I tried to compile affdex sdk sample applications
Linking CXX executable video-demo
CMakeFiles/video-demo.dir/video-demo.cpp.o: In function 'main':
video-demo....
4
votes
2
answers
296
views
Affectiva mscorlib.dll and dependencies error
I'm building a C# Affectiva product, up until a few days ago everything was working fine. I did a clean install of Windows 10 and I am using Visual Studio Enterprise. I keep having the following error ...
3
votes
0
answers
150
views
Affectiva-JS: out of memory exception after multiple reloads
There are two errors happening while using the affektiva js sdk.
First error raised is the "out of memory" exception that occurs within the affectiva library in the affdex-worker.js file at
...
3
votes
0
answers
120
views
Does the Affdex SDK support a Kinect sensor?
I am working on Kinect emotion recognition using the Affdex SDK, but the "CameraDetector" couldn't support my Kinect sensor. I tried using a webcam and it turned out that the SDK can work with webcams ...
3
votes
2
answers
262
views
Affdex Android SDK - Using CameraDetector to detect emotion continuously across all activities in the APP
We are adding Affdex Android SDK to our existing APP to detect the emotion of the user as a way to measure users' satisfaction when they use the APP.
We plan to use CameraDetector for this purpose so ...
3
votes
1
answer
584
views
java.lang.UnsatisfiedLinkError CameraDetector works only on ARMv7 devices
After setting up the Affdex SDK for Android It was working fine in ARMv7 devices, but whenever I try to run the app in ARMv8 devices it doesn't work and give this error:
Fatal Exception: java.lang....
2
votes
1
answer
139
views
Size Range of FaceDetectorMode
Using version Linux C++ 3.1.1-2802 version the SDK.
The descriptions of FaceDetectorMode::LARGE_FACES (To target faces occupying a large area) and FaceDetectorMode::SMALL_FACES (To target faces ...
2
votes
1
answer
725
views
affdex-sdk: FaceTracking SDK for Unity3D
Can someone please refer any resource/project which uses http://www.affectiva.com/ to track face and extract landmark points in Unity3D
Tutorial here only refers to the emotion extraction
http://...
2
votes
1
answer
99
views
Affdex iOS SDK "set the licensePath property with a valid file path" error
Using the iOS SDK, I tried to set the license token like this:
#ifndef YOUR_AFFDEX_LICENSE_STRING_GOES_HERE
#define YOUR_AFFDEX_LICENSE_STRING_GOES_HERE @"090b118356d7c6afc08b6b58763...snip......
2
votes
1
answer
213
views
Building a Unity project with the Affectiva SDK not working post build
I've been building a game in Unity using the Affectiva Unity SDK, and I can test the game out within Unity fine - the camera turns on, the SDK is called, and I get the response I was expecting.
Yet ...
2
votes
1
answer
70
views
Why does the OnImageResults listener keep appending faces to the collection when a face is lost instead of reinserting at the beginning?
I'm currently developing a desktop software solution that uses real-time communication to transfer data from a client to a server using sockets in C# WPF . The client and the server are defined in the ...
2
votes
2
answers
269
views
Affectiva emotion SDK - exception thrown when calling .setLicensePath() and setClassifierPath()
I am trying to use Affectiva emotion sdk to make a demo program. However, when I call detector.setLicensePath(), an exception is thrown (see image below). Does anyone know how to resolve this?
The ...
2
votes
1
answer
127
views
Affdex Android SDK - Save and use CameraDetector
Mostly I want to know if there is a fundamental conflict that I can't share the same resource with the library, if so, I will need to take a different approach.
My goal is to have low quality video ...
2
votes
2
answers
257
views
Affectiva emotion SDK - Unable to process a webm file using VideoDetector
I am currently developing a program using the Windows SDK.
I'm trying to feed a ".webm" file into the SDK, but I'm getting the following error:
Encountered an AffdexException Error opening video ...
2
votes
0
answers
154
views
Can Affdex for Android analyze and record face at the same time?
I wonder if we can use the front camera to analyze facial expression (at least detect landmark points) and record video (of the face) at the same time with Affdex SDK for Android?
1
vote
1
answer
323
views
Errors using Affectiva JS SDK (Frame Detector Mode)
I'm having trouble using the new JS SDK from Affectiva (http://developer.affectiva.com/v3_1/javascript/analyze-frames/), specifically in Frame Detector mode. I had no trouble getting the CameraFeed ...
1
vote
1
answer
287
views
How to use Affdex SDK in Swift?
We are trying to use the iOS Affdex SDK with a bridging header (in Swift). Can you please help us how to go about this process. Also how can we display up emojis based on the SDK (agin using Swift).
1
vote
2
answers
504
views
Age detection for Affectiva SDK
I've used Affectiva SDK for Android.
It can do face detection as well emotions.
I wanted to age detection for a specific usecase.
Can Affectiva Android SDK provide age detection ?
1
vote
1
answer
144
views
What is the corresponding FACS Action unit name to the Affdex Emotion SDK expressions output?
I wonder where I can find a full list of Action Unit names which are detected from Affdex? I have manually identified some: browfurrow (AU4), browraise (AU2), chinraise (AU17). However, an official ...
1
vote
2
answers
214
views
How to create a new Visual Studio project to use Affdex SDK
I need to use Affdex SDK in a research project, but I am having problems starting the project with C#.
In Visual Studio I did the following steps:
I created a new project;
I added a reference to ...
1
vote
3
answers
488
views
How to add affdex-native.dll as a reference to Visual Studio 2015?
I follow the introduction of http://developer.affectiva.com/v3/windows/ ,it says the "The .NET assembly depends on the affdex-native.dll and loads it in runtime." but I only can add Affdex.dll but not ...
1
vote
1
answer
50
views
What does an exclamation point in the Affdex analysis data mean?
I'm using the Affdex API to analyze facial data. Recently I'm getting back detailed data that periodically has an exclamation point (!) in the data stream, often followed by a very large number (but ...
1
vote
1
answer
56
views
Reduce the decision time using video stream [affdex]
As you guys might know, some detections take time using Affectiva SDK (linux in my case). For example, the gender recognition might take around 2-3 secs to output a result, and this is correct and it'...
1
vote
1
answer
256
views
Is it possible to use affdex-sdk in node.js and save emotion data to mongodb?
I find the examples for affdex javascript sdk use the sdk in the frontend webpage.
Is it possible to use the sdk in Node.js? I'd like to save the emotion data to MongoDB. Or can I pass the emotion ...
1
vote
1
answer
655
views
Affectiva Emotion SDK - Academic licensing
I would like to use this API for my Bachelor's Thesis in the area of context sensitive websites. My interpretation of the licensing agreement is that I am not allowed to use the API for any software ...
1
vote
1
answer
59
views
Affdex Emotion SDK - Metrics are zero at certain head angles even though the face is tracked
Sometimes the expression and emotion metrics drop to zero even though the face is tracked.
In this example video, the value of smile classifier drops to zero when the head pitch angle changes.
1
vote
1
answer
278
views
Affectiva C# SDK crashes
I just started using Affectiva SDK for C#, and after a few runs, I stumbled upon a continuous crash problem.
I am using the Camera processing, on x86 architecture and .Net 4.5.1. I have VS 2013 ...
1
vote
1
answer
162
views
Photo/VideoDetector start method crashes on Ubuntu platform
I am seeing below crash while running detector->start() method in C++ examples. I am using affdex3-0 version on Ubuntu 14.10 platform. Can you help with figuring out the issue?
Program received ...
1
vote
1
answer
68
views
affdex frame.getOriginalBitmapFrame() returns null when analyzing camera feed
So I am writing some facial landmarking code with the affdex sdk, and I am trying to pass the frame I recieved from the image listener to get certain pixels from its bitmap, and I am getting back null ...
1
vote
1
answer
120
views
Affdex AFDXDetector delegate functions are never called when using the camera?
I’m having some trouble getting the Affdex iOS SDK to work with streaming input from the onboard camera. I’m using XCode 7.1.1 and an iPhone 5S. Here’s my initialization code:
let detector = ...
1
vote
1
answer
120
views
Can someone please help where can i get android AFFDEX SDK?? I have tried to download but in vain [closed]
I am developing an application which mines emotion, and I need that sdk toolkit. I have heard about it. Can someone please help me in this regard?
1
vote
1
answer
148
views
Is old affdex-sdk still available to use for academic purposes for free?
It looks like affdex-sdk has been integrated into iMotion platform. However, my works are still based on the old affdex-sdk that I have downloaded.
So my question is whether I can still publish those ...
1
vote
1
answer
410
views
Bitmap is null when tried to fetch image from frame affective
I have integrated affectiva library and trying to fetch emotions using camera stream.
I tried to fetch the bitmap from the frame returned but it always returns null.Below is the code.
byte[] ...
1
vote
0
answers
52
views
Affectiva detecting emotion from file macOS
I'm trying to make a macOS app that detects emotions from picture using files from a drive. I have a problem with adding path in correct way to "usingFile". Currently Xcode shows error: "Use of ...
1
vote
0
answers
107
views
Affectiva affdex does not process videos correctly
I'm using affectiva affdex with C++ on Ubuntu 16.04. The programm I'm using is below. As input I'm providing a 30 min mp4 video. I have followed all steps on the affectiva webpage (downloading Ubuntu-...
1
vote
0
answers
138
views
VideoDetector.start throws exception "Failed to initialize, invalid data folder"
VideoDetector throws below exception when calling Detector.start() method.
Failed to initialize, invalid data folder
My classifierPath is set correctly to C:\Program Files\Affectiva\AffdexSDK\data
...
1
vote
1
answer
209
views
How to process video files in batch using Emotion SDK for Javascript
I am using Affectiva's Emotion SDK for Javascript to play and analyze a video file. Currently, I am playing the video as a stream and capturing emotion features following their "Analyze a video frame ...
1
vote
0
answers
229
views
Affdex Gradle Failed to resolve
I’m not able to add dependency. It keeps throwing me the error:
Failed to resolve com.affectiva.android:affdexsdk:3.2 .
I’ve added maven repository but still it’s giving me error.
Project Gradle:
...
1
vote
1
answer
101
views
Jerkiness on iOS devices while using Affectiva's plugin for Unity
the title basically says it all, I am trying to run a very basic Unity game which captures 2 emotions using Affectiva's emotion SDK for Unity. The game is buttery smooth on even low end Android ...
1
vote
1
answer
115
views
Can Affectiva connect Kinect v1
I'm having a project with free Emotion Recognition version of Affectivahttps://developer.affectiva.com/ on Ubuntu 14.04.
I'm trying to use Kinect v1 as the input device for Affectiva.
I using lsusb to ...
1
vote
0
answers
91
views
Affectiva's unity sdk makes android application crashed when Application.LoadLevel function is called
I've been developing an academic application for emotion recognition using Affectiva's affdex SDK for Unity.
But when I use affectiva CameraInput object and want to load a level, my game crashs on ...
1
vote
0
answers
183
views
How to simultaneously run Android speech to text and another activity which uses camera
I am new to Android and am trying to develop an application which would capture the speaker's facial expressions via camera and simultaneously convert speech to text. I am using Affectiva's affdex API ...
1
vote
0
answers
107
views
Emotion as a Service API credentials
I am interested in trying out the Affectiva Emotion as a Service API using the cloud. I am not sure how to obtain the credentials such as the username and the password needed to use the service. What ...
1
vote
0
answers
238
views
Affectiva C++ Linux SDK FrameDetector won't detect anything
Hi I'm trying out Affdex sdk for emotion detection from a webcam feed. Each frame is fed to a FrameDetector as shown in examples. But after few seconds, the nothing gets detected. Not even the face. ...
1
vote
1
answer
390
views
aafdex-sdk unity3d crash on scene transition - only on Android
I've been developing an application for emotion recognition using Affectiva's affdex-sdk (v2.2) for Unity 5.4. My application consists of 3 scenes, then I use affectiva's Camera_Detector scene, and ...
1
vote
1
answer
195
views
Get face coordinates using affdex sdk
It's possible to get face coordinates in image source file or frame? Some thing like:
face.Height = Affdex.Face[0].PositionHeight;
face.Left = Affdex.Face[0].PositionLeft;
...
1
vote
1
answer
370
views
Affdex videodetector
I'm currently doing a project where I have to use the Affectiva SDK to analyse some videos that I have recorded. I have downloaded the files, which they have given me and started writing the code for ...
1
vote
1
answer
43
views
XamlParseException when implementing Affdex.ImageListener
When implementing Affdex.ImageListener on my main window, I get an XamlParseException stating
The method or operation is not implemented
My MainWindow stub implements all the methods of the ...
0
votes
2
answers
686
views
Affectiva iOS emotion detection sample
I downloaded sample affectiva camera test iOS app from the below github.
https://github.com/Affectiva/ios-sdk-samples
It is working nice. I would be able to see logs for emotions such as anger, ...
0
votes
2
answers
457
views
Affectiva jsfiddle example adapted locally gives error: "Failed to load resource: ...affdex/adapter-1.4.0.js"
I was trying to adapt the jsfiddle example given at the Affectiva developer site:
https://jsfiddle.net/affectiva/opyh5e8d/show/
I added the html section from the fiddle into an html file and the js ...