- Research Article
- 10.31861/sisiot2025.2.02002
Preprocessing of Object Images Before Their Detection Using YOLO Neural Network
- Dec 30, 2025
- Security of Infocommunication Systems and Internet of Things
- Serhiy Balovsyak + 1 more +1
Software was developed in Python for the digital processing of object images before their detection using the You Only Look Once (YOLO) artificial neural network. Detection was carried out on object images, specifically vehicles and other road users. The preprocessing of images was performed through histogram equalization and local contrast enhancement. The original images were read from video cameras or graphic files. Image detection was performed using the medium-sized YOLO convolutional neural network model, YOLOv8m. As a result of detection, the studied objects, particularly cars, were highlighted with rectangular bounding boxes. To evaluate the accuracy of object detection, several metrics (parameters) were used: Precision, Recall, Intersection over Union (IoU), F1, and Average Precision (AP). The YOLO network was pre-trained on the Common Objects in Context dataset. The YOLO neural network returns the object recognition confidence, the coordinates of its center (x, y) on the image, and its width and height (w, h). The detected objects are marked with rectangular bounding boxes. The positioning of objects in the images was manually performed using the Roboflow tool, which allows for accurate spatial positioning of each object. The study of the impact of image preprocessing on the accuracy of object detection by the YOLO network was conducted using a typical traffic scene image. After histogram equalization, the histogram becomes more symmetrical and uniform, improving the visual quality of both dark and bright areas. This led to improved object detection accuracy across almost all metrics. The increase in detection accuracy by the IoU parameter is 0.169. The summary improvement in detection accuracy by the IoU, F1, AP parameters is 0.502. It was shown that after image preprocessing, detection accuracy increased, and all vehicles were correctly detected. The developed software can be used in various computer vision systems as well as in Internet of Things systems for remote monitoring and control.
Read more