readme.txt (1)
00 分钟
2024-6-17
 
ALL FRAME DATA HAS 20 FRAMES OF BUFFER BEFORE AND AFTER. TOUCH STARTS on 21st FRAME
Recorded pressure data for all subjects in python3 pickle files.
Each subject is available in a separate file, while joint_subject_data.p concatenates all subjects.
All data is in the following format:
[INSTANCE0, INSTANCE1, ...]
INSTANCE: Python dictionary with {"frames" : FRAMES, "emotion": EMOTION, "emotion_instance" : EMOTION_INSTANCE, "subject_number": SUBJECT_NUMBER, "gestures": [GESTURE1, ...]}
FRAMES: 3d numpy array of pressure values, with dimensions (duration, rows, columns). Data is recorded at 20Hz. The sensor suit is not rectangular, so NaN values exist in areas where the sensor did not. Each array starts 1 second before the touch and ends 1 second after. That is to say, there are 20 frames of buffer around the actual touch.
EMOTION: element in ["Happiness", "Sadness", "Love", "Calming", "Gratitude", "Attention"]
EMOTION_INSTANCE: element in [0-2]. For a given subject number and emotion, each instance will have a unique EMOTION_INSTANCE value.
SUBJECT_NUMBER: element in [0-39]
GESTURE: tuple of (GESTURE_NAME, start_time, end_time). start_time and end_time indicate the start and end frame of the gesture in FRAMES. A gesture that begins immediately starts on frame 20, due to the buffer.

评论