In the background of innovation and development of science and technology, QR code recognition technology in the field of digital image processing has been people's attention, scholars in the practice of the introduction of artificial intelligence algorithm, built a new data recognition system. Therefore, on the basis of understanding the current research status of digital image processing at home and abroad, by comparing and analyzing the corresponding two-dimensional code recognition technology, this paper deeply discusses the data recognition system with QR two-dimensional code as the core, and puts forward the recognition model with genetic algorithm and improved BP neural network algorithm as the core. The final experimental results show that both artificial intelligence algorithms are feasible in data recognition.