Modelling of Innovative Approaches for Drowning Prevention: Customized CNNs and Optimization of Binary Chimps for Early Detection
DOI:
https://doi.org/10.71426/jasm.v1.i1.pp1-8Keywords:
Drowning detection, Binary chimp, Residual block, Data augmentation, Convolutional Neural Networks (CNNs)Abstract
Among the top five global causes of death for children ages one to fourteen is drowning. Drowning is the third most common cause of unintentional mortality, according to data from the World Health Organization (WHO). Existing drowning detection systems including the wearable and camera based approaches have proven to face various limitations such as restricted field view, environmental sensitivity, delayed responses and limited applicability in real world. Moreover, many existing approaches only focus on abnormal motion instead of accurately identifying the drowning behavior which is generally subtle and motionless. These limitations highlight the need for more reliable, feasible and real time drowning system. It is becoming inevitable to design a drowning detection system to protect swimmers, especially kids. This research provides an early drowning detection method based on computer vision and deep learning approach. Using a public available dataset we trained Residual Block 3 and Residual Block 4 of convolutional neural networks. The proposed architecture achieved 97.6% accuracy with a training time of 3.9137 seconds after feature optimization, which demonstrated a remarkable performance for both prediction precision and computational capacity.
References
[1] Shatnawi M, Albreiki F, Alkhoori A, Alhebshi M. Deep learning and vision-based early drowning detection. Information. 2023 Jan 16;14(1):52. Available from: https://doi.org/10.3390/info14010052
[2] Liu T, He X, He L, Yuan F. A video drowning detection device based on underwater computer vision. IET Image Processing. 2023 May;17(6):1905-18. Available from: https://doi.org/10.1049/ipr2.12765
[3] He Q, Zhang H, Mei Z, Xu X. High accuracy intelligent real-time framework for detecting infant drowning based on deep learning. Expert Systems with Applications. 2023 Oct 15;228:120204. Available from: https://doi.org/10.1016/j.eswa.2023.120204
[4] He X, Yuan F, Liu T, Zhu Y. A video system based on convolutional autoencoder for drowning detection. Neural Computing and Applications. 2023 Jul;35(21):15791-803. Available from: https://doi.org/10.1007/s00521-023-08526-9
[5] Sakthivel V, Suriya E, Lee JW, Prakash P. AI-Based Smart Surveillance for Drowning and Theft Detection on Beaches Using Drones. Drone Technology: Future Trends and Practical Applications. 2023 May 22:243-56. Available from: https://doi.org/10.1002/9781394168002.ch10
[6] Powell L, Polsley S, Casey D, Hammond T. The real-time classification of competency swimming activity through machine learning. International Journal of Aquatic Research and Education. 2023;14(1):6. Available from: https://doi.org/10.25035/ijare.14.01.06
[7] Dulhare UN, Ali MH. Underwater human detection using faster R-CNN with data augmentation. Materials Today: Proceedings. 2023 Jan 1;80:1940-5. Available from: https://doi.org/10.1016/j.matpr.2021.05.653
[8] Wei E, Ren S. Drowning Detection based on YOLOv8 improved by GP-GAN Augmentation. Available from: https://openreview.net/forum?id=osqgjMNm4
_
[9] García-Alba J, Bárcena JF, Pedraz L, Fernández F, García A, Mecías M, Costas-Veigas J, Samano ML, Szpilman D. SOSeas Web App: An assessment web-based decision support tool to predict dynamic risk of drowning on beaches using deep neural networks. Journal of Operational Oceanography. 2023 May 4;16(2):155-74. Available from: https://doi.org/10.1080/1755876X.2021.1999107
[10] Laxton V, Howard CJ, Guest D, Crundall D. Intense classification training to increase the detection of drowning swimmers. Applied Cognitive Psychology. 2023 Jan;37(1):189-99. Available from: https://doi.org/10.1002/acp.4038
[11] Vestnikov R, Stepanov D, Bakhshiev A. Development of neural network algorithms for early detection of drowning in swimming pools. In 2023 International Conference on Industrial Engineering, Applications and Manufacturing (ICIEAM). 2023 May 15 (pp. 820-824). IEEE. Available from: https://ieeexplore.ieee.org/document/10139153
[12] Harras MS, Saleh S, Battseren B, Hardt W. Vision-based propeller damage inspection using machine learning. Embedded Selforganising Systems. 2023 Jul 26;10(7):43-7. Available from: https://doi.org/10.14464/ess.v10i7.604
[13] John V, Kawanishi Y. Combining Knowledge Distillation and Transfer Learning for Sensor Fusion in Visible and Thermal Camera-based Person Classification. In 2023 18th International Conference on Machine Vision and Applications (MVA). 2023 Jul 23 (pp. 1-5). IEEE. Available from: https://ieeexplore.ieee.org/document/10215818
[14] Pushpavalli M, Abirami P, Sivagami P, Kavitha M, Bhuvaneswari C, Memala WA. Creation of a Drowning Prevention System for Kids Learning in Pool using Computational Technology. In 2023 International Conference on Artificial Intelligence and Knowledge Discovery in Concurrent Engineering (ICECONF). 2023 Jan 5 (pp. 1-5). IEEE. Available from: 10.1109/ICECONF57129.2023.10083598
[15] He L, Hou H, Yan Z, Xing G. Demo Abstract: An Underwater Sonar-Based Drowning Detection System. 2022 21st ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN). 2022 May 4 (pp. 493-494). IEEE. Available from: https://ieeexplore.ieee.org/document/9825955
[16] Kulhandjian H, Ramachandran N, Kulhandjian M, D'Amours C. Human activity classification in underwater using sonar and deep learning. In Proceedings of the 14th International Conference on Underwater Networks & Systems. 2019 Oct 23 (pp. 1-5). Available from: https://doi.org/10.1145/3366486.3366509
[17] He T, Ye X, Wang M. An Improved Swimming Pool Drowning Detection Method Based on YOLOv8. In 2023 IEEE 7th Information Technology and Mechatronics Engineering Conference (ITOEC). 2023 Sep 15 (Vol. 7, pp. 835-839). IEEE. Available from: https://ieeexplore.ieee.org/document/10291322
[18] Zhou Y, Zhang J, Huang J, Deng K, Zhang J, Qin Z, Wang Z, Zhang X, Tuo Y, Chen L, Chen Y. Digital whole-slide image analysis for automated diatom test in forensic cases of drowning using a convolutional neural network algorithm. Forensic Science International. 2019 Sep 1;302:109922. Available from: https://doi.org/10.1016/j.forsciint.2019.109922
[19] Yu W, Xue Y, Knoops R, Yu D, Balmashnova E, Kang X, Falgari P, Zheng D, Liu P, Chen H, Shi H. Automated diatom searching in the digital scanning electron microscopy images of drowning cases using the deep neural networks. International Journal of Legal Medicine. 2021 Mar;135(2):497-508. Available from: https://doi.org/10.1007/s00414-020-02392-z
[20] Jensen MB, Gade R, Moeslund TB. Swimming pool occupancy analysis using deep learning on low quality video. In Proceedings of the 1st International Workshop on Multimedia Content Analysis in Sports. 2018 Oct 19 (pp. 67-73). Available from: https://doi.org/10.1145/3265845.3265846
[21] Bai B, Chen L, Li X. Improved YOLOv7 Fusion Detection Line for Swimming Pool Drowning Detection. In 2023 IEEE 16th International Conference on Electronic Measurement & Instruments (ICEMI). 2023 Aug 9 (pp. 129-134). IEEE. Available from: 10.1109/ICEMI59194.2023.10270676
[22] Chungath TT, Nambiar AM, Mittal A. Transfer learning and few-shot learning based deep neural network models for underwater sonar image classification with a few samples. IEEE Journal of Oceanic Engineering. 2023 Feb 15;49(1):294-310. Available from: 10.1109/JOE.2022.3221127
[23] Devamane SB, Abhijith BH, Purushotham B, Udayaprasad PK. Titanic Survivors Prediction Analysis Using Machine Learning Algorithms. In 2024 International Conference on Computational Intelligence for Security, Communication and Sustainable Development (CISCSD). 2024 Apr 25 (pp. 82-87). IEEE. Available from: https://ieeexplore.ieee.org/document/10899007
[24] Madan N, Siemon MS, Gjerde MK, Petersson BS, Grotuzas A, Esbensen MA, Nikolov IA, Philipsen MP, Nasrollahi K, Moeslund TB. ThermalSynth: A Novel Approach for Generating Synthetic Thermal Human Scenarios. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision. 2023 (pp. 130-139). Available from: https://ieeexplore.ieee.org/document/10031139
[25] Aaltonen T. Consumer Class Side Scanning Sonar Dataset for Human Detection. In 2023 46th MIPRO ICT and Electronics Convention (MIPRO). 2023 May 22 (pp. 1161-1166). IEEE. Available from: https://ieeexplore.ieee.org/document/10159954
[26] Heo JH, Yoon Y, Seo IS, Im SB, San Ko Y, Lee S, Jang SJ. The significance of evaluating sphenoid sinus fluid by postmortem computed tomography in cases of drowning. Journal of Forensic and Legal Medicine. 2023 Jul 1;97:102551. Available from: https://doi.org/10.1016/j.jflm.2023.102551
[27] Arnold CR. Locating low head dams using a deep learning model in ArcGIS Pro with aerial imagery (Master's thesis, Utah State University). Available from: https://digitalcommons.usu.edu/etd/8756/
[28] Hayat MA, Yang G, Iqbal A. Mask R-CNN based real time near drowning person detection system in swimming pools. In 2022 Mohammad Ali Jinnah University International Conference on Computing (MAJICC). 2022 Oct 27 (pp. 1-6). IEEE. Available from: 10.1109/MAJICC56935.2022.9994135
[29] He Q, Mei Z, Zhang H, Xu X. Automatic real-time detection of infant drowning using YOLOv5 and faster R-CNN models based on video surveillance. Journal of Social Computing. 2023 Mar;4(1):62-73. Available from: 10.23919/JSC.2023.0006
[30] Eng HL. Swimmer behavior analysis and early drowning detection at pool. In Advanced Topics in Biometrics. 2012 (pp. 313-350). Available from: https://doi.org/10.1142/7480
[31] Ogawara T, Usui A, Homma N, Funayama M. Diagnosing drowning in postmortem CT images using artificial intelligence. The Tohoku Journal of Experimental Medicine. 2023;259(1):65-75. Available from: https://doi.org/10.1620/tjem.2022.J097
[32] Gu G, Gan S, Deng J, Du Y, Qiu Z, Liu J, Liu C, Zhao J. Automated diatom detection in forensic drowning diagnosis using a single shot multibox detector with plump receptive field. Applied Soft Computing. 2022 Jun 1;122:108885. Available from: https://doi.org/10.1016/j.asoc.2022.108885
[33] Wang F, Ai Y, Zhang W. Detection of early dangerous state in deep water of indoor swimming pool based on surveillance video. Signal, Image and Video Processing. 2022 Feb;16(1):29-37. Available from: https://doi.org/10.1007/s11760-021-01953-y
[34] Shoeibi A, Khodatars M, Jafari M, Ghassemi N, Sadeghi D, Moridian P, Khadem A, Alizadehsani R, Hussain S, Zare A, Sani ZA. Automated detection and forecasting of covid-19 using deep learning techniques: A review. Neurocomputing. 2024 Apr 7;577:127317. Available from: https://doi.org/10.1016/j.neucom.2024.127317
[35] Fok WW, Chan LC, Chen C. Artificial intelligence for sport actions and performance analysis using recurrent neural network (RNN) with long short-term memory (LSTM). In Proceedings of the 4th International Conference on Robotics and Artificial Intelligence. 2018 Nov 17 (pp. 40-44). Available from: https://doi.org/10.1145/3297097.3297115
[36] Drown DJ, Khoshgoftaar TM, Seliya N. Evolutionary sampling and software quality modeling of high-assurance systems. IEEE Transactions on Systems, Man, and Cybernetics-Part A: Systems and Humans. 2009 May 26;39(5):1097-107. Available from: 10.1109/TSMCA.2009.2020804
[37] G D, S S, M J V. Survey on deep learning techniques used for classification of underwater sonar images. SSRN Electronic Journal. 2020 Jan 1. Available from: https://doi.org/10.2139/ssrn.3734045
[38] Li D, Yu L, Jin W, Zhang R, Feng J, Fu N. An improved detection method of human target at sea based on Yolov3. In 2021 IEEE International Conference on Consumer Electronics and Computer Engineering (ICCECE). 2021 Jan 15 (pp. 100-103). IEEE. Available from: https://ieeexplore.ieee.org/document/9342056
[39] Chan YT, Hou TW, Huang YL, Lan WH, Wang PC, Lai CT. Implementation of deep-learning-based edge computing for preventing drowning. Computing. 2020;8:13. Available from: 10.12792/iciae2020.041
[40] Handalage U, Nikapotha N, Subasinghe C, Prasanga T, Thilakarthna T, Kasthurirathna D. Computer Vision Enabled Drowning Detection System. In 2021 3rd International Conference on Advancements in Computing (ICAC). 2021 Dec 9 (pp. 240-245). IEEE. Available from: https://ieeexplore.ieee.org/document/9671126
[41] Hasan S, Joy J, Ahsan F, Khambaty H, Agarwal M, Mounsef J. A Water Behavior Dataset for an Image-Based Drowning Solution. In 2021 IEEE Green Energy and Smart Systems Conference (IGESSC). 2021 Nov 1 (pp. 1-5). IEEE. Available from: https://ieeexplore.ieee.org/document/9618700
[42] Kharrat M, Wakuda Y, Koshizuka N, Sakamura K. Near drowning pattern recognition using neural network and wearable pressure and inertial sensors attached at swimmer's chest level. In 2012 19th International Conference on Mechatronics and Machine Vision in Practice (M2VIP). 2012 Nov 28 (pp. 281-284). IEEE. Available from: https://ieeexplore.ieee.org/document/6484602
[43] Liu W, Luo W, Lian D, Gao S. Future frame prediction for anomaly detection–a new baseline. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2018 (pp. 6536-6545). Available from: https://ieeexplore.ieee.org/document/8578782
[44] Hong D, Kim Y. Efficient swimmer detection algorithm using CNN-based SVM. Journal of The Korea Society of Computer and Information. 2017;22(12):79-85. Available from: https://doi.org/10.9708/jksci.2017.22.12.079
[45] Park H, Noh J, Ham B. Learning memory-guided normality for anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020 (pp. 14372-14381). Available from: https://ieeexplore.ieee.org/document/9157029
[46] Lv H, Chen C, Cui Z, Xu C, Li Y, Yang J. Learning Normal Dynamics in Videos with Meta Prototype Network. arXiv (Cornell University). 2021 Apr 14. Available from: http://arxiv.org/abs/2104.06689
[47] Müller AT, Kaymaz AC, Gabernet G, Posselt G, Wessler S, Hiss JA, Schneider G. Sparse Neural Network Models of Antimicrobial Peptide-Activity Relationships. Molecular Informatics. 2016 Dec;35(11-12):606-14. Available from: https://doi.org/10.1002/minf.201600029
[48] Wong WK, Hui JH, Loo CK, Lim WS. Off-time swimming pool surveillance using thermal imaging system. In 2011 IEEE International Conference on Signal and Image Processing Applications (ICSIPA). 2011 Nov 16 (pp. 366-371). IEEE. Available from: https://ieeexplore.ieee.org/document/6144091
[49] Carballo-Fazanes A, Bierens JJ, International Expert Group to Study Drowning Behaviour. The visible behaviour of drowning persons: A pilot observational study using analytic software and a nominal group technique. International Journal of Environmental Research and Public Health. 2020 Sep;17(18):6930. Available from: https://doi.org/10.3390/ijerph17186930
[50] Khan A, Fouda MM, Do DT, Almaleh A, Alqahtani AM, Rahman AU. Underwater target detection using deep learning: Methodologies, challenges, applications, and future evolution. IEEE Access. 2024 Jan 12;12:12618-35. Available from: https://ieeexplore.ieee.org/abstract/document/10398174
[51] Rostami-Moez M, Kangavari M, Teimori G, Afshari M, Khah ME. Cultural adaptation for country diversity: A systematic review of injury prevention interventions caused by domestic accidents in children under five years old. Medical Journal of the Islamic Republic of Iran. 2019 Nov 20;33:124. Available from: 10.34171/mjiri.33.124
[52] Chen L, Zheng M, Duan S, Luo W, Yao L. Underwater target recognition based on improved YOLOv4 neural network. Electronics. 2021 Jul 9;10(14):1634. Available from: https://doi.org/10.3390/electronics10141634
[53] Tian M, Li X, Kong S, Yu J. Pruning-based YOLOv4 algorithm for underwater gabage detection. In 2021 40th Chinese Control Conference (CCC). 2021 Jul 26 (pp. 4008-4013). IEEE. Available from: https://ieeexplore.ieee.org/document/9550592
[54] Hu X, Liu Y, Zhao Z, Liu J, Yang X, Sun C, Chen S, Li B, Zhou C. Real-time detection of uneaten feed pellets in underwater images for aquaculture using an improved YOLO-V4 network. Computers and Electronics in Agriculture. 2021 Jun 1;185:106135. Available from: https://doi.org/10.1016/j.compag.2021.106135
[55] Zhao X, Wang X, Du Z. Research on detection method for the leakage of underwater pipeline by YOLOv3. In 2020 IEEE International Conference on Mechatronics and Automation (ICMA). 2020 Oct 13 (pp. 637-642). IEEE. Available from: https://ieeexplore.ieee.org/document/9233693
[56] Xu W, Matzner S. Underwater Fish Detection Using Deep Learning for Water Power Applications. In 2018 International Conference on Computational Science and Computational Intelligence (CSCI). 2018 Dec 12 (pp. 313-318). IEEE. Available from: https://ieeexplore.ieee.org/document/8947884
[57] Cha YJ, Choi W, Büyüköztürk O. Deep learning-based crack damage detection using convolutional neural networks. Computer-Aided Civil and Infrastructure Engineering. 2017 May;32(5):361-78. Available from: https://doi.org/10.1111/mice.12263
[58] Islam MA, Shampa MT. Rip Current: A Potential Hazard Zones Detection in Saint Martin’s Island using Machine Learning Approach. ELCVIA Electronic Letters on Computer Vision and Image Analysis. 2022 Jan 1;21(2):63-81. Available from: https://elcvia.cvc.uab.cat/article/view/1604
[59] Zhang J, Vieira DN, Cheng Q, Zhu Y, Deng K, Zhang J, Qin Z, Sun Q, Zhang T, Ma K, Zhang X. DiatomNet v1.0: A novel approach for automatic diatom testing for drowning diagnosis in forensically biomedical application. Computer Methods and Programs in Biomedicine. 2023 Apr 1;232:107434. Available from: https://doi.org/10.1016/j.cmpb.2023.107434
[60] Dodon A, Calugar MA, Potolea R, Lemnaru C, Dînşoreanu M, Moca VV, Mureşan RC. A Generative Adversarial Approach for the Detection of Typical and Drowned Action Potentials. In 2021 IEEE 17th International Conference on Intelligent Computer Communication and Processing (ICCP). 2021 Oct 28 (pp. 477-481). IEEE. Available from: https://ieeexplore.ieee.org/document/9733643
[61] Chen H, Yuan H, Qin H, Mu X. Underwater Drowning People Detection Based On Bottleneck Transformer And Feature Pyramid Network. In 2022 IEEE International Conference on Unmanned Systems (ICUS). 2022 Oct 28 (pp. 1145-1150). IEEE. Available from: https://ieeexplore.ieee.org/document/9986998
[62] Rashid AH, Razzak I, Tanveer M, Robles-Kelly A. Ripnet: A lightweight one-class deep neural network for the identification of rip currents. In International Conference on Neural Information Processing. 2020 Nov 17 (pp. 172-179). Cham: Springer International Publishing. Available from: https://doi.org/10.1007/978-3-030-63823-8_21
[63] Gaviria JF, Escalante-Perez A, Castiblanco JC, Vergara N, Parra-Garces V, Serrano JD, Zambrano AF, Giraldo LF. Deep learning-based portable device for audio distress signal recognition in urban areas. Applied Sciences. 2020 Oct 23;10(21):7448. Available from: https://doi.org/10.3390/app10217448
[64] Nair RS, Domnic S. Deep-learning with context sensitive quantization and interpolation for underwater image compression and quality image restoration. International Journal of Information Technology. 2022 Dec;14(7):3803-14. Available from: https://doi.org/10.1007/s41870-022-01020-w
[65] Rashid AH, Razzak I, Tanveer M, Hobbs M. Reducing rip current drowning: An improved residual based lightweight deep architecture for rip detection. ISA Transactions. 2023 Jan 1;132:199-207. Available from: https://doi.org/10.1016/j.isatra.2022.05.015
[66] Cepeda-Pacheco JC, Domingo MC. Deep learning and 5G and beyond for child drowning prevention in swimming pools. Sensors. 2022 Oct 10;22(19):7684. Available from: https://doi.org/10.3390/s22197684
[67] Xiao H, Li Y, Xiu Y, Xia Q. Development of outdoor swimmers detection system with small object detection method based on deep learning. Multimedia Systems. 2023 Feb;29(1):323-32. Available from: https://doi.org/10.1007/s00530-022-00995-7
[68] Hu B, Gao B, Woo WL, Ruan L, Jin J, Yang Y, Yu Y. A Lightweight Spatial and Temporal Multi-Feature Fusion Network for Defect Detection. IEEE Transactions on Image Processing. 2020 Nov 13;30:472-86. Available from: https://ieeexplore.ieee.org/document/9259247
[69] Jiang D, Sun B, Su S, Zuo Z, Wu P, Tan X. FASSD: A Feature Fusion and Spatial Attention-Based Single Shot Detector for Small Object Detection. Electronics. 2020 Sep 19;9(9):1536. Available from: https://doi.org/10.3390/electronics9091536
[70] Lu W, Tan YP. A vision-based approach to early detection of drowning incidents in swimming pools. IEEE Transactions on Circuits and Systems for Video Technology. 2004 Feb 29;14(2):159-78. Available from: 10.1109/TCSVT.2003.821980
[71] Li Q, Long H, Xu Z, Hou J, Cai J. A threat recognition solution of edge data security in industrial internet. World Wide Web. 2022 Sep;25(5):2109-38. Available from: https://doi.org/10.1007/s11280-022-01054-x
[72] Merritt SH, Gaffuri K, Zak PJ. Accurately predicting hit songs using neurophysiology and machine learning. Frontiers in Artificial Intelligence. 2023 Jun 20;6:1154663. Available from: https://doi.org/10.3389/frai.2023.1154663
[73] Laxton VA. Testing and training lifeguard visual search. Nottingham Trent University (United Kingdom); 2019. Available from: https://irep.ntu.ac.uk/id/eprint/39591
[74] Zeng Y, Zhang X, Kawasumi Y, Usui A, Ichiji K, Funayama M, Homma N. Deep learning-based interpretable computer-aided diagnosis of drowning for forensic radiology. In 2021 60th Annual Conference of the Society of Instrument and Control Engineers of Japan (SICE). 2021 Sep 8 (pp. 820-824). IEEE. Available from: https://ieeexplore.ieee.org/document/9555359
[75] Zeng Y, Zhang X, Kawasumi Y, Usui A, Ichiji K, Funayama M, Homma N. A 2.5D deep learning-based method for drowning diagnosis using post-mortem computed tomography. IEEE Journal of Biomedical and Health Informatics. 2022 Nov 29;27(2):1026-35. Available from: https://ieeexplore.ieee.org/abstract/document/9965594
[76] [Online Available]: https://universe.roboflow.com/classification/drowningclassification
Downloads
Issue
Section
License
Copyright (c) 2025 Muhammad Aftab Hayat, Yang Guotian, Shams ur Rehman (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Journal of Applied Sciences and Modelling (JASM) Journal operates under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). This allows others distribute, remix, tweak, and build upon the work, even commercially, as long as they credit the authors for the original creation. All authors publishing in JMT Journal accept these as the terms of publication.