affdex-sdk

aafdex-sdk unity3d crash on scene transition - only on Android

一个人想着一个人 提交于 2020-01-03 01:54:31
问题 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 use an emotion as trigger to go to the next scene. It runs perfectly in UnityEditor and as a Windows compiled package (x86). However when I deploy it to Android (5.0), crashes occur always at runtime when skipping from Camera_Detector scene to the next scene (scene loads previous to Camera_Detector

Authentication in affectiva via API

人走茶凉 提交于 2019-12-13 06:41:32
问题 i want to use affectiva API, for it I must send token with username and password. From documentations: Our APIs use HTTP Basic Access Authentication to authenticate clients. HTTP Basic Authentication relies on a TLS transport to ensure that the client credentials cannot be seen by a third party, so all API communications must be transmitted over a TLS-protected channel. Please ensure that your Index Service API begins with “https” before using it. But I can't find SIGN UP button how i can

Debugging Affectiva FrameDetector: Worker Code Reported an Exception

删除回忆录丶 提交于 2019-12-13 04:22:52
问题 I'm trying to use FrameDetector to process an existing MP4 file. I've put the video file and the HTML/JavaScript below inside a node.js server and run it at localhost, so there shouldn't be aby CORS issues. The detector starts correctly, but when I send image data to it, the same two things happen every time: The first request returns an empty faces array The second request returns an error (with a unique, trailing number each time): worker code reported an exception14920304 . I'm not really

Affdex JS SDK - Can't get callbacks from the camera detector

与世无争的帅哥 提交于 2019-12-12 04:25:55
问题 I've tried running the Javascript sample code taken from jsfiddle on my own machine and find that I don't get a callback from the detector that would attempt to connect to the camera. I see the first message that the start button is clicked but don't get the second message about the webcam access being allowed or denied. This code is pretty much the same as your jsfiddle which works for accessing my webcam. When I run on localhost it seems like the detector never makes the call to the

aafdex-sdk unity3d crash on scene transition - only on Android

╄→尐↘猪︶ㄣ 提交于 2019-12-06 16:01:46
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 use an emotion as trigger to go to the next scene. It runs perfectly in UnityEditor and as a Windows compiled package (x86). However when I deploy it to Android (5.0), crashes occur always at runtime when skipping from Camera_Detector scene to the next scene (scene loads previous to Camera_Detector and in Camera_Detector itself never crash). I'm using (in C#) SceneManager.LoadScene("nextscene"); The

Undefined reference to process(std::__cxx11::basic_string … ) when compiling affdex linux sample applications

折月煮酒 提交于 2019-11-27 02:24:42
问题 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.cpp:(.text+0x11cb): undefined reference to affdex::VideoDetector::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) collect2: error: ld returned 1 exit status I'm using GCC 5.2.1 回答1: My initial suspicion was that the problem is attempting to compile