Algorithm 2 Our Sensor Fusion Emotion Recognition (SFER) Algorithm. |
Require: Variable for driver distinguish(Driver ID):
|
List of defined emotional state categories for driver: C
|
The recognized valence and arousal level of driver by facial expressions at time t:
|
The measured EDA response of driver at time t:
|
Ensure: The recognized real emotion of driver at time t:
|
Initialize:
|
Let the sensor fusion emotion recognition model be SFER_Model |
Let SFER_Model be the DNN |
Let final hidden layer of SFER_Model be fully connected layer which n units and softmax function as activation function |
|
if Accumulated data for the driver with exists then
|
Load
|
end if
|
while Driving exists do
|
# Accumulate data per each individual for personalization |
, ,
|
# Mean subtraction |
|
# Normalization |
|
SFER_Model() |
|
end while
|