WANGWei, HUANGFan, WANGJi-yuan, ZHUWen-bo, LIChang-ping
With the rapid development of computer vision and artificial intelligence, object detection technology has been widely applied in the field of fire protection. A smart fire extinguisher dial recognition device based on the improved YOLOv5 algorithm has been designed and implemented to address the low efficiency and misjudgment of manual recognition of fire extinguisher dials in traditional fire equipment maintenance and repair processes. This device integrates the Raspberry Pi 4B computing core and a high-resolution camera, combined with a closed enclosure, a light shielding side panel, and an adaptive fill light system, effectively suppressing external interferences and adapting to different fire extinguishers of varying capacities. At the algorithm level, the CBAM attention module and BiFPN feature fusion network are introduced to optimize the feature extraction ability and multi-scale object detection performance of the YOLOv5m model. At the same time, an image segmentation strategy is proposed to enhance the recognition accuracy of the model for small targets in complex backgrounds. The improved model has higher accuracy and precision. Onsite tests have shown that the device has a 100% accuracy rate in recognizing the pressure state of 3 kg, 4 kg, 5 kg, and 8 kg fire extinguishers in complex industrial environments. After integration with the intelligent IoT system for vehicle-mounted fire-fighting equipment diagnosis, the detection data of the device can be uploaded in real time to the cloud platform for further data analysis and status evaluation of the system. In the maintenance and repair process of fire extinguishers, it demonstrates high work efficiency and automation level, providing strong technical support for the maintenance and repair of fire-fighting equipment.