Image processing using neural networks is one of the hottest topics related to artificial intelligence. During the lecture I will show the basics of neural networks on the example of recognizing hand-written numbers. In order to accurately show the mechanisms of neural networks, the code used is written in 'pure' PHP, without the use of external libraries.