Afective emotions in Emotiv Epoc+ with java

Home Forums Developer Forum Afective emotions in Emotiv Epoc+ with java

This topic contains 3 replies, has 4 voices, and was last updated by  Anthony Anson 1 month ago.

  • Author
  • #266426

    Leal Daniel

    Hello, I have a question:
    I’m trying to get the emotions like ExcitementShortTermScore,FrustrationScore,AffectivGetMeditationScore,EngagementBoredomScore and Stress using the EDK with Java. I’m using the code found on Github

    Previously, I was able to get the emotions using the following code in Java:

    if (state == EdkErrorCode.EDK_OK.ToInt()) {
    int eventType = Edk.INSTANCE.IEE_EmoEngineEventGetType(eEvent);
    Edk.INSTANCE.IEE_EmoEngineEventGetUserId(eEvent, userID);
    // Log the EmoState if it has been updated
    if (eventType == Edk.IEE_Event_t.IEE_EmoStateUpdated.ToInt()) {
    Edk.INSTANCE.IEE_EmoEngineEventGetEmoState(eEvent, eState);

    But with the new version of EDK I’m unable to get the score of the emotions because the method ES_AffectivGetEngagementBoredomScore(eState) doesn’t exits anymore.

    How can I archive with the new EDK?
    thanks for your feedback.

  • #274288

    ebsary lauren

    nice post…

  • #274958

    Tien Phan


    Please use these API to get Performance metric (new name of Affectiv detection)

    You will need to activate license before getting this data

    • This reply was modified 1 month, 2 weeks ago by  Tien Phan.
  • #276089

    Anthony Anson

    Informative Article.

You must be logged in to reply to this topic.