Testing Our Models
Testing our Blink Detection models
We test the blink model (The differences method) and eye model ( Classifier) with multiple test cases. With respect to the blink model, we test our model with images of:• Different eye colours
• Different sizes
Colored eye bw binary image.
Results with only one type of image in dataset
This model gives us great results for different test cases of similar size and colour. The confusion matrix for this along with average accuracy for each run is displayed. Each run picks a random set of training and test data as mentioned previously. This reduces bias and overfitting. Taking the average of the runs, we get an accuracy of about 0.92. This works surprisingly well with images of different eye colours as well. 36/40 frames were classified correctly in the first run and 35/40 in the second run. When we feed in images of smaller eyes, 13 out of 30 were detected correctly in the first run and 16 out of 30 in the second run. This gives us a terrible accuracy and the model isn’t very reliable. After adding images of smaller eyes to our dataset, we get better results as displayed.Two runs are displayed in the image.
Results with small eye type of image added dataset
Results with all eye types of image added dataset
Graphical Illustration of the differences in accuracy with additions to dataset
Comments
Post a Comment