Safety monitoring method and device for reservoir area
Through monitoring image analysis and alarm information generation, the hidden danger of unauthorized personnel entering sensitive areas of the reservoir is solved, the safety of the reservoir is improved, and the risk of sensitive information leakage is reduced.
Patent Information
- Application Number
- CN202411266818.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology cannot effectively judge and prevent unauthorized persons from entering sensitive areas of the reservoir area, affecting the safety of the reservoir.
By obtaining surveillance images of the reservoir area, the movement direction of the target user is determined, and an alarm message is generated when the preset logo is not detected in the user image to ensure that unauthorized persons do not enter sensitive areas.
It realizes real-time monitoring of sensitive areas of the reservoir and timely alerts for unauthorized personnel, improves the safety of the reservoir and reduces the risk of leakage of sensitive information.
Smart Images

Figure CN118823942A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image monitoring technology, and in particular to a method and device for safety monitoring of a reservoir area. Background Art
[0002] The reservoir area is widely distributed, and some areas are sensitive areas with high security levels, such as patrol areas where only staff are allowed to enter and supporting equipment such as distribution boxes, control equipment, and detection equipment are deployed. Therefore, in order to ensure the safety of the reservoir and prevent unauthorized personnel from mistakenly entering sensitive areas with high security levels, these sensitive areas will be marked on maps in related technologies, such as marking sensitive areas on electronic maps to remind pedestrians not to enter sensitive areas.
[0003] However, this map identification method cannot determine whether unauthorized personnel have entered sensitive areas, nor can it determine whether unauthorized personnel have a tendency to enter sensitive areas, affecting the safety of the reservoir. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a safety monitoring method for a reservoir area, which can improve the safety of the reservoir.
[0005] The application also proposes a safety monitoring device for a reservoir area.
[0006] The application also provides an electronic device.
[0007] The present application also proposes a computer-readable storage medium.
[0008] A reservoir area safety monitoring method according to an embodiment of the first aspect of the present application includes: Obtain the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area; Determining a current moving direction of the target user according to a user image of the target user in the current monitoring image; Determine that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detect the user image, and generate an alarm message if there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0009] By acquiring the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area, and determining the current moving direction of the target user based on the user image of the target user in the current monitoring image, so as to detect the user image when it is determined that the current moving direction is toward the target sub-area that is closer to the preset sub-area among the sensitive sub-areas, and generate an alarm message when it is determined that there is no preset mark in the user image, so as to timely detect whether there is a trend of unauthorized personnel entering a sensitive area in an area close to a sensitive area, so as to timely issue an alarm when such a trend exists, thereby improving the safety of the reservoir.
[0010] According to an embodiment of the present application, determining the current moving direction of the target user according to the user image of the target user in the current monitoring image includes: Determining a current moving path of the target user in the preset sub-area according to the user image; The current moving direction of the target user is determined according to the tangent direction of the end of the current moving path.
[0011] According to an embodiment of the present application, determining that the current moving direction is toward a target sub-region of each sensitive sub-region in the reservoir region includes: According to the current moving direction, a current scanning area of a preset angle is generated with the current moving direction as the center line; In response to prompt information indicating that the boundaries of the current scanning area have at least one intersection with the target sub-area, or that the center line of the current scanning area has at least one intersection with the target sub-area, it is determined that the current moving direction is toward the target sub-area.
[0012] According to an embodiment of the present application, determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, and detecting the user image, includes: Determine that the current moving direction is toward the target sub-region, and obtain the shortest distance between the current position of the target user and the boundary of the target sub-region; Determine that the shortest distance is less than or equal to a second preset distance, and detect the user image; Wherein, the second preset distance is smaller than the first preset distance.
[0013] According to an embodiment of the present application, when there is no preset mark in the user image, generating an alarm message includes: When there is no preset mark in the user image, obtaining a current target monitoring image of at least one backup monitoring device used to monitor the preset sub-area; It is determined that in each of the target monitoring images, the preset mark does not exist in the human body area where the target user is located, and an alarm message is generated.
[0014] According to one embodiment of the present application, it also includes: In the case where the preset identifier exists, matching the preset identifier with the target identifier; Determining that the preset identifier does not match the target identifier, and generating the warning information; Wherein, the target identifier is determined according to the target sub-area.
[0015] According to one embodiment of the present application, it also includes: Determining a target person who receives the alarm information according to the current distance between each manager for managing the target sub-area and the target user; The warning information is sent to the target person.
[0016] A safety monitoring device for a reservoir area according to an embodiment of the second aspect of the present application includes: A monitoring image acquisition module, used to acquire the current monitoring image of a target monitoring device used to monitor a preset sub-area in the reservoir area; A moving direction determining module, used to determine the current moving direction of the target user according to the user image of the target user in the current monitoring image; an alarm information generating module, for determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detecting the user image, and generating an alarm information if no preset mark exists in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0017] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a processor and a memory storing a computer program, and when the processor executes the computer program, the reservoir area safety monitoring method described in any of the above embodiments is implemented.
[0018] According to the computer-readable storage medium of the fourth aspect of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the reservoir area safety monitoring method described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 A flow chart of a reservoir area safety monitoring method according to some embodiments of the present application; Figure 2a A schematic diagram of a scanning area in some embodiments of the present application; Figure 2b Schematic diagram of scanning area of some other embodiments of the present application; Figure 2c Schematic diagram of scanning area of some other embodiments of the present application; Figure 3 A schematic diagram of the structure of a safety monitoring device for a reservoir area provided in some embodiments of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] Below, the reservoir area safety monitoring method and device provided in the embodiments of the present application will be introduced and explained in detail through several specific embodiments.
[0023] In one embodiment, a method for monitoring the safety of a reservoir area is provided, which is applied to a server and is used to transmit the safety monitoring of the reservoir area collected by each monitoring device in the target area to a monitoring terminal. The server can be an independent server or a server cluster composed of multiple servers, and can also be a cloud server that provides basic cloud computing services such as cloud services, cloud message databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and large message data and artificial intelligence sampling point devices.
[0024] like Figure 1 As shown, a reservoir area safety monitoring method provided in this embodiment includes: Step 101, obtaining a current monitoring image of a target monitoring device for monitoring a preset sub-area in a reservoir area; Step 102, determining the current moving direction of the target user according to the user image of the target user in the current monitoring image; Step 103, determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detecting the user image, and generating an alarm message when there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0025] In some embodiments, the reservoir area is pre-divided into multiple sub-areas, such as a preset sub-area for tourists to visit, a patrol sub-area where only staff are allowed to enter and supporting equipment such as distribution boxes, control equipment, and monitoring equipment are deployed, and a water storage sub-area for water storage. The patrol sub-area and the water storage sub-area have a higher security level and can therefore be determined as sensitive sub-areas. Similarly, the sub-areas of the reservoir area can be divided into preset sub-areas or sensitive sub-areas according to the security level of the area.
[0026] For any preset sub-area, its distance from each sensitive sub-area can be detected. If the distance between a sensitive sub-area and the preset sub-area is less than the first preset distance, the sensitive sub-area can be determined as the target sub-area corresponding to the preset sub-area, and one of the monitoring devices used to monitor the preset sub-area is determined as the target monitoring device to obtain the current monitoring image of the target monitoring device. The distance between the sensitive sub-area and the preset sub-area can be the distance between the center points of the two areas. The first preset distance can be set according to the actual situation, such as 50-100 meters.
[0027] After obtaining the current monitoring image of the target monitoring device, any pedestrian in the current monitoring image can be identified as a target user, so as to extract the user image of the target user from the current monitoring image. The user image refers to the image of the human body area where the target user is located in the current monitoring image, which can be obtained from the current monitoring image by means of liveness detection.
[0028] If there is no user image in the current monitoring image, it means that there are no pedestrians in the preset sub-area that may enter the target sub-area, and the preset sub-area will continue to be monitored; if there is a user image in the current monitoring image, the current moving direction of the target user can be determined based on the user image. For example, the current moving direction of the target user can be determined based on the position of the target user in the user image at the previous moment and the position of the target user in the user image at the current moment.
[0029] After obtaining the current moving direction of the target user, it is possible to detect whether the current moving direction is toward the target sub-region. The detection of whether the current moving direction is toward the target sub-region may be to form a ray based on the current moving direction of the target user, starting from the current position of the target user. If the ray intersects or is tangent to the target sub-region, it indicates that the current moving direction is toward the target sub-region; otherwise, it indicates that the current moving direction is not toward the target sub-region.
[0030] If the current moving direction is toward the target sub-area, it means that the target user may enter the target sub-area. At this time, it is possible to detect whether there is a preset mark in the user image. The preset mark can be a style mark such as a badge style or a work clothes style, such as the shape, color combination and badge logo of the badge / work clothes, which is used to identify that the target user has the authority to enter the sensitive sub-area. The method of detecting the presence of a preset mark in the user image can be to match the identification images of all stored preset marks with the user image to detect whether there is an area in the user image that matches a certain identification image. If so, it means that a preset mark exists; otherwise, it can be determined that there is no preset mark.
[0031] If there is a preset mark in the user image, it means that the target user has the authority to enter the sensitive sub-area, so there is no need to alarm when the target user moves towards the target sub-area. If there is no preset mark in the user image, it means that the target user does not have the authority to enter the sensitive sub-area. It can be determined that the target user who does not have the authority to enter the sensitive area may enter the sensitive area. At this time, an alarm message can be generated to remind the unauthorized person that there is a tendency to enter the sensitive area. In addition, the alarm message can also be sent to the broadcasting device closest to the target user, so that the broadcasting device plays an alarm voice to remind the target user to stay away from the sensitive area.
[0032] By acquiring the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area, and determining the current moving direction of the target user based on the user image of the target user in the current monitoring image, so as to detect the user image when it is determined that the current moving direction is toward the target sub-area that is closer to the preset sub-area among the sensitive sub-areas, and generate an alarm message when it is determined that there is no preset mark in the user image, so as to timely detect whether there is a trend of unauthorized personnel entering a sensitive area in an area close to a sensitive area, so as to timely issue an alarm when such a trend exists, thereby improving the safety of the reservoir.
[0033] In addition, since the system determines whether the target user has permission to enter sensitive areas by detecting whether there is a preset logo in the user's image, it can avoid using the user's sensitive information, such as face or device permissions, to make permission judgments. This can reduce the possibility of leakage of user sensitive information while achieving permission judgments, thereby improving monitoring security.
[0034] In order to more accurately predict whether the target user has a tendency to enter a sensitive area, in some embodiments, determining the current moving direction of the target user according to the user image of the target user in the current monitoring image includes: Determining a current moving path of the target user in the preset sub-area according to the user image; The current moving direction of the target user is determined according to the tangent direction of the end of the current moving path.
[0035] In some embodiments, after acquiring a user image of the target user in the preset sub-area, the current moving path of the target user in the preset sub-area may be formed according to the position change of the target user in the user image over time.
[0036] After obtaining the current moving path, a tangent can be generated at the end of the current moving path, that is, at the end point corresponding to the current position of the target user. The direction of the tangent is the same as the direction of the end of the current moving path, so that the direction of the tangent is determined as the current moving direction of the target user. In this way, the current moving trend of the target user can be predicted more accurately, thereby facilitating the subsequent prediction of whether the target user has a tendency to enter a sensitive area.
[0037] To further improve the accuracy of predicting whether the target user has a tendency to enter a sensitive area, in some embodiments, determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area includes: According to the current moving direction, a current scanning area of a preset angle is generated with the current moving direction as the center line; In response to prompt information indicating that the boundaries of the current scanning area have at least one intersection with the target sub-area, or that the center line of the current scanning area has at least one intersection with the target sub-area, it is determined that the current moving direction is toward the target sub-area.
[0038] In some embodiments, after determining the current moving direction of the target user, a preset angle is generated with the current moving direction as the center line, such as an angle of 1°-90°, and the range covered by the angle is the current scanning area. The vertex of the current scanning area is the current position of the target user.
[0039] After determining the current scanning area, it can be detected whether the two boundaries of the current scanning area intersect with the target sub-area, or whether the center line of the current scanning area intersects with the target sub-area. For example, taking the current scanning area A as a scanning area with an angle of 60° as an example, if the boundary 1 of the current scanning area A intersects / is tangent to the target sub-area B, and the boundary 2 of the current scanning area A also intersects / is tangent to the target sub-area, as Figure 2a As shown, it can be determined that the current moving direction is toward the target sub-area.
[0040] If the boundary 1 of the current scanning area A intersects / is tangent to the target sub-area B, and the boundary 2 does not intersect / is tangent to the target sub-area B, or the boundary 1 and the boundary 2 do not intersect / is tangent to the target sub-area B, then check whether the center line 3 of the current scanning area A intersects / is tangent to the target sub-area B; if the center line 3 of the current scanning area A intersects / is tangent to the target sub-area B, such as Figure 2b As shown, it can be determined that the current moving direction is toward the target sub-area.
[0041] If the boundary 1 of the current scanning area A intersects / is tangent to the target sub-area B, and the boundary 2 does not intersect / is tangent to the target sub-area B, or the boundary 1 and the boundary 2 do not intersect / is tangent to the target sub-area B; then check whether the center line 3 of the current scanning area A intersects / is tangent to the target sub-area B; if the center line 3 of the current scanning area A does not intersect / is tangent to the target sub-area B, such as Figure 2c As shown, it can be determined that the current moving direction is not toward the target sub-area.
[0042] In this way, the connection between the boundary and center line of the current scanning area and the target sub-area can be used to determine whether the current moving direction is towards the target sub-area, thereby effectively determining the movement trend of the target user, thereby further improving the accuracy of predicting whether the target user has a tendency to enter a sensitive area.
[0043] After determining that the current moving direction of the target user is toward the target sub-region, it can be determined that the target user has a tendency to enter the sensitive area, and the user image can be detected at this time. In order to reduce the misjudgment of the target user's movement trend and cause a false alarm, in some embodiments, after determining that the current moving direction of the target user is toward the target sub-region, the current position of the target user can be obtained first, and all distances from the current position to the boundary of the target sub-region can be calculated, and then the shortest distance is obtained from all calculated distances, and the shortest distance is the shortest distance between the current position and the boundary of the target sub-region.
[0044] After determining the shortest distance between the current position and the boundary of the target sub-area, the shortest distance can be compared with the second preset distance. The second preset distance is smaller than the first preset distance. Specifically, the first preset distance is the distance from the center of the target sub-area to the center of the preset sub-area, and the second preset distance is the shortest distance from the center of the preset sub-area to the boundary of the target sub-area. If the shortest distance is greater than the second preset distance, it means that the target user is currently on the side of the preset sub-area away from the target sub-area, and it can be determined that the target user does not have a tendency to move to the target sub-area; if the shortest distance is less than or equal to the second preset distance, it means that the target user is currently on the side of the preset sub-area close to the target sub-area, and it can be determined that the target user has a tendency to move to the target sub-area, thereby triggering the detection of the user image. In this way, based on the shortest distance between the current position of the target user and the boundary of the target sub-area, it can be further verified whether the target user has a tendency to move to the target sub-area, thereby reducing the misjudgment of the movement trend and the possibility of false alarms.
[0045] When detecting the user image, considering the possibility that the preset mark is blocked, the target user who actually has the preset mark is mistakenly identified as not having the preset mark, resulting in a false alarm. Therefore, in order to further reduce the possibility of false alarms and improve monitoring accuracy, in some embodiments, when there is no preset mark in the user image, an alarm message is generated, including: When there is no preset mark in the user image, obtaining a current target monitoring image of at least one backup monitoring device used to monitor the preset sub-area; It is determined that in each of the target monitoring images, the preset mark does not exist in the human body area where the target user is located, and an alarm message is generated.
[0046] In some embodiments, if a preset identifier is not detected in the user image, other monitoring devices used to monitor the preset sub-area may be determined as backup devices to obtain a target monitoring image of at least one backup monitoring device at the current moment.
[0047] After acquiring the target monitoring image, the human body area where the target user is located can be identified from each target monitoring image, and the preset mark can be searched from the human body area. If the preset mark is found in the human body area where the target user of a certain target monitoring image is located, it means that the preset mark in the user image of the target monitoring device is blocked. At this time, it can be determined that the target user has the preset mark and has the authority to enter the sensitive area. If the preset mark is not found in the human body area where the target user is located in each target monitoring image, it means that the target user does not have the preset mark and does not have the authority to enter the sensitive area. At this time, an alarm message is generated.
[0048] By acquiring the current target monitoring image of at least one backup monitoring device used to monitor the preset sub-area when there is no preset mark in the user image, and detecting whether there is a preset mark in the human body area where the target user is located in each target monitoring image, and confirming that there is no preset mark in the human body area where the target user is located in each target monitoring image, when it is determined that there is no preset mark in the human body area where the target user is located in each target monitoring image. Thus, when there is no preset mark in the user image, the preset mark recognition result of the target user is verified through the monitoring image of the backup monitoring device, so as to reduce the situation where the target user with the preset mark is misjudged as not having the preset mark due to the preset mark being blocked in the user image obtained by the target monitoring device, reduce false alarms, and thus improve the confidence of the alarm information.
[0049] If a preset identifier of the target user is detected in the user image, or a preset identifier of the target user is detected through any target monitoring image, it can be determined that the target user has the authority to enter the sensitive area, and no alarm is required. Considering that different managers configured in different sensitive sub-areas may be different, in order to further improve the safety of the reservoir area, in some embodiments, it also includes: In the case where the preset identifier exists, matching the preset identifier with the target identifier; Determining that the preset identifier does not match the target identifier, and generating the warning information; Wherein, the target identifier is determined according to the target sub-area.
[0050] In some embodiments, different identification images may be preset for different sensitive sub-areas. When a preset identification is identified, the identification image corresponding to the target sub-area may be obtained from each identification image as the target identification according to the target sub-area, and then the target identification is image matched with the identified preset identification. If the two match, it means that the target user has the authority to enter the target sub-area, and no alarm is required. If the two do not match, it means that the target user does not have the authority to enter the target sub-area, and an alarm message is generated.
[0051] By matching the preset representation with the target identifier determined according to the target sub-area when the presence of a preset representation is detected, an alarm message is generated when the preset identifier does not match the target identifier, thereby reducing the occurrence of managers who do not have management authority over the target sub-area entering the target sub-area, thereby further improving the safety of the reservoir.
[0052] In order to further improve the safety of the reservoir, in some embodiments, after the alarm information is generated, the current location of each manager used to manage the target sub-area can also be obtained, such as obtaining the current location of the user terminal of each manager, and then obtaining the current distance between each manager and the target user based on the current location and the current location of the target user.
[0053] After obtaining the current distance between each manager and the target user, the manager with the shortest current distance to the target user can be selected from among the managers as the target person, and an alarm message can be sent to the user terminal of the target person, so that the alarm message is sent to the user terminal of the manager closest to the target user, so that the manager can move to the location of the target user in time for investigation, thereby further improving the safety of the reservoir.
[0054] The safety monitoring device for the reservoir area provided in the present application is described below. The safety monitoring device for the reservoir area described below and the safety monitoring method for the reservoir area described above can be referenced to each other.
[0055] In one embodiment, if Figure 3 As shown, a safety monitoring device for a reservoir area is provided, comprising: The monitoring image acquisition module 210 is used to acquire the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area; A moving direction determining module 220, configured to determine a current moving direction of the target user according to a user image of the target user in the current monitoring image; The warning information generating module 230 is used to determine that the current moving direction is toward the target sub-area of each sensitive sub-area in the reservoir area, detect the user image, and generate warning information when there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0056] By acquiring the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area, and determining the current moving direction of the target user based on the user image of the target user in the current monitoring image, so as to detect the user image when it is determined that the current moving direction is toward the target sub-area that is closer to the preset sub-area among the sensitive sub-areas, and generate an alarm message when it is determined that there is no preset mark in the user image, so as to timely detect whether there is a trend of unauthorized personnel entering a sensitive area in an area close to a sensitive area, so as to timely issue an alarm when such a trend exists, thereby improving the safety of the reservoir.
[0057] In one embodiment, the monitoring image acquisition module 210 is specifically used for: Determining a current moving path of the target user in the preset sub-area according to the user image; The current moving direction of the target user is determined according to the tangent direction of the end of the current moving path.
[0058] In one embodiment, the alarm information generating module 230 is specifically used to: According to the current moving direction, a current scanning area of a preset angle is generated with the current moving direction as the center line; In response to prompt information indicating that the boundaries of the current scanning area have at least one intersection with the target sub-area, or that the center line of the current scanning area has at least one intersection with the target sub-area, it is determined that the current moving direction is toward the target sub-area.
[0059] In one embodiment, the alarm information generating module 230 is specifically used to: Determine that the current moving direction is toward the target sub-region, and obtain the shortest distance between the current position of the target user and the boundary of the target sub-region; Determine that the shortest distance is less than or equal to a second preset distance, and detect the user image; Wherein, the second preset distance is smaller than the first preset distance.
[0060] In one embodiment, the alarm information generating module 230 is specifically used to: When there is no preset mark in the user image, obtaining a current target monitoring image of at least one backup monitoring device used to monitor the preset sub-area; It is determined that in each of the target monitoring images, the preset mark does not exist in the human body area where the target user is located, and an alarm message is generated.
[0061] In one embodiment, the alarm information generating module 230 is further used to: In the case where the preset identifier exists, matching the preset identifier with the target identifier; Determining that the preset identifier does not match the target identifier, and generating the warning information; Wherein, the target identifier is determined according to the target sub-area.
[0062] In one embodiment, the alarm information generating module 230 is further used to: Determining a target person who receives the alarm information according to the current distance between each manager for managing the target sub-area and the target user; The warning information is sent to the target person.
[0063] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute a safety monitoring method for a reservoir area, for example, including: Obtain the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area; Determining a current moving direction of the target user according to a user image of the target user in the current monitoring image; Determine that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detect the user image, and generate an alarm message if there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0064] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0065] On the other hand, an embodiment of the present application further provides a storage medium, the storage medium includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the reservoir area safety monitoring method provided by the above embodiments, for example, including: Obtain the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area; Determining a current moving direction of the target user according to a user image of the target user in the current monitoring image; Determine that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detect the user image, and generate an alarm message if there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
[0066] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0067] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A safety monitoring method for a reservoir area, characterized in that: include: Obtain the current monitoring image of the target monitoring device used to monitor the preset sub-area in the reservoir area; Determining a current moving direction of the target user according to a user image of the target user in the current monitoring image; Determine that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detect the user image, and generate an alarm message if there is no preset mark in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
2. The reservoir area safety monitoring method according to claim 1, characterized in that: Determining the current moving direction of the target user according to the user image of the target user in the current monitoring image includes: Determining a current moving path of the target user in the preset sub-area according to the user image; The current moving direction of the target user is determined according to the tangent direction of the end of the current moving path.
3. The reservoir area safety monitoring method according to claim 1, characterized in that: Determining that the current moving direction is toward a target sub-region of each sensitive sub-region in the reservoir region includes: According to the current moving direction, a current scanning area of a preset angle is generated with the current moving direction as the center line; In response to prompt information indicating that the boundaries of the current scanning area have at least one intersection with the target sub-area, or that the center line of the current scanning area has at least one intersection with the target sub-area, it is determined that the current moving direction is toward the target sub-area.
4. The reservoir area safety monitoring method according to claim 1 or 3, characterized in that: Determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, and detecting the user image, including: Determine that the current moving direction is toward the target sub-region, and obtain the shortest distance between the current position of the target user and the boundary of the target sub-region; Determine that the shortest distance is less than or equal to a second preset distance, and detect the user image; Wherein, the second preset distance is smaller than the first preset distance.
5. The reservoir area safety monitoring method according to claim 1, characterized in that: When there is no preset mark in the user image, generating an alarm message includes: When there is no preset mark in the user image, obtaining a current target monitoring image of at least one backup monitoring device used to monitor the preset sub-area; It is determined that in each of the target monitoring images, the preset mark does not exist in the human body area where the target user is located, and an alarm message is generated.
6. The reservoir area safety monitoring method according to claim 1 or 5, characterized in that: Also includes: In the case where the preset identifier exists, matching the preset identifier with the target identifier; Determining that the preset identifier does not match the target identifier, and generating the warning information; Wherein, the target identifier is determined according to the target sub-area.
7. The reservoir area safety monitoring method according to claim 1, characterized in that: Also includes: Determining a target person who receives the alarm information according to the current distance between each manager for managing the target sub-area and the target user; The warning information is sent to the target person.
8. A safety monitoring device for a reservoir area, characterized in that: include: A monitoring image acquisition module, used to acquire the current monitoring image of a target monitoring device used to monitor a preset sub-area in the reservoir area; A moving direction determining module, used to determine the current moving direction of the target user according to the user image of the target user in the current monitoring image; an alarm information generating module, for determining that the current moving direction is toward a target sub-area of each sensitive sub-area in the reservoir area, detecting the user image, and generating an alarm information if no preset mark exists in the user image; Wherein, the distance between the preset sub-region and the target sub-region is less than or equal to a first preset distance; The preset identifier is used to identify the existence of permission to enter the sensitive sub-area.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the reservoir area safety monitoring method described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the reservoir area safety monitoring method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Motor vehicle lane illegal vehicle identification method and device
CN113129597A
Forbidden area intrusion detection method for different role permissions
CN113792665A
Unattended alarm device and method for transformer substation and electronic equipment
CN115662085A
Hidden danger target distance measuring method and device based on three-dimensional image
CN116206048A
Water area safety monitoring method and system, terminal and storage medium
CN116778673A
Cited By
Vehicle monitoring method and device for reservoir area
CN119562035A
Vehicle Monitoring Method and Device in Reservoir Area
CN119562035B
