Saving Lives One Swimmer at a Time
CSEF · 2013 Mathematics & Software First Award
Overview
Objectives/Goals The objective of this project is to develop a computer system that can reliably detect when a swimmer is underwater and possibly drowning. Methods/Materials A video was taken with the swimmer under water as well as above the water. The video was split up into still images. Then a program written in Python processed the images. The program compared a baseline image in which the swimmer was known to be absent/not visible to other images, attempting to detect whether the swimmer was visible in the other images. For a given image, the program concluded that the swimmer was visible if and only the region (a 50x100 pixel box) with the largest summed differences exceeded a specified threshold. Sometimes when the swimmer is submerged, the error level exceeds the threshold because the program has detected moving lane lines. An improved program was developed that minimizes the impact of this or similar motion. The new program modifies the evaluation image by swapping closely-spaced pixels to minimize error levels, essentially moving the lane lines back to their original location in the baseline image. Results As expected, images with the swimmer above water have a higher error level than those with the submerged swimmer; although it can minimize or eliminate the errors associated with moving lane lines, pixel-swapping cannot eliminate the error associated with the swimmer because the swimmer is not visible in the baseline image. Conclusions/Discussion It is possible to set a threshold which can be compared against error levels to accurately determine whether the swimmer is not visible and hence underwater.
Summary statement
In this project, a computerized image processing system was developed to reliably detect when a swimmer is underwater and possibly drowning.
Help received
Father helped teach Python programming language
Awards (1)
Competition history
- CSEF 2013
Resources
Related projects
CSEF · 2014
Where'd Those Swimmers Go?
ISEF · 2024
AquaGuard: A Device for Real-Time Drowning Detection in Swimming Pools Utilizing Visual-Spatial Perception With Deep Encoder-Decoder Neural Networks
ISEF · 2019
A Deep Learning-Based Drowning Detection Method for Dynamic Swimming Pool Environments Using Spatiotemporal Neighborhood Analysis
ISEF · 2024
Keeping an Eye on Children: A Swimmer-following Vehicle Enabled by Edge Intelligence
CSEF · 2018
Project POWER: A Swift Water Warning System
ISEF · 2025
Advancing Underwater Exploration: The Integration of Augmented Reality Technology in Smart Snorkeling Masks for Enhanced Safety, and Marine Environmental Awareness
ISEF · 2022
Swim Smart, Swim Fast: Development and Application of a Fitbit App for Swim Technique Study
CSEF · 2016
HeadSentry: A Real Time System for Preventing Second Impact Syndrome from an Overlooked Concussion in Aquatic Sports
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects