The paper contains theoretical processing related to the mathematical model of convolution, terotia associated with convolutional neural networks with emphasis on the convolutional layer, types of convolutional filters, types of convolutions, relevant convolution algorithms. The paper includes the implementation of a naive algorithm, matrix multiplication algorithm, and deployment of the cuDNN library, with an emphasis on program execution speeds. The OpenCV library was also used for custom image processing.