Abstract
For the current mainstream detection methods are difficult to achieve fire detection in outdoor electric vehicle-charging station, this paper proposes a real-time fire detection method from video for electric vehicle charging stations based on improved YOLOX-tiny. CBAM attention mechanism is introduced to concatenate the spatial and channel attention information, to preserve the salient features of different shapes of flames. Depthwise Separable Convolution is used to replace Conventional Convolution to reduce the number of Parameters and FLOPs of the network, and improves the speed of detection and the deployment of the model on the embedded side. CIoU loss function is used to replace bounding box regression loss function of YOLOX-tiny, and the aspect ratio limit mechanism is added to improve the convergence speed of the loss function and make the prediction results more consistent with the actual target. Experiment shows that mAP value of improved YOLOX-tiny is 94.05\(\%\), Precision is 91.76\(\%\), and Recall is 83.27\(\%\) on the embedded side, with the video detection speed is 20 fps, which meets the demand for real-time detection for electric vehicle-charging stations.
Similar content being viewed by others
Data availability
The datasets generated during the current study are not publicly available due to the next experiment but are available from the corresponding author on reasonable request.
References
Niu, Z.Y., Jiang, X., Xie, B., Jin, Y.: Study on simulation and safety protection of electric vehicle overcharge and explosion accident. Transact. China Electrotech. Soc. 37(1), 36–47 (2022)
Sun, B.X., Liu, J., Han, Z.Q.: Performance correlation and temperature applicability of Li-ion batteries under different range degradation paths. Transact. China Electrotech. Soc. 35(9), 2063–2073 (2020)
Zhu, X.Q., Wang, Z.P., Hsin, W.A.N.G., Wang, C.: Review of thermal runaway and safety management for lithium-ion traction batteries in electric vehicles. J. Mech. Eng. 56(14), 91–118 (2020)
Jiang, B., Lu, Y.Y., Li, X.Y., Lin, L.: Towards a solid solution of real-time fire and flame detection. Multimedia Tools Applicat. 74, 670–689 (2015)
Li, J.H., Fan, R.X., Chen, Z.B.: Forest fire image recognition based on color and texture features. J. South China Univ. Technol. 48(1), 70–83 (2020)
Han, X.F., Jin, J.X., Wang, M.J., Jiang, W., Gao, L., Xiao, L.P.: Video fire detection based on Gaussian Mixture Model and multi-color features. Signal Image Video Proc. 11(8), 1419–1425 (2019)
Peng, Y.S., Wang, Y.: Real-time forest smoke detection using hand-designed features and deep learning. Comput. Electron. Agric. 167, 105029 (2019)
Li, S.B., Yan, Q.D., Liu, P.: An efficient fire detection method based on multiscale feature extraction. implicit deep supervision and channel attention mechanism. IEEE Trans. Image Proc. 29, 8467–8475 (2020)
Torabian, M., Pourghassem, H., Mahdavi-Nasab, H.: Fire detection based on fractal analysis and spatio-temporal features. Fire Technol. 57(5), 2583–2614 (2021)
Girshick, R.: Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Transact. Pattern Anal. Mach. Intell. 39(06), 1137–1149 (2016)
He, K.M., Gkioxari, G., Dollar, P., Girshick, R.: Mask R-CNN. IEEE Transact. Pattern Anal. Mach. Intell. 42(2), 386–397 (2020)
Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y.: SSD: single shot MultiBox detector., pp. 21–37. Springer International Publishing, Cham (2016)
Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You Only Look Once: Unified, Real-Time object detection. 2016 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 779-788 (2016)
Pincott, J., Tien, P.W., Wei, S.Y., Calautit, J.K.: Indoor fire detection utilizing computer vision-based strategies. J. Building Eng. 61(5), 105–154 (2022)
Liang, Q., Li, B.Y., Chen, L.K., Wei, W., Liang, D., Xuan, J., Huang, J., Ge, C.W., Xue, C.M., Dong, W.: Ship Target Detection Algorithm Based on Improved Faster R-CNN. Electronics 8(9), 959–977 (2019)
Zhang, S.Y., Yang, Q., Gao, Y.C., Gao, D.X.: Real-Time Fire Detection Method for Electric Vehicle Charging Stations Based on Machine Vision. World Electric Vehicle Journal 13(2) (2022)
Yang, T., Xu, S., Li, W., Wang, H., Shen, G., Wang, Q.: A Smoke and Flame Detection Method Using an Improved YOLOv5 Algorithm. World Electric Vehicle Journal. In: 2022 IEEE International Conference on Real-time Computing and Robotics (RCAR). pp. 366-371 (2022). https://doi.org/10.3390/WEVJ13020023
Zhou, J.C., Hu, W.W., Zou, A.Y., Zhai, S.K., Liu, T.Y., Yang, W.H., Jiang, P.: Lightweight Detection Algorithm of Kiwifruit Based on Improved YOLOX-S. Agriculture 12(7), 993–1006 (2022)
Zheng, G., Liu, S.T., Wang, F., Li, Z.M., Sun, J.: YOLOX: Exceeding YOLO Series in 2021. arXiv:2107.08430 (2021)
Zhang, Y.C., Zhang, W.B., Yu, J.Y., He, L.Y., Chen, J.N.: Complete and accurate holly fruits counting using YOLOX object detection. Comp. Electron. Agricult. 198, 107062 (2022)
Acknowledgements
This work was supported by the Key Research and Development Projects of Shandong Province (2019GGX101012), the Natural Science Foundation of Shandong Province (Grant No. ZR2022ME194) and the Independent Research and Innovation Project of Qingdao University of Science and Technology (S2022KY017).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
All authors declare that they have no conflict of interest affecting the work reported in this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Ju, Y., Gao, D., Zhang, S. et al. A real-time fire detection method from video for electric vehicle-charging stations based on improved YOLOX-tiny. J Real-Time Image Proc 20, 48 (2023). https://doi.org/10.1007/s11554-023-01309-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11554-023-01309-4