Laser & Optoelectronics Progress, Volume. 61, Issue 14, 1437004(2024)

Lightweight Low-Light Object Detection Algorithm Based on YOLOv7

Changyu Li and Lei Ge*
Author Affiliations
  • National Key Laboratory of Transient Physics, Nanjing University of Science and Technology, Nanjing 210094, Jiangsu , China
  • show less
    Figures & Tables(15)
    LL-YOLO algorithm framework
    The difference between the proposed algorithm and other low-light object detection algorithms. (a) Two-stage approaches; (b) YOLO-in-the-dark; (c) MAET; (d) proposed algorithm
    Low-illumination generation model
    Downsampling methods. (a) Downsampling method of the original model; (b) downsampling method of our model
    Upsampling methods. (a) Upsampling method of the original model; (b) upsampling method of our model
    Comparison of activation functions
    Comparison between the A-ELAN module and other computing modules. (a) One-stacked ELAN; (b) RTMDet; (c) A-ELAN
    Visualization of ExDark detection results. (a) The baseline model missed the chair with an inconspicuous left corner; (b) the baseline model had false detections on cups and people; (c) the baseline model missed the table and cup that were not obvious in the figure, and the chair was falsely detected; (d) the baseline model deviates from the positioning of cars with indistinct boundaries and misdetects people
    • Table 1. Configuration of the experimental environment

      View table

      Table 1. Configuration of the experimental environment

      EnvironmentConfiguration
      CPUIntel Core i5-12400F
      GPUNVIDIA RTX 3060
      PyThon3.7
      PyTorch1.11.0
      CUDA11.3
      cuDNN8.2.1
    • Table 2. Comparison of algorithm accuracy

      View table

      Table 2. Comparison of algorithm accuracy

      MethodInput sizemAP@0.5 /%
      YOLOv5n2164064.9
      YOLOv7-tiny1264069.2
      YOLOv8n2764069.5
      YOLOv8s2764072.6
      MAET1060877.7
      Reference [2864074.0
      Reference [2964071.9
      Reference [341674.8
      LL-YOLO(ours)64081.1
      LL-YOLO60881.0
      LL-YOLO41678.4
      LL-YOLO(w/o pre)64073.1
    • Table 3. Comparison of evaluation indicators for algorithm detection lightweight

      View table

      Table 3. Comparison of evaluation indicators for algorithm detection lightweight

      MethodFPS(GPU/CPU)FLOPs /109Params /106
      YOLOv8n271.03/39.518.23.01
      YOLOv8s147.19/20.6928.711.1
      YOLOv7-tiny284.71/32.6613.36.04
      MAET43.51/5.8370.161.6
      LL-YOLO184.79/26.2516.87.4
    • Table 4. Comparison of different image generation algorithms

      View table

      Table 4. Comparison of different image generation algorithms

      MethodSSIM
      LLFlow0.93
      HWMNet0.88
      LGNet(ours)0.95
    • Table 5. Comparison of the effects of different pre-training regimens

      View table

      Table 5. Comparison of the effects of different pre-training regimens

      MethodmAP@0.5 /%
      Regimen 169.2
      Regimen 277.5
      Regimen 377.9
      Regimen 478.2
    • Table 6. Ablation experiments

      View table

      Table 6. Ablation experiments

      YOLOv7-tinyHSNetA-ELANLGNetmAP@0.5 /%
      78.4
      70.3
      69.5
      66.3
    • Table 7. HSNet ablation experiments

      View table

      Table 7. HSNet ablation experiments

      YOLOv7-tinyDownsampleUpsampleSwishmAP@0.5 /%
      69.5
      68.8
      67.4
      66.3
    Tools

    Get Citation

    Copy Citation Text

    Changyu Li, Lei Ge. Lightweight Low-Light Object Detection Algorithm Based on YOLOv7[J]. Laser & Optoelectronics Progress, 2024, 61(14): 1437004

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Digital Image Processing

    Received: Oct. 9, 2023

    Accepted: Dec. 11, 2023

    Published Online: Jul. 8, 2024

    The Author Email: Lei Ge (gl_njust@njust.edu.cn)

    DOI:10.3788/LOP232459

    CSTR:32186.14.LOP232459

    Topics