Swimming pool drowning prevention method and system based on gridding design
Through the swimming pool anti-drowning method based on grid design, the camera is used to identify abnormal swimmers and send warning information to the smart watch, which solves the problem of incomplete coverage of drowning monitoring in the swimming pool, achieves precise positioning and timely alarm of the drowning area, and improves the efficiency of swimming pools. Accuracy of drowning monitoring and rescue efficiency.
Patent Information
- Application Number
- CN202410840355.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-22
AI Technical Summary
In swimming pools, since it is difficult for a single lifeguard to cover all areas, existing technology that relies on multiple lifeguards to monitor drowning is prone to negligence and cannot identify drowning in a timely manner.
Using a swimming pool anti-drowning method based on grid design, swimming videos are acquired through cameras, abnormal swimmers are identified and warning messages are sent to smart watches to achieve precise positioning and timely alarm of the drowning area.
It improves the accuracy and comprehensiveness of drowning monitoring, ensures that lifeguards can receive drowning alarms in a timely manner, reduces monitoring loopholes, and improves the safety of swimmers.
Smart Images

Figure CN118823960A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of drowning monitoring, and in particular to a swimming pool drowning prevention method and system based on grid design. Background Art
[0002] A swimming pool is a large swimming pool with a large area. It is difficult for a single lifeguard to cover all areas manually. At present, the drowning monitoring method of the swimming pool is to set up multiple lifeguards around the swimming pool. The accuracy of drowning monitoring can be improved through sufficient lifeguard density. However, this method often relies on the division of labor and cooperation of multiple lifeguards to monitor drowning, which is prone to monitoring negligence in overlapping areas, resulting in failure to identify the occurrence of drowning.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a swimming pool drowning prevention method, swimming pool monitoring equipment, smart watch and storage medium based on grid design, aiming to improve the accuracy of drowning monitoring.
[0005] To achieve the above object, the present invention provides a swimming pool drowning prevention method based on grid design, which is applied to a swimming pool monitoring device. The swimming pool monitoring device is provided with a camera in the swimming pool. The steps of the swimming pool drowning prevention method based on grid design include:
[0006] Control the camera to obtain swimming videos of swimmers;
[0007] Determine, according to the swimming video, the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located, wherein the swimming pool area is a gridded area;
[0008] The warning information is sent to a smart watch worn by a lifeguard according to the swimming pool area, so that the smart watch receives the warning information and issues an alarm prompt according to the warning information.
[0009] Optionally, before the step of determining the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located according to the swimming video, the step further includes:
[0010] Divide all areas of the swimming pool according to the grid division parameters to obtain multiple swimming pool areas and corresponding area data;
[0011] Adjusting the camera adjustment data of the camera according to the area data;
[0012] The swimming pool area is associated with the identification information of the smart watch according to the area data to obtain an associated relationship.
[0013] Optionally, the area data includes area location information, and the step of associating the swimming pool area with identification information of a smart watch according to the area data includes:
[0014] Calculate the distance data between each area location information and the watch location information of all the smart watches to obtain a plurality of distance data;
[0015] Determine the main responsible area of each smart watch according to the plurality of distance data, wherein the smart watches correspond to the main responsible areas one by one;
[0016] According to the area adjacent to the main responsible area of the smart watch as the secondary responsible area corresponding to the smart watch;
[0017] The identification information is associated with the primary responsibility area and the secondary responsibility area.
[0018] Optionally, the grid division parameters include: a grid size and a corresponding grid position corresponding to each grid, and before the step of dividing all areas of the swimming pool according to the grid division parameters to obtain a plurality of swimming pool areas and corresponding area data, the step further includes:
[0019] The grid size and the corresponding grid position are determined according to the pool size data of the swimming pool.
[0020] Optionally, the regional data includes regional location information and regional area information, and the camera adjustment data includes camera orientation data and shooting magnification data; and the step of adjusting the camera adjustment data according to the regional data includes:
[0021] adjusting the orientation data according to the region position information, and adjusting the shooting magnification data according to the region area information;
[0022] shooting a preview image according to the orientation data and the shooting magnification data;
[0023] The orientation data and the shooting magnification data are updated according to the preview image.
[0024] Optionally, the swimming pool drowning prevention method based on grid design is applied to a smart watch, and the steps of the swimming pool drowning prevention method based on grid design include:
[0025] Receive warning information sent by a swimming pool monitoring device, wherein the warning information is obtained by the swimming pool monitoring device by controlling a camera to obtain a swimming video of a swimmer, and the warning information corresponding to an abnormal swimmer is determined according to the swimming video. The swimming pool monitoring device sends the warning information to a smart watch worn by a lifeguard according to a swimming pool area, and the swimming pool area is a gridded area;
[0026] An alarm prompt is issued according to the warning information.
[0027] Optionally, the alarm prompt includes: sound warning and image display warning, and the step of issuing an alarm prompt according to the warning information includes:
[0028] According to the warning information, the display screen is controlled to display the location information and occurrence time of the alarm, and the speaker is controlled to play the location information and the occurrence time.
[0029] In addition, to achieve the above-mentioned objectives, the present invention also provides a swimming pool monitoring device, which includes: a memory, a processor, and a swimming pool drowning prevention program based on a grid design stored on the memory and executable on the processor, wherein the swimming pool drowning prevention program based on a grid design is configured to implement the steps of the swimming pool drowning prevention method based on a grid design described in any one of the above-mentioned items.
[0030] In addition, to achieve the above-mentioned objectives, the present invention also provides a smart watch, comprising: a memory, a processor, and a swimming pool drowning prevention program based on grid design stored in the memory and executable on the processor, wherein the swimming pool drowning prevention program based on grid design is configured to implement the steps of any of the above-mentioned swimming pool drowning prevention methods based on grid design.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which is stored a swimming pool drowning prevention program based on grid design. When the swimming pool drowning prevention program based on grid design is executed by a processor, the steps of the swimming pool drowning prevention method based on grid design described in any of the above-mentioned items are implemented.
[0032] The present invention proposes a swimming pool drowning prevention method based on grid design. The method determines the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located through the swimming video, which can improve the comprehensiveness of the warning data when the abnormal swimmer is detected, so that the area where the abnormal swimmer actually occurs can be determined, and the warning information is sent to the smart watch according to the swimming pool area, so that the lifeguard serving the swimming pool area can be promptly prompted. Compared with the method of only using manual monitoring of drowning, the accuracy of monitoring swimmer drowning can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the structure of a swimming pool monitoring device and a smart watch in the hardware operating environment involved in the embodiment of the present invention;
[0034] Figure 2 It is a flow chart of a first embodiment of a method for preventing drowning in a swimming pool based on a grid design according to the present invention;
[0035] Figure 3 It is a flow chart of a second embodiment of the method for preventing drowning in a swimming pool based on grid design according to the present invention;
[0036] Figure 4 It is a flow chart of a third embodiment of a method for preventing drowning in a swimming pool based on a grid design according to the present invention;
[0037] Figure 5 A grid diagram of a swimming pool according to the swimming pool drowning prevention method based on grid design of the present invention;
[0038] Figure 6 An example diagram showing a swimming pool video of the swimming pool monitoring device of the present invention;
[0039] Figure 7 An example diagram of the main responsibility area and the secondary responsibility area of the positions set up in the background of the swimming pool monitoring device of the present invention;
[0040] Figure 8 This is an example diagram of a drowning alarm displayed on a smart watch of the present invention.
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a swimming pool monitoring device and a smart watch in the hardware operating environment involved in an embodiment of the present invention.
[0044] like Figure 1As shown, the swimming pool monitoring device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, an interactive device 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The interactive device 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional interactive device 1003 may also be connected to the communication bus through a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface), and the network interface is mainly used for the connection between the swimming pool monitoring device and the smart watch. The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0045] In addition, the smart watch can also include: a processor 2001, a communication bus 2002, an interactive device 2003, a network interface 2004, and a memory 2005.
[0046] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the swimming pool monitoring device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a swimming pool drowning prevention program based on a grid design.
[0048] exist Figure 1 In the swimming pool monitoring device shown, the network interface 1004 is mainly used for data communication with other devices; the interactive device 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the swimming pool monitoring device of the present invention can be set in the swimming pool monitoring device, and the swimming pool monitoring device calls the swimming pool drowning prevention program based on grid design stored in the memory 1005 through the processor 1001, and executes the swimming pool drowning prevention method based on grid design provided in an embodiment of the present invention.
[0049] The embodiment of the present invention provides a swimming pool drowning prevention method based on grid design, referring to Figure 2 , Figure 2 It is a flow chart of a first embodiment of a method for preventing drowning in a swimming pool based on grid design according to the present invention.
[0050] In this embodiment, it is applied to a swimming pool monitoring device, wherein a camera is arranged in the swimming pool, and the swimming pool drowning prevention method based on grid design includes:
[0051] Step S10, controlling the camera to obtain a swimming video of the swimmer;
[0052] In this embodiment, multiple cameras are controlled to obtain swimming videos of swimmers. It should be noted that the swimming videos here are not swimming videos of a single swimmer, but swimming videos of swimmers in a fixed area in the swimming pool, that is, the swimming videos here do not move with the movement of the swimmers. Specifically, the appropriate exposure time is adjusted based on the brightness in the swimming pool to avoid overexposure or overdarkness, thereby improving the shooting quality of the swimming video.
[0053] Step S20, determining the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located according to the swimming video, wherein the swimming pool area is a gridded area;
[0054] Specifically, the image recognition algorithm is used to identify the dynamic behavior of swimmers, thereby determining abnormal swimmers. Abnormal swimmers here include swimmers who have drowned. Of course, abnormal swimmers can also include swimmers who have dangerous behaviors, such as diving and playing in the water. When an abnormal swimmer is identified, the time and displacement distance of the abnormal behavior of the abnormal swimmer are used as warning information. The pool area where the abnormal swimmer is located is determined based on the location of the abnormal swimmer.
[0055] Step S30, sending the warning information to the smart watch worn by the lifeguard according to the swimming pool area, so that the smart watch receives the warning information and issues an alarm prompt according to the warning information;
[0056] In this embodiment, the warning message is sent to the corresponding smart watch according to the different swimming pool areas. It should be noted that in this embodiment, there may be multiple smart watches, and the warning message may be sent to at least one smart watch according to the swimming pool area.
[0057] In this embodiment, by determining the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located through the swimming video, the comprehensiveness of the warning data when the abnormal swimmer is detected can be improved, so that the area where the abnormal swimmer actually occurred can be determined, and the warning information can be sent to the smart watch according to the swimming pool area, so that the lifeguard serving the swimming pool area can be promptly prompted. Compared with the method of using only manual monitoring of drowning, the accuracy of monitoring swimmer drowning can be improved.
[0058] Further, based on the first embodiment, a second embodiment of the swimming pool drowning prevention method based on grid design of the present invention is proposed. In this embodiment, referring to Figure 3 , before the step of determining the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located according to the swimming video, it also includes:
[0059] Step S201, dividing all areas of the swimming pool according to the grid division parameters to obtain multiple swimming pool areas and corresponding area data;
[0060] The grid division parameters here are set by the management personnel, and optionally by the lifeguards. In this embodiment, they can be set according to the actual number of lifeguards in the swimming pool and the actual size of the swimming pool. Of course, the number of grid division parameters can be multiple. In the actual execution process, the preset grid division parameters are selected to divide all areas of the swimming pool, thereby obtaining multiple swimming pool areas and corresponding area data. In this embodiment, the area data includes: area data and the position coordinates of the center point of the swimming pool area.
[0061] Step S202, adjusting the camera adjustment data of the camera according to the area data;
[0062] The camera adjustment data here specifically include: the position of the camera, the direction of the camera, the magnification of the camera lens and the focal length of the lens. In some embodiments, the camera is provided with a pan / tilt system, and the pan / tilt system is adjusted to achieve the rotation of the pan / tilt to adjust the shooting angle, thereby ensuring that the swimming video is the corresponding swimming pool area. It needs to be explained here that in the present embodiment, the swimming video is not a video shot by a single camera, but a video shot by more than one camera. Through step S202, it can be achieved that each swimming pool area is provided with a dedicated camera or multiple areas share one camera. Of course, in other embodiments, step S202 can also be executed before the step of controlling the camera to obtain the swimming video of the swimmer.
[0063] Step S203: Associating the swimming pool area with identification information of the smart watch according to the area data.
[0064] It should be noted that in this embodiment, different swimming pool areas will affect the associated smart watch to which the warning information is sent. Therefore, before this, it is necessary to associate the swimming pool area with the identification information of the smart watch according to the area data to obtain an association relationship. After the association, the step of sending the warning information to the smart watch worn by the lifeguard according to the swimming pool area is specifically to determine the identification information according to the association relationship and the swimming pool area, and send the warning information to the smart watch according to the identification information. Since the identification information is an unchanging attribute of the smart watch, the smart watch to which the warning information is sent can be accurately determined.
[0065] In this embodiment, by dividing all areas of the swimming pool according to the grid division parameters, a plurality of swimming pool areas and corresponding area data are obtained; the camera adjustment data of the camera is adjusted according to the area data; the swimming pool area is associated with the identification information of the smart watch according to the area data to obtain an association relationship, so that the warning information can be accurately sent to the smart watch worn by the lifeguard based on the association relationship.
[0066] Further, based on the second embodiment, a third embodiment of the swimming pool drowning prevention method based on grid design of the present invention is proposed, wherein the regional data includes regional location information, referring to Figure 4 The step of associating the swimming pool area with the identification information of the smart watch according to the area data includes:
[0067] Step S2031, calculating the distance data between each of the area location information and the watch location information of all the smart watches to obtain a plurality of distance data;
[0068] In this embodiment, the area location information here is specifically the location coordinates of the center point of the swimming pool area. It should be noted that the watch location information here can be set to the coordinates of the location of the observation post where the lifeguard is located.
[0069] Step S2032, determining the primary responsible area of each smart watch according to the plurality of distance data, wherein the smart watches correspond to the primary responsible areas one by one;
[0070] The plurality of distance data are sorted to obtain a sorting result, and the primary responsible area of each smart watch is determined according to the sorting result. The primary responsible area here is the area that each lifeguard wearing the smart watch is responsible for monitoring and rescuing.
[0071] Step S2033, using an area adjacent to the primary responsible area of the smart watch as a secondary responsible area corresponding to the smart watch;
[0072] Step S2034, associating the identification information with the primary responsibility area and the secondary responsibility area.
[0073] In this embodiment, the identification information may be associated with one primary responsibility area, or may be associated with multiple secondary responsibility areas.
[0074] In other embodiments, while controlling the camera to obtain the swimming video of the swimmer, the real-time location information and control instructions of the smart watch are received. When the distance between the real-time location information and the watch location information is greater than a preset threshold, or when the control instruction is an off-duty instruction, the first main responsibility area corresponding to the smart watch is allocated to the target smart watch to obtain allocation information. The secondary responsibility area in the management relationship of the target smart watch includes the first main responsibility area, and the target smart watch is one of the smart watches. It should be explained that for a swimming pool area, it can be both the main responsibility area of a smart watch and the secondary responsibility area of another smart watch. The swimming pool monitoring device sends the allocation information to the target smart watch. The target smart watch receives the allocation information and prompts the lifeguard wearing the target smart watch through voice broadcast, screen display, etc. according to the allocation information. Thereby, the handover prompt can be automatically completed when some lifeguards leave their posts. Avoid the problem of loopholes in drowning monitoring caused by the departure of some lifeguards.
[0075] In this embodiment, by calculating the distance data between the location information of each area and the watch location information of all the smart watches, a plurality of distance data are obtained; and the main responsibility area of each smart watch is determined according to the plurality of distance data, and the area adjacent to the main responsibility area of the smart watch is used as the secondary responsibility area corresponding to the smart watch, thereby realizing the responsibility allocation of the swimming pool area and avoiding loopholes or blind spots in drowning monitoring.
[0076] Further, based on the second embodiment or the third embodiment, a fourth embodiment of the swimming pool drowning prevention method based on grid design of the present invention is proposed, wherein the grid division parameters include: a grid size and a corresponding grid position corresponding to each grid, and before the step of dividing all areas of the swimming pool according to the grid division parameters to obtain multiple swimming pool areas and corresponding area data, the step further includes:
[0077] The grid size and the corresponding grid position are determined according to the pool size data of the swimming pool.
[0078] In this embodiment, specifically, for a standard swimming pool of 50 meters in length and 25 meters in width, as shown in Figure 5, it can be divided into 12 swimming pool areas including: Area A, Area B, Area C, Area D, Area E, Area F, Area G, Area H, Area I, Area J, Area K, and Area L. Of course, cameras 01 and 02 are set accordingly. In other embodiments, the grid size and the corresponding grid position can also be determined according to other swimming pool size data, so as to obtain the swimming pool area by gridding.
[0079] In this embodiment, by determining the grid size and the corresponding grid position according to the pool size data of the swimming pool, gridding can be performed reasonably to avoid the appearance of inappropriate swimming pool areas.
[0080] Further, based on any of the above embodiments, a fifth embodiment of a method for preventing drowning in a swimming pool based on a grid design of the present invention is proposed, wherein the regional data includes regional position information and regional area information, and the camera adjustment data includes camera orientation data and shooting magnification data; and the step of adjusting the camera adjustment data of the camera according to the regional data includes:
[0081] adjusting the orientation data according to the region position information, and adjusting the shooting magnification data according to the region area information;
[0082] shooting a preview image according to the orientation data and the shooting magnification data;
[0083] The orientation data and the shooting magnification data are updated according to the preview image.
[0084] The steps in this embodiment are executed before the step of controlling the camera to obtain the swimming video of the swimmer. Specifically, when the preview image does not completely cover the corresponding swimming pool area, or when the size of the swimming pool area in the preview image is smaller than a preset area, the shooting magnification data is adjusted; when the geometric center of the preview image does not coincide with the center of the corresponding swimming pool area, the orientation data is updated.
[0085] In this embodiment, the orientation data is adjusted according to the regional position information, and the shooting magnification data is adjusted according to the regional area information; a preview image is captured according to the orientation data and the shooting magnification data, and the orientation data and the shooting magnification data are updated according to the preview image. The correction is based on actual data, and has higher accuracy than direct setting.
[0086] The embodiment of the present invention provides a sixth embodiment of a swimming pool drowning prevention method based on a grid design, which is applied to a smart watch. The steps of the swimming pool drowning prevention method based on a grid design include:
[0087] Receive warning information sent by a swimming pool monitoring device, wherein the warning information is obtained by the swimming pool monitoring device by controlling a camera to obtain a swimming video of a swimmer, and the warning information corresponding to an abnormal swimmer is determined according to the swimming video. The swimming pool monitoring device sends the warning information to a smart watch worn by a lifeguard according to a swimming pool area, and the swimming pool area is a gridded area;
[0088] An alarm prompt is issued according to the warning information.
[0089] The monitoring device is connected via a network and the warning information is received via the network.
[0090] In this embodiment, by receiving the warning information, it is possible to timely obtain the abnormal swimmers in the swimming pool area, thereby reducing the monitoring loopholes of drowning.
[0091] Furthermore, the alarm prompt includes: sound warning and image display warning, and the step of issuing an alarm prompt according to the warning information includes:
[0092] According to the warning information, the display screen is controlled to display the location information and occurrence time of the alarm, and the speaker is controlled to play the location information and the occurrence time.
[0093] In this embodiment, optionally, sound and light warnings, mobile phone APP push, SMS notifications, etc. are used to ensure that the warning information can be promptly and effectively conveyed to lifeguards or other relevant personnel who have the obligation to ensure the safety of the swimming pool.
[0094] In this embodiment, the warning information is used to control the display screen to display the location information and occurrence time of the alarm, and the speaker is controlled to play the location information and the occurrence time, which can improve the dissemination capacity of the alarm prompt and ensure that lifeguards can be informed of the alarm prompt, thereby reducing the time for drowning rescue.
[0095] In addition, an embodiment of the present invention further provides a swimming pool monitoring device, the swimming pool monitoring device comprising: a memory, a processor, and a swimming pool drowning prevention program based on a grid design stored in the memory and executable on the processor, the swimming pool drowning prevention program based on a grid design being configured to implement the steps of any one of the first to fifth embodiments. Specifically, the background of the swimming pool monitoring device may be as follows Figure 6 As shown, the divided grid area can be displayed correspondingly while displaying the swimming video, so that the specific monitored area can be understood in real time while monitoring, thereby improving the monitoring accuracy and timely determining the specific area where drowning occurs when drowning occurs. Figure 7 As shown, when a drowning situation occurs, the management personnel can modify and adjust the main responsibility area and secondary responsibility area corresponding to each lifeguard or lifeguard post in the background, and send the relevant modified data to the smart watch so that the smart watch can accurately display the corresponding main responsibility area and secondary responsibility area.
[0096] In addition, an embodiment of the present invention further provides a smart watch, the smart watch comprising: a memory, a processor, and a swimming pool drowning prevention program based on a grid design stored in the memory and executable on the processor, the swimming pool drowning prevention program based on a grid design being configured to implement the steps of the sixth embodiment. Figure 8As shown, the alarm prompt can specifically display the drowning grid area, the current position of the watch, the current time, and the type of swimming pool, etc. It should be noted that in addition to the above information, the information displayed by the smart watch defined in this application may also include other types of drowning-related information, and Figure 8 It is not intended to limit the arrangement of displayed graphic images of a smart watch.
[0097] In addition, an embodiment of the present invention further proposes a storage medium, on which is stored a swimming pool drowning prevention program based on grid design. When the swimming pool drowning prevention program based on grid design is executed by a processor, the steps of any of the above-mentioned embodiments of the swimming pool drowning prevention method based on grid design are implemented.
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0099] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0101] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A swimming pool drowning prevention method based on grid design. It is characterized in that Applied to a swimming pool monitoring device, the swimming pool monitoring device is provided with a camera in the swimming pool, and the steps of the swimming pool drowning prevention method based on grid design include: Control the camera to obtain swimming videos of swimmers; Determine, according to the swimming video, the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located, wherein the swimming pool area is a gridded area; The warning information is sent to a smart watch worn by a lifeguard according to the swimming pool area, so that the smart watch receives the warning information and issues an alarm prompt according to the warning information.
2. The method for preventing drowning in a swimming pool based on grid design as claimed in claim 1, It is characterized in that Before the step of determining the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located according to the swimming video, the method further includes: Divide all areas of the swimming pool according to the grid division parameters to obtain multiple swimming pool areas and corresponding area data; Adjusting the camera adjustment data of the camera according to the area data; The swimming pool area is associated with the identification information of the smart watch according to the area data to obtain an associated relationship.
3. The swimming pool drowning prevention method based on grid design as claimed in claim 2, It is characterized in that The area data includes area location information, and the step of associating the swimming pool area with identification information of the smart watch according to the area data includes: Calculate the distance data between each of the area location information and the watch location information of all the smart watches to obtain a plurality of distance data; Determine the main responsible area of each smart watch according to the plurality of distance data, wherein the smart watches correspond to the main responsible areas one by one; According to the area adjacent to the main responsible area of the smart watch as the secondary responsible area corresponding to the smart watch; The identification information is associated with the primary responsibility area and the secondary responsibility area.
4. The method for preventing drowning in a swimming pool based on grid design as claimed in claim 2, It is characterized in that The grid division parameters include: a grid size and a corresponding grid position corresponding to each grid. Before the step of dividing all areas of the swimming pool according to the grid division parameters to obtain a plurality of swimming pool areas and corresponding area data, the step further includes: The grid size and the corresponding grid position are determined according to the pool size data of the swimming pool.
5. The method for preventing drowning in a swimming pool based on grid design as claimed in claim 2, It is characterized in that The regional data includes regional location information and regional area information, and the camera adjustment data includes camera orientation data and shooting magnification data; The step of adjusting the camera adjustment data of the camera according to the area data comprises: adjusting the orientation data according to the region position information, and adjusting the shooting magnification data according to the region area information; shooting a preview image according to the orientation data and the shooting magnification data; The orientation data and the shooting magnification data are updated according to the preview image.
6. A swimming pool drowning prevention method based on grid design. It is characterized in that Applied to smart watches, the steps of the swimming pool drowning prevention method based on grid design include: Receive warning information sent by a swimming pool monitoring device, wherein the warning information is obtained by the swimming pool monitoring device by controlling a camera to obtain a swimming video of a swimmer, and the warning information corresponding to an abnormal swimmer is determined according to the swimming video. The swimming pool monitoring device sends the warning information to a smart watch worn by a lifeguard according to a swimming pool area, and the swimming pool area is a gridded area; An alarm prompt is issued according to the warning information.
7. The method for preventing drowning in a swimming pool based on grid design as claimed in claim 6, It is characterized in that The alarm prompt includes: sound warning and image display warning, and the step of issuing an alarm prompt according to the warning information includes: According to the warning information, the display screen is controlled to display the location information and occurrence time of the alarm, and the speaker is controlled to play the location information and the occurrence time.
8. A swimming pool monitoring device, It is characterized in that The swimming pool monitoring device includes: a memory, a processor, and a swimming pool drowning prevention program based on a grid design stored in the memory and executable on the processor, wherein the swimming pool drowning prevention program based on a grid design is configured to implement the steps of the swimming pool drowning prevention method based on a grid design as described in any one of claims 1 to 5.
9. A smart watch, It is characterized in that The smart watch includes: a memory, a processor, and a swimming pool drowning prevention program based on a grid design stored in the memory and executable on the processor, wherein the swimming pool drowning prevention program based on a grid design is configured to implement the steps of the swimming pool drowning prevention method based on a grid design as described in any one of claims 6 to 7.
10. A swimming pool drowning prevention system based on grid design. It is characterized in that The swimming pool drowning prevention system based on grid design includes: A control module, used to control the camera to obtain swimming videos of swimmers; An analysis module, used to determine the warning information corresponding to the abnormal swimmer and the swimming pool area where the abnormal swimmer is located according to the swimming video, wherein the swimming pool area is a gridded area; The sending module is used to send the warning information to the smart watch worn by the lifeguard according to the swimming pool area, so that the smart watch receives the warning information and issues an alarm prompt according to the warning information.
Citation Information
Patent Citations
Swimmer drowning detection method
CN113468945A
Intelligent monitoring and early warning system based on swimming pool safety
CN114582091A
Drowning rescue method, system and device and computer storage medium
CN117789410A
