Adaptive HSV segmentation for real-time object detection under varying lighting conditions

Cover Page

Cite item

Full Text

Open Access Open Access
Restricted Access Access granted
Restricted Access Subscription or Fee Access

Abstract

Presented is a real-time object detection method based on the HSV color model, proposed as an efficient alternative to complex neural network models. The method is enhanced through the introduction of adaptive bounds, which makes it possible to account for local scene characteristics, including changes in illumination and background complexity. А comparative analysis was carried out between the proposed method and traditional algorithms as well as neural network models such as YOLOv8, using the Intersection over Union (IoU) accuracy metric. Experiments conducted on images with varying illumination levels and complex backgrounds confirmed the method’s ability to adapt to diverse conditions. The scientific novelty of the work lies in the development of an adaptive HSV-segmentation algorithm capable of dynamically adjusting color ranges based on local scene characteristics. This enables competitive accuracy under variable lighting and constrained computational resources—capabilities that have not been implemented in classical HSV segmentation methods. The "HSV segmentation" method demonstrated competitive results, especially under limited computational resources. At the medium tolerance level (the interval of permissible deviations of the HSV components from the central value) its accuracy reached 0.81 in terms of IoU, exceeding the performance of classical methods such as Canny Edge Detection and Template Matching and, in a number of cases, approaching the results of YOLOv8. The main advantages of the method are simplicity of implementation, low hardware requirements, and high processing speed, which makes it particularly useful for real-time applications. In addition, the method successfully provides "vision" for robots, solving tasks such as object detection, localization, and color-based recognition, as well as optimal trajectory calculation. This expands the possibilities for integrating visual systems into automated solutions, including resource-constrained platforms such as the Jetson Nano, and makes the method a promising tool for robotic applications.

Full Text

Restricted Access

About the authors

A. A. Oleynikov

Financial University under the Government of the Russian Federation

Author for correspondence.
Email: oleyalex-2003@mail.ru

Student

Russian Federation, Moscow

E. V. Palchevsky

MIREA — Russian Technological University

Email: teelxp@inbox.ru

Ph.D. in Engineering, Associate Professor

Russian Federation, Moscow

References

  1. Goryachkin B. S., Kitov M. A. Computer vision, E-scio, 2020, no. 9 (48), pp. 317—345.
  2. Ying S., Guan Z., Ofoegbu P. C., Clubb P., Rico C., He X., Hong J. Green synthesis of nanoparticles: Current developments and limitations, Environmental Technology & Innovation, 2022, vol. 26, pp. 102336, doi: 10.1016/j.eti.2022.102336
  3. Qian W., Zhu Z., Zhu C., Luo W., Zhu Y. Efficient deployment of Single Shot Multibox Detector network on FPGAs, Integration, 2024, vol. 99, pp. 102255, doi: 10.1016/j.vlsi.2024.102255
  4. Sholtanyuk S. V., Bu Ts., Nedzved А. M. Methods of processing video sequences with clusters of people to determine the patterns of their movement, Bulletin of the Polotsk State University. Series C. Fundamental sciences, 2024, vol. 42, no. 1, pp. 26—33, doi: 10.52928/2070-1624-2024-42-1-26-33
  5. Xia X., Zhang N., Guan Z., Chai X., Ma S. B., Sun T. PAB-Mamba-YOLO: VSSM assists in YOLO for aggressive behavior detection among weaned piglets, Artificial Intelligence in Agriculture, 2025, vol. 15, no. 1, pp. 52—66, doi: 10.1016/j.aiia.2025.01.001
  6. Ren R., Zhang S., Sun H., Wang N., Yang S., Zhao H., Xin M. YOLO-RCS: А method for detecting phenological period of ‘Yuluxiang’ pear in unstructured environment, Computers and Electronics in Agriculture, 2025, vol. 229, pp. 109819, doi: 10.1016/j.compag.2024.109819
  7. Sharma A., Kumar V., Longchamps L. Comparative performance of YOLOv8, YOLOv9, YOLOv10, YOLOv11 and Faster R-CNN models for detection of multiple weed species, Smart Agricultural Technology, 2024, vol. 9, pp. 100648, doi: 10.1016/j.atech.2024.100648
  8. Cui J., Zhang X., Zhang J., Han Y., Ai H., Dong C., Liu Н. Weed identification in soybean seedling stage based on UAV images and Faster R-CNN, Computers and Electronics in Agriculture, 2024, vol. 227, pp. 109533. doi: 10.1016/j.compag.2024.109533
  9. Shakirzyanov R. M. Detection of traffic light signals using color segmentation and a radial symmetry detector, Bulletin of the Voronezh State Technical University, 2020, vol. 16, no. 6, pp. 25—33, doi: 10.36622/VSTU.2020.16.6.004
  10. Mitryaev G. A., Melnikov D. K. Investigation of methods for detecting objects in an image without using machine learning algorithms, Proceedings of Tula State University. Technical sciences, 2024, no. 8, pp. 411—417.
  11. Fu M., Zhang Q., Rong K., Yaseen Z. M., Zheng L., Zheng J. Integrated dynamic multi-threshold pattern recognition with graph attention long short-term neural memory network for water distribution network losses prediction: An automated expert system, Engineering Applications of Artificial Intelligence, 2024, vol. 127, part В, pp. 107277, doi: 10.1016/j.engappai.2023.107277
  12. Ogiela U., Snášel V. Predictive intelligence in evaluation of visual perception thresholds for visual pattern recognition and understanding, Information Processing & Management, 2022, vol. 59, no. 2, pp. 102865, doi: 10.1016/j.ipm.2022.102865
  13. Lu Y., Duanmu L., Zhai Z., Wang Z. Application and improvement of Canny edge-detection algorithm for exterior wall hollowing detection using infrared thermal images, Energy and Buildings, 2022, vol. 274, pp. 112421, doi: 10.1016/j.enbuild.2022.112421
  14. Hu C.-Y., Hung C.-L., Huang Y.-C., Huang P.-H., Tseng D.-Y., Lin Y.-H., Sun F.-J., Kao F.-J., Yeh H.-I., Liu Y.-Y. Alcohol patch test with hue-saturation-value model analysis predicts ALDH2 genetic polymorphism, Computers in Biology and Medicine, 2022, vol. 147, pp. 105783, doi: 10.1016/j.compbiomed.2022.105783
  15. Jiao J., Lu Y., Liu Y. Optical quantification of oil emulsions in multi-band coarse-resolution imagery using a lab-derived HSV model, Marine Pollution Bulletin, 2022, vol. 178, pp. 113640, doi: 10.1016/j.marpolbul.2022.113640
  16. An Y., Riaz M., Park J. CBIR based on adaptive segmentation of HSV color space, 12th International Conference on Computer Modelling and Simulation (UKSim), Cambridge, UK, 2010, pp. 248—251, doi: 10.1109/UKSIM.2010.53

Supplementary files

Supplementary Files
Action
1. JATS XML
2. Fig. 1. Workflow of the classical HSV segmentation method

Download (275KB)
3. Fig. 2. Algorithm workflow of adaptive HSV segmentation based on local statistics

Download (252KB)
4. Fig. 3. Example of system operation: a robotic manipulator grasps an object detected using adaptive HSV segmentation (experiment fragment)

Download (1MB)
5. Fig. 4. Comparison of IoU at different tolerance levels of adaptive HSV segmentation

Download (344KB)
6. Fig. 5. Experimental results comparing HSV segmentation, Canny Edge, YOLOv8 and Template Matching

Download (1MB)

Copyright (c) 2026 Informacionnye Tehnologii



СМИ зарегистрировано Федеральной службой по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор).
Регистрационный номер и дата принятия решения о регистрации СМИ: серия ПИ № 77 - 15565 от 02 июня 2003 г.