Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Micro Laboratory Safety Hazard Detection Based on YOLOv4: A Lightweight Image Analysis Approach

Author 1: Yuan Lin
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 3 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0160336

Abstract

In hazardous chemical laboratories, identifying and managing safety hazards is critical for effective safety management. This study, grounded in safety engineering principles, focuses on laboratory environments to develop an efficient hazard detection model using deep learning and object detection techniques. The lightweight YOLOv4-Tiny algorithm, with fewer parameters, was selected and optimized for detecting unsafe factors in laboratories. The CIOU loss function was employed to enhance the stability of candidate box regression, while three attention mechanism modules were embedded into the backbone feature extraction network and the feature pyramid's upsampling layer, forming an improved YOLOv4-Tiny object detection algorithm. To support the detection tasks, a specialized dataset for laboratory hazards was created. The improved YOLOv4-Tiny model was then used to construct two detection models: one for identifying the status of chemical bottles and another for detecting general laboratory safety hazards. The chemical bottle status detection model achieved AP values of 93.06% (normal), 95.31% (disorderly stacking), and 90.72% (label detachment), with an mAP of 93.03% and an FPS of 272, demonstrating both high accuracy and speed. The laboratory hazard detection model achieved AP values of 97.40%, 90.14%, 96.80%, and 68.95% for normal experimenters, individuals not wearing protective equipment, individuals smoking, and open flames, respectively, with a mAP of 88.32% and an FPS of 116. These results confirm the effectiveness of the proposed models in accurately and efficiently identifying laboratory safety hazards.

Keywords

How to Cite this Article

Lin, Y. (2025). Micro Laboratory Safety Hazard Detection Based on YOLOv4: A Lightweight Image Analysis Approach. International Journal of Advanced Computer Science and Applications, 16(3). https://doi.org/10.14569/IJACSA.2025.0160336

Lin, Yuan. "Micro Laboratory Safety Hazard Detection Based on YOLOv4: A Lightweight Image Analysis Approach." International Journal of Advanced Computer Science and Applications, vol. 16, no. 3, 2025, https://doi.org/10.14569/IJACSA.2025.0160336.

@article{Lin2025,
  title     = {Micro Laboratory Safety Hazard Detection Based on YOLOv4: A Lightweight Image Analysis Approach},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {3},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Yuan Lin},
  doi       = {10.14569/IJACSA.2025.0160336},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160336}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.