Table 2 Classification validation of the suggested Hybrid Transformer model.

From: Enhancing food recognition accuracy using hybrid transformer models and image preprocessing techniques

Classes

Accuracy (%)

Precision (%)

Recall (%)

F1 score (%)

Apple juice

98.43

98.66

99.38

99.55

Almond milk

98.56

99.12

99.07

99.16

Banana

99.66

99.73

99.59

98.92

Sweet milk

99.21

99.27

98.67

99.34

Green soda

98.75

98.89

99.67

99.35

Pizza (seafood)

98.63

99.45

99.77

99.27

Bread and butter

99.71

99.61

98.88

99.72

Castela

99.80

98.68

98.73

98.75

Cherryade

98.82

99.04

99.22

99.49