Focus of this thesis is on development of artificial intelligence algorithms in two ways, first by using standard machine vision methods and then by using neural networks. The main problem we were solving was detection of glass cracks on vials. For this purpose, with carefully chosen procedures and equipment we created a dataset of damaged and undamaged vials.
First proposed algorithm includes classic machine vision methods. Extraction of image features was done with the help of a bank of Gabor filters while sorting of vials was done using trained support vector machines.
Second proposed algorithm is actually a deep learning method. It consists of the convolutional neural network VGG16, without its fully connected layers on the top. Instead of them, some fully connected layers with adapted quantity of parameters were added.
Both algorithms were evaluated using ROC curves and they both gained 100\% accuracy in recognizing damaged as well as undamaged vials. To optimize both algorithms in term of time needed for processing data, we also did an ablation study where we were systematically removing features from the model to see how relevant they are for the final result.
|