Research Article

Modeling and Classification of the Behavioral Patterns of Students Participating in Online Examination

Algorithm 2

Orientation classification.
Input:                          Output from Algorithm 1
Output:
Head Orientation Classification
1: if () then
2:                                   No face detected
3: else
4:  if then
5:    
6:  else
7:   if then
8:    
9:   else
10:   if then
11:     
12:   end if
13:  end if
14: end if
15: end if
Eye Orientation Classification
16: if () then
17:                                   No face detected
18: else
19: if then
20:   
21: else
22:  if then
23:    
24:  else
25:   if then
26:     
27:   end if
28:  end if
29: end if
30: end if
Lip Orientation Classification
31: if () then
32:                                   No face detected
33: else
34: if then
35:   
36: else
37:  if then
38:    
39:  end if
40: end if
41: end if