Figure 5 The effect of varying crowd size on prediction runtime To test the performance of our proposed algorithm, we vary the size of crowd while measuring the average time taken to predict the emotion of each crowd image on a Core 2 Duo, with a clock-speed of 2.0GHz and 3GB of RAM. The individuals placed in the crowd are selected at random and the results are given in Fig. 5. The results show a linear relationship between crowd size and prediction runtime. We note that for small crowds of 1 to 20 people, prediction takes less than 1 s. On the other hand, for larger crowds of 200 to 220 people, it takes in the region of 12 to 13 s for each prediction. Overall the algorithm shows potential for real-time application. 3 Comparison to Results in Literature