Using Different Types of Artificial Neural Networks to Classify 2D Matrix Codes and Their Rotations-A Comparative Study

J Imaging. 2023 Sep 18;9(9):188. doi: 10.3390/jimaging9090188.

Abstract

Artificial neural networks can solve various tasks in computer vision, such as image classification, object detection, and general recognition. Our comparative study deals with four types of artificial neural networks-multilayer perceptrons, probabilistic neural networks, radial basis function neural networks, and convolutional neural networks-and investigates their ability to classify 2D matrix codes (Data Matrix codes, QR codes, and Aztec codes) as well as their rotation. The paper presents the basic building blocks of these artificial neural networks and their architecture and compares the classification accuracy of 2D matrix codes under different configurations of these neural networks. A dataset of 3000 synthetic code samples was used to train and test the neural networks. When the neural networks were trained on the full dataset, the convolutional neural network showed its superiority, followed by the RBF neural network and the multilayer perceptron.

Keywords: 2D matrix codes; classification; convolutional neural network; multilayer perceptron; probabilistic neural network; radial basis function neural network.