Monitoring animal welfare, disease prevention, vaccination administration, production supply, and ownership management all depend on accurate cattle identification. Ear tag-based cattle identification techniques are frequently used in livestock farm management. These are not used to identify specific cattle on large-scale farms. However, ear tags can come off, which makes it challenging to identify a particular individual. Ear tags are susceptible to fraud, can be copied, and run the risk of being damaged. Long-term animal identification is impossible with lost tags. For this purpose, a data set was created by taking images of cattle in their natural environment. The dataset, which contains 15,000 records from 30 different cattle, was divided into three sections: training, validation, and testing. Deep learning algorithms InceptionResNetV2, MobilenetV2, DenseNet201, Xception, and NasNetLarge were used in this study to identify specific cattle faces. The DenseNet201 algorithm achieved the highest test accuracy of 99.53% with a validation accuracy of 99.83%.