The primary objective of this paper is to design a method of detecting
road edges without using complex algorithms to identify and analyze
images. Instead, neural networks are used, which allows to enhance and facilitate this process. The paper describes a program that recognizes the road in a picture with the use of a neural network trained on 500 samples. The samples contain original photos and images with a selected road. In the course of the research two solutions arose. The first solution is to use a single Perceptron to recognize the road. The second solution is to classify the photos using a Kohonen network and establish a separate network for each class.