TRANSPORT. SAFETY AND ECOLOGY. LOGISTICS AND MANAGEMENT
A prototype of a system for segmenting images of trains and wagons has been developed. Video cameras and specialized websites are used as the source of the original images. Median filtering of images and increase of their local contrast is carried out. The contours of the objects were calculated using the Sobel and Canny methods. Image segmentation is performed by the method of contour lines. As a result of the processing on the images of trains and wagons, meaningful areas (segments) were identified, for example, windows, headlights, etc. Detection of content areas of the object is performed using fuzzy membership functions. The hardware and software implementation of the computer system is made in Python using scipy and scikit-fuzzy libraries, the Google Colab cloud platform and Raspberry Pi 3B+ microcomputer.