
Figure 1.
Flow process of training and testing the face emotion detection AI model using machine learning methods

Figure 2.
Block diagram of training and testing the ECG emotion detection AI model with machine learning methods

Figure 3.
Overall flowchart of facial emotion AI model training process

Figure 4.
Overall flowchart of facial emotion AI model testing process

Figure 5.
Overall flowchart of ECG emotion AI model training process

Figure 6.
Overall flowchart of ECG emotion AI model testing process

Figure 7.
Accuracy of training and validation of facial emotion AI model

Figure 8.
Loss of training and validation of facial emotion AI model
Table 1.
Results of experiment.
| Emotion | Probability (%) |
|---|---|
| Happy | 98.63 |
| Neutral | 56.60 |
| Sad | 39.58 |
| Surprise | 77.86 |
| Fear | 26.36 |
| Angry | 41.34 |
| Digust | 27.19 |

Figure 9.
Accuracy of training and validation of facial emotion AI model

Figure 10.
Accuracy of training and validation of facial emotion AI model

Figure 11.
Accuracy of training and validation of facial emotion AI model

Figure 12.
Classification report using random forest

Figure 13.
Display combining emotion and advice in the web browser
