Facial images captured under low-light conditions often suffer from visual degradation, including low contrast, inadequate brightness, and loss of important details, which negatively impact face detection accuracy. This study aims to enhance the quality of low-light images using the Retinex method as a preprocessing step and to evaluate its effect on the performance of the YOLOv5 face detection…