Computer Science ›› 2026, Vol. 53 ›› Issue (6A): 250300090-7.doi: 10.11896/jsjkx.250300090

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Rain and Fog Weather Object Detection Algorithm Based on Improved YOLOv8 Model

ZHANG Shouyi, SHEN Qiang, GUO Yiran, WANG Hanyu   

  1. School of Mechatronics,Beijing Institute of Technology,Beijing 100084,China
  • Online:2026-06-16 Published:2026-06-12
  • About author:ZHANG Shouyi,born in 1999,postgra-duate.His main research interests include artificial intelligence,machine learning,and object detection.
    SHEN Qiang,born in 1977,Ph.D,professor. His main research interests include intelligent unmanned system design, navigation, and control techno-logy.

Abstract: To address the issue of reduced detection accuracy of traditional object detection algorithms under rainy and foggy weather conditions,this paper proposes an improved YOLOv8-based object detection method.Firstly,the FogEnhanceNet deha-zing enhancement module is introduced to improve the contrast and clarity of target regions at the model input stage,thereby enhancing feature distinguishability.Secondly,an Adaptive Contrast Attention(ACA) mechanism is incorporated to dynamically adjust the weights of channel and spatial information,optimizing target feature representation in low-contrast environments.Finally,a lightweight C2f-Ghost-GF structure is designed to reduce model parameters while leveraging guided filtering(GF) to enhance edge feature extraction for foggy images.Experimental results show that the improved model achieves an 11.3% increase in mAP without a significant increase in model parameters,providing an effective solution for target detection in complex weather conditions.

Key words: Object detection, YOLOv8, Rain and fog weather, Dehazing enhancement, Attention mechanism, Lightweight network, Guided filtering, Edge feature extraction

CLC Number: 

  • TN911.73-34
[1] WU P C,ZHENG Z W,WANG T T,et al.Haze Traffic Sign Recognition Based on CF-YOLO[J].Computer Engineering and Design,2024,45(7):2203-2211.
[2] TANG L,WANG S Q,WANG N T,et al.Foggy Insulator Defect Detection Based on Improved YOLOX Network[J].High Voltage Apparatus,2024,60(3):223-228.
[3] LU P D,FAN J,SUN S K.UAV Target Detection Based on Improved Dark Channel Prior Defogging[J].Laser Journal,2024,45(7):102-110.
[4] XIAO J J,FAN B Y,YANG Y T.Ship Target Detection in Foggy Environments[J].Journal of Chongqing University of Technology,2024,38(5):212-219.
[5] BHARAT SIVA VARMA P,ADIMOOLAM P,MARNA Y L,et al.Enhancing Robust Object Detection in Weather-Impacted Environments using Deep Learning Techniques[C]//IEEE.2024.
[6] HA M,KIM C,PARK T.Object Recognition for Autonomous Driving in Adverse Weather Condition Using Polarized Camera[C]//IEEE.2022.
[7] QIU Y,LU Y,WANG Y,et al.IDOD-YOLOV7:Image-Deha-zing YOLOV7 for Object Detection in Low-Light Foggy Traffic Environments[J].Sensors,2023,23(3):1347.
[8] LUO P,NIE J,XIE J,et al.Localization-aware logit mimicking for object detection in adverse weather conditions[J].Image and Vision Computing,2024,146:105035.
[9] KUMAR D,MUHAMMAD N.Object Detection in AdverseWeather for Autonomous Driving through Data Merging and YOLOv8[J].Sensors,2023,23(20):8471.
[10] SU H,GAO H,WANG X,et al.Object Detection in Adverse Weather for Autonomous Vehicles Based on Sensor Fusion and Incremental Learning[J].IEEE Transactions on Instrumentation and Measurement,2024,73:1-10.
[11] SU H,WANG X,GAO H,et al.Object Detection Method for Autonomous Vehicles in Adverse Weather[C]//IEEE.2023.
[12] ZHANG L,ZHAO J,LANG Z,et al.Vehicle detection algorithm for foggy based on improved AOD-Net[J].Transactions of the Institute of Measurement and Control,2024,46(14):2696-2705.
[13] SU J,LIANG B,FENG K K,et al.Foggy Target Detection Algorithm Based on Dimension Interaction and Cross-Layer Scale Cascade[J].Microelectronics & Computer,2024,41(1):53-62.
[14] JING Z,LI S,ZHANG Q.YOLOv8-STE:Enhancing Object Detection Performance Under Adverse Weather Conditions with Deep Learning[J].Electronics,2024,13(24):5049.
[15] LI R S,SHI Y Y,LIU X,et al.Foggy Image Target Detection Based on Double-Head[J].Liquid Crystal and Display,2023,38(12):1717-1727.
[16] LAI J A,CHEN Z Q,SUN Z W,et al.Lightweight Foggy Target Detection Method Based on YOLOv5[J].Computer Engineering and Applications,2024,60(6):78-88.
[17] LIU Z,YANG X Z,CHEN Y,et al.Foggy Target Detection Algorithm Based on Improved YOLOv8s[J].Electronic Measurement Technology,2024,47(20):186-194.
[18] ZHAO S Y,FANG Y J.DCP-YOLOv7:Dark Channel Prior Image-Dehazing YOLOv7 For Vehicle Detection in Foggy Scene[C]//International Conference on Computer Vision and Pattern Analysis.2023.
[19] KENK M A,HASSABALLAH M.DAWN:Vehicle Detection in Adverse Weather Nature Dataset[J].arXiv:2208.05402,2020.
[20] ZHU P F,WEN L Y,DU D W,et al.Detection and Tracking Meet Drones Challenge[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2022,44(11):7380-7399.
[21] XIA G S,BAI X,DING J,et al.DOTA:A Large-scale Dataset for Object Detection in Aerial Images[J].arXiv:1711.10398,2018.
[22] GHARATAPPEH S,NESHATFAR S,SEKEH S Y,et al.FogGuard:guarding YOLO against fog using perceptual loss[J].arXiv:2403.08939,2024.
[23] DING Y,LUO X.SDNIA-YOLO:A Robust Object DetectionModel for Extreme Weather Conditions[J].arXiv:2406.12395,2024.
[1] SHAN Chengcheng, MEI Chun, LI Weiting, GUO Yuanyuan, QIAN Weixing, XIONG Zhi. Semantic Perception Active Learning Method for the Datum Map of Scene Matching Navigation System [J]. Computer Science, 2026, 53(6A): 250600228-8.
[2] CHEN Nuo, ZHAO Peng, HUAN Haisheng. Review of Small Object Detection Based on Deep Learning [J]. Computer Science, 2026, 53(6A): 250700022-9.
[3] ZHENG Haibin, LIN Xiuhao, HAN Ye, CHEN Jinyin, LI Beibei. Black-box Physical Adversarial Attack Against Multimodal Object Detector [J]. Computer Science, 2026, 53(6A): 250700023-10.
[4] ZHONG Hao, KONG Qingxuan, CAI Xianqing, LI Zhizhong, SUN Hao. Intelligent Recognition Method Based on Multimodal Feature Fusion [J]. Computer Science, 2026, 53(6A): 250700065-10.
[5] QU Jiewu, LU Xinxi, SUN Jian, LIU Yan, GAO Ling, XU Binbin. Object Detection Method Based on Phased Training Strategy and Multi-scale Feature Fusion [J]. Computer Science, 2026, 53(6A): 250700088-7.
[6] WEI Wei, LI Bicheng, ZHU Zhenshui, ZUO Jun. Semantic Modeling and Co-attention Mechanism for Multimodal Sarcasm Detection Method [J]. Computer Science, 2026, 53(6A): 250400127-6.
[7] FENG Guang, LIN Jianzhong, ZHONG Ting, ZHOU Yuanhua, ZHENG Runting, LIU Tianxiang. Triple Extraction Based on Pixel Difference Convolutional Network and Attention Mechanism [J]. Computer Science, 2026, 53(6A): 250400136-10.
[8] GU Qinghua, MA Xiang, LI Xuexian. Multi-scale Feature Screening-integrated Lightweight Algorithm for Blast Heap Ore Image Segmentation in Open-pit Mines [J]. Computer Science, 2026, 53(6A): 250500016-8.
[9] MAO Lihong, TANG Jianjun, CHEN Tong, ZHANG Rui. Aerial Image Object Detection Model Based on Dual-domain Attention and Feature Fusion [J]. Computer Science, 2026, 53(6A): 250600036-7.
[10] CHEN Dianlong, LIU Tengbin, GAO Xiong, TIAN Zijian, ZHU Wenbing, ZOU Shun, WANG Qiang. Defect Detection of Transmission Line Fittings Based on Multiscale Feature Fusion Attention and Cross-layer Aggregation [J]. Computer Science, 2026, 53(6A): 250600110-7.
[11] SHEN Yingchun, FENG Xiaohan, LI Qian. Accurate Recognition of Dialect Based on CTC-Conformer Model [J]. Computer Science, 2026, 53(6A): 250600112-8.
[12] DUAN Haiying, WANG Baohui, HUANG He. Malicious Traffic Detection Method of ICMP Covert Channel Based on Baseline Features [J]. Computer Science, 2026, 53(6A): 250200069-11.
[13] LI Jie, WANG Baohui, ZHANG Jingyuan. DDoS Attack Detection Based on Attention Mechanism TCN-BiLSTM [J]. Computer Science, 2026, 53(6A): 250300060-9.
[14] YANG Geer, WANG Xin, SUN Wei, WANG Xinge, HU Zhongrui, MENG Wenjun, ZHANG Junqiang, WU Xinghui, LIU Jinshan, YAN Yuming. Survey on Positional Encoding Algorithms in Deep Learning [J]. Computer Science, 2026, 53(6A): 250300107-16.
[15] LIU Dai, AN Pengyu, WANG Kai. Improved YOLOv5s-based Algorithm for Emergency Situation Detection in Airport Terminals [J]. Computer Science, 2026, 53(6A): 250300174-7.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!