This repository is a part of KBTG emotion detection project, which aims at combining gesture emotion detection with facial emotion detection.
Python 3.7.4
tensorflow 1.14.0
keras 2.2.4
This section introduces the contents or functions of different folders and files.
These two folders store the data for scenarios of office1 and office2, each including 2 sub-folders and 3 files
There are 31 json files under this directory, representing the augmented skeletons from 31 different HD cameras indexed from 0 to 30.
The frame-wise skeleton labels of CMU Panoptic dataset. The count of json files under this directory equals the total frames of the video.
Calibration parameters for 31 HD cameras.
The second-wise emotion labels. The first column is the second, the second column is the label, where 1, 2, 3 represent happiness, unhappiness and neutralism respectively.
The skeletons from all the 31 HD camreras, stored as python dictionary object form. Its keys are person id, and values are 2-d dimension numpy ndarray.
This directory stores the executable files.
Extract the skeletons for each person into the matrices and filter out the seconds(set of frames) we label.
Input:
~/170915_office1/hdPose3d_stage1_coco19/body3DScene_.json (3737 frames) ~/170407_office2/hdPose3d_stage1_coco19/body3DScene_.json (5529 frames)
Output:
samples_for_persons.json
Combine the skeletons with 31 camera calibration parameters
Input:
samples_for_persons.json
calibration_170915_office1.json
calibration_170407_office2.json
Output:
camerawise_skeleton/*.json (31 files)
The direct input of LSTM model, with shape of (2387,30,76).
The direct input of LSTM model, with shape of (2387,1).
The list form of y.npy
The script of LSTM model.
The exported python file of LSTM_emotion.ipynb, for the convenience of running in background.