Analyzing Performance of YOLOx for Detecting Vehicles in Bad Weather Conditions

Imran Ashraf,Soojung Hur,Gunzung Kim,Yongwan Park
DOI: https://doi.org/10.3390/s24020522
IF: 3.9
2024-01-15
Sensors
Abstract:Recent advancements in computer vision technology, developments in sensors and sensor-collecting approaches, and the use of deep and transfer learning approaches have excelled in the development of autonomous vehicles. On-road vehicle detection has become a task of significant importance, especially due to exponentially increasing research on autonomous vehicles during the past few years. With high-end computing resources, a large number of deep learning models have been trained and tested for on-road vehicle detection recently. Vehicle detection may become a challenging process especially due to varying light and weather conditions like night, snow, sand, rain, foggy conditions, etc. In addition, vehicle detection should be fast enough to work in real time. This study investigates the use of the recent YOLO version, YOLOx, to detect vehicles in bad weather conditions including rain, fog, snow, and sandstorms. The model is tested on the publicly available benchmark dataset DAWN containing images containing four bad weather conditions, different illuminations, background, and number of vehicles in a frame. The efficacy of the model is evaluated in terms of precision, recall, and mAP. The results exhibit the better performance of YOLOx-s over YOLOx-m and YOLOx-l variants. YOLOx-s has 0.8983 and 0.8656 mAP for snow and sandstorms, respectively, while its mAP for rain and fog is 0.9509 and 0.9524, respectively. The performance of models is better for snow and foggy weather than rainy weather sandstorms. Further experiments indicate that enhancing image quality using multiscale retinex improves YOLOx performance.
engineering, electrical & electronic,chemistry, analytical,instruments & instrumentation
What problem does this paper attempt to address?
### Problems Addressed by the Paper This paper primarily explores the performance of the YOLOx model for vehicle detection under adverse weather conditions (such as rain, fog, snow, and sandstorms). Specifically, the study employs three different versions of YOLOx (YOLOx-s, YOLOx-m, and YOLOx-l) to evaluate their performance under various adverse weather conditions and further enhances detection performance by using the multi-scale Retinex method to enhance images. #### Main Objectives: 1. **Evaluate YOLOx's performance under adverse weather conditions**: The study focuses on analyzing YOLOx's vehicle detection capabilities in adverse weather conditions such as rain, fog, snow, and sandstorms. 2. **Compare different versions of YOLOx**: By comparing the performance of YOLOx-s, YOLOx-m, and YOLOx-l, the study aims to determine which version is more suitable for vehicle detection under adverse weather conditions. 3. **Application of image enhancement techniques**: The study also explores the effect of using the multi-scale Retinex method to enhance images to improve the detection performance of the YOLOx model under adverse weather conditions. ### Experimental Design and Results - **Dataset**: The publicly available DAWN dataset was used, which contains 1000 images from real traffic environments, covering four adverse weather conditions: rain, fog, snow, and sandstorms. - **Performance Evaluation Metrics**: Precision, Recall, and mean Average Precision (mAP) were used to evaluate model performance. - **Experimental Results**: - Under snowy conditions, YOLOx-s performed the best with an mAP of 0.8983. - Under sandstorm conditions, YOLOx-s also performed the best with an mAP of 0.8656. - Under rainy and foggy conditions, YOLOx-s had mAPs of 0.9509 and 0.9524, respectively, outperforming other versions. ### Image Enhancement Effects - After enhancing images using the multi-scale Retinex method, the detection performance of the YOLOx model improved, especially under adverse weather conditions. In summary, this paper aims to evaluate and optimize the performance of the YOLOx model for vehicle detection under adverse weather conditions. The experiments validated the superiority of the YOLOx-s version under various adverse weather conditions and demonstrated the effectiveness of image enhancement techniques.