Skip to content

Commit

Permalink
Update 01-activity_types.md
Browse files Browse the repository at this point in the history
Added info on Emotion Recognition task.
  • Loading branch information
kijote0 authored Nov 11, 2024
1 parent 348005b commit 8c3ff9c
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions docs/09-data_science/02-data_types/01-activity_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,51 @@ Currently no settings are available for this activity.
```


### Emotion Recognition

ActivitySpec: `lamp.emotion_recognition`

#### Description

The Emotion Recognition task. Participants are presented with a random subset of up to 10 images and must identify the emotion expressed in each one (e.g. "Happiness", "Sadness", "Neutral", "Fear", "Anger").


#### Settings
NA.

#### Data

- `static_data`:
- NA.
- `temporal_slices`:
- `item`: Question number.
- `value`: Happiness, Sadness, Fear, Anger, Neutral
- `type`: False (incorrect); True (correct).
- `duration`: Time elapsed in s since last event.
- `level`: Question prompt.

#### Example

```
{'temporal_slices': [{'duration': 0.833,
'item': 1,
'level': 'Which emotion best describes this face?',
'type': False,
'value': 'Fear'},
{'duration': 0.798, 'item': 2, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Anger'},
{'duration': 2.354, 'item': 3, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Fear'},
{'duration': 1.407, 'item': 4, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Neutral'},
{'duration': 1.886, 'item': 5, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Neutral'},
{'duration': 1.059, 'item': 6, 'level': 'Which emotion best describes this face?', 'type': True, 'value': 'Neutral'},
{'duration': 0.923, 'item': 7, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Neutral'},
{'duration': 0.948, 'item': 8, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Neutral'},
{'duration': 0.91, 'item': 9, 'level': 'Which emotion best describes this face?', 'type': False, 'value': 'Neutral'}],
'timestamp': 1731005505839,
'date': '2024-11-07 18:51:45.839000',
'game': 'emotion_recognition'}
```





Expand Down

0 comments on commit 8c3ff9c

Please sign in to comment.