A reservoir intelligent monitoring method and system based on AI video technology
AI video technology is used to construct optimal paths and movement trajectories of abnormal personnel in reservoir monitoring, and combine suspicious trajectory evaluation and travel trends to identify suspected violations, solve the problem of misdetection by inspection personnel, and improve the accuracy and response speed of monitoring. .
Patent Information
- Application Number
- CN202410865434.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In reservoir monitoring, the existing technology can easily misidentify inspection personnel in the reservoir area as persons illegally approaching the water area, resulting in low monitoring efficiency and insufficient accuracy.
Adopt an intelligent reservoir monitoring method based on AI video technology to construct the optimal path and movement trajectories of abnormal persons by obtaining surveillance videos. Combined with the suspicious trajectory evaluation and travel trend evaluation, we can distinguish between suspected violations, suspicious persons and non-violations, and execute Default alert actions.
It effectively reduces the false detection rate, improves the accuracy of monitoring, ensures that inspection personnel are not misjudged as violating regulations, and improves the response speed and accuracy of safety management in the reservoir area.
Smart Images

Figure CN118397571B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image data processing, and in particular to a reservoir intelligent monitoring method and system based on AI video technology. Background Art
[0002] With the increasing awareness of environmental protection and the rapid development of intelligent technology, comprehensive monitoring of reservoir areas has become an important issue in the field of environmental protection and public safety. Traditional monitoring methods often rely on manual inspections, which have problems such as low efficiency, many blind spots in monitoring, and delayed response, making it difficult to achieve real-time monitoring and early warning. With the rapid development of artificial intelligence and video recognition technology, applying these technologies to reservoir area monitoring can greatly improve monitoring efficiency and accuracy, providing strong support for reservoir management and control.
[0003] Although the application of artificial intelligence and video recognition technology to reservoir monitoring has many advantages such as convenience and speed, due to the immaturity of the technology and the difficulty of comprehensive monitoring of the reservoir, it is necessary to arrange some personnel to inspect the reservoir from time to time, combining manual inspection with intelligent monitoring to achieve the goal of comprehensive monitoring of the reservoir area. However, due to the immaturity of the technology, it is easy to mistakenly detect some inspectors in the reservoir area as people who illegally approach the water. Summary of the invention
[0004] In order to solve the technical problem that some inspection personnel in the reservoir area are easily misdetected as people who approach the water area illegally, the purpose of the present invention is to provide a reservoir intelligent monitoring method and system based on AI video technology. The technical scheme adopted is as follows:
[0005] A reservoir intelligent monitoring method based on AI video technology, the reservoir intelligent monitoring method comprising: acquiring surveillance videos of various areas; constructing an optimal path based on the surveillance videos, confirming abnormal persons and constructing movement trajectories of the abnormal persons; dividing the abnormal persons into suspected violators, suspicious persons and non-violators by analyzing the overlap between the optimal path and the movement trajectory of the abnormal persons; acquiring the behavior status of the suspicious persons based on the surveillance videos, and dividing the suspicious persons into suspected violators and non-violators.
[0006] Preferably, the steps of constructing the optimal path based on the surveillance video, identifying abnormal persons and constructing the movement trajectory of abnormal persons include:
[0007] Constructing the optimal path: Through the path planning algorithm and the reservoir map, several optimal paths from the reservoir entrance to the waterside are constructed;
[0008] Construct the movement trajectory of abnormal persons: Use the human body detection algorithm to detect people close to the waterside as abnormal persons; use the cross-border multi-target tracking algorithm and combine it with the reservoir map to construct the movement trajectory of the abnormal persons.
[0009] Preferably, the step of dividing abnormal persons into suspected violators, suspicious persons and non-violators by analyzing the overlap between the optimal path and the movement trajectory of abnormal persons includes: traversing all optimal paths to obtain overlapping trajectories; distinguishing suspected violators, suspicious persons and non-violators according to the proportion of overlapping trajectories in the optimal paths and the proportion of overlapping trajectories in the movement trajectories.
[0010] Preferably, by calculating the trajectory suspicion evaluation Classify abnormal persons into suspected violators, suspicious persons and non-violators;
[0011] The trajectory is suspiciously evaluated The calculation formula is:
[0012]
[0013] In the formula, Representing motion trajectory and optimal path The overlapping part of the two - the sum of the lengths of the overlapping trajectories; Indicates the total length of the abnormal personnel's movement trajectory; Represents the optimal path Total length; Represents several different function values Take the maximum value, where Indicates traversal of different optimal paths;
[0014] If the trajectory is suspicious, evaluate If the trajectory is greater than or equal to the preset first threshold, it is marked as a suspected violator; if the trajectory is suspicious If the trajectory is less than the preset first threshold and greater than or equal to the preset second threshold, it is marked as a suspicious person; if the trajectory is suspicious If it is less than the preset second threshold, it is marked as no violator.
[0015] Preferably, the step of obtaining the behavior of the suspicious person based on the surveillance video and dividing the suspicious person into suspected violators and non-violators includes: obtaining the movement direction and movement speed of the suspicious person at every first preset time interval; based on the movement direction and movement speed of the suspicious person, analyzing whether the suspicious person goes directly to the waterside, and if so, marking him as a suspected violator, otherwise marking him as a non-violator.
[0016] Preferably, the step of obtaining the behavior of the suspicious person based on the surveillance video and dividing the suspicious person into suspected violators and non-violators includes: obtaining the degree of image clutter at every second preset time interval; obtaining the direction and speed of movement of the suspicious person at every first preset time interval; based on the direction and speed of movement of the suspicious person and the degree of image clutter, analyzing whether the suspicious person goes directly to the waterside without any emergency, and if so, marking him as a suspected violator, otherwise marking him as a non-violator.
[0017] Preferably, by calculating the progress trend evaluation Divide the suspicious persons into suspected violators and non-violators;
[0018] Suspicious Person Evaluation of the progress trend The calculation formula is:
[0019]
[0020] In the formula, Indicates time The angle corresponding to the optical flow vector of the suspicious person; Indicates time The angle corresponding to the optical flow vector of the suspicious person; Indicates the angle corresponding to the amount of light loss when a suspicious person approaches the water's edge; Before the suspicious person approaches the waterfront The angle corresponding to the amount of light loss at the moment; Indicates the total detection time; Indicates the detection interval; Represents several different function values Take the maximum value, where Indicates traversal of different moments; Indicates time The angle corresponding to the vector pointing from the suspicious person to the location of the emergency;
[0021] If the trend evaluation If the value is greater than or equal to the preset third threshold, the person is marked as a suspected violator; if the trend evaluation If it is less than the preset third threshold, it is marked as no violator.
[0022] Preferably, the reservoir intelligent monitoring method further comprises: executing a preset warning operation when a suspected violator is detected.
[0023] A reservoir intelligent monitoring system based on AI video technology, the reservoir intelligent monitoring system comprising:
[0024] Image acquisition module: used to obtain surveillance videos of various areas;
[0025] Video analysis module: used to construct the optimal path based on the surveillance video, identify abnormal persons and construct the movement trajectory of abnormal persons;
[0026] Detection and judgment module: used to classify abnormal persons into suspected violators, suspicious persons and non-violators by analyzing the overlap between the optimal path and the movement trajectory of abnormal persons; and to obtain the behavioral conditions of the suspicious persons based on the monitoring video, and classify the suspicious persons into suspected violators and non-violators.
[0027] Preferably, the reservoir intelligent monitoring system further includes:
[0028] Warning module: used to execute preset warning operations when suspected violators are detected.
[0029] The present invention has the following beneficial effects: the intelligent reservoir monitoring method and system based on AI video technology proposed by the present invention constructs the optimal path and combines the movement trajectory of abnormal personnel to preliminarily obtain suspected violators, suspicious personnel and non-violators; then, based on the behavior of the suspicious personnel before reaching the water bank for a period of time, further determine the suspected violators and non-violators, and finally obtain the suspected violators. This can effectively reduce the false detection rate, especially avoid the situation where the patrol personnel in the reservoir area are mistakenly detected as violators, and ensure the accuracy of monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of a flow chart of a reservoir intelligent monitoring method based on AI video technology provided by the first embodiment of the present invention;
[0032] Figure 2 To provide reference parameters of surveillance cameras for surveillance videos;
[0033] Figure 3 A schematic flow chart of a reservoir intelligent monitoring method based on AI video technology provided by another implementation method in the first embodiment of the present invention;
[0034] Figure 4 A schematic flow chart of a cross-border multi-target tracking algorithm in a reservoir intelligent monitoring method based on AI video technology provided by the first embodiment of the present invention;
[0035] Figure 5 A sub-process diagram of step S3 in a reservoir intelligent monitoring method based on AI video technology provided in the first embodiment of the present invention.
[0036] Figure 6 A schematic diagram of a sub-flow chart of step S4 in a reservoir intelligent monitoring method based on AI video technology provided by the first embodiment of the present invention;
[0037] Figure 7 Another schematic diagram of a seed flow chart of step S4 in a reservoir intelligent monitoring method based on AI video technology provided by the first embodiment of the present invention;
[0038] Figure 8 A schematic diagram of a flow chart of a reservoir intelligent monitoring method based on AI video technology provided by the second embodiment of the present invention;
[0039] Fig. 9 A schematic diagram of functional modules of a reservoir intelligent monitoring system based on AI video technology provided by the third embodiment of the present invention;
[0040] Fig.10 This is a schematic diagram of the functional modules of a reservoir intelligent monitoring system based on AI video technology provided in another implementation manner in the third embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a reservoir intelligent monitoring method and system based on AI video technology proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0042] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0043] The following is a detailed description of a specific scheme of a reservoir intelligent monitoring method and system based on AI video technology provided by the present invention in conjunction with the accompanying drawings.
[0044] First embodiment:
[0045] See also Figure 1 , which shows a method flow chart of a reservoir intelligent monitoring method based on AI video technology provided by an embodiment of the present invention, the intelligent monitoring method comprising:
[0046] Step S1, obtaining surveillance videos of each area;
[0047] Step S2, constructing an optimal path based on the surveillance video, identifying abnormal persons and constructing a movement trajectory of the abnormal persons;
[0048] Step S3, by analyzing the overlap between the optimal path and the movement trajectory of the abnormal persons, the abnormal persons are divided into suspected violators, suspicious persons and non-violators;
[0049] Step S4, obtaining the behavior of the suspicious persons based on the surveillance video, and classifying the suspicious persons into suspected violators and non-violators.
[0050] The intelligent reservoir monitoring method and system based on AI video technology proposed in the present invention constructs the optimal path and combines the movement trajectory of abnormal personnel to initially obtain suspected violators, suspicious personnel and non-violators; then, based on the behavior of the suspicious personnel, further determine the suspected violators and non-violators, and finally obtain the suspected violators. This can effectively reduce the false detection rate, especially avoid the situation where the patrol personnel in the reservoir area are mistakenly detected as violators, and ensure the accuracy of monitoring.
[0051] This method can provide a set of efficient and intelligent monitoring solutions for reservoir area management departments through AI video technology. This can not only reduce the cost and pressure of manual inspections, but also improve the response speed and accuracy of reservoir area safety management. At the same time, this study will also provide useful reference and reference for the application of AI video technology in the fields of environmental protection and public safety, and promote the further development of related technologies.
[0052] The following is a detailed description of each step:
[0053] In step S1, the surveillance video of each area can be from high-definition cameras installed in various places in the reservoir. High-definition surveillance cameras are deployed in various places in the reservoir, such as various areas inside the reservoir and near the reservoir waters. The reservoir needs to perform safety defense work on the reservoir during the flood season and perform real-time remote monitoring of the water surface and the water bank (such as whether floating objects on the water surface and objects on the shore have entered the danger zone). Therefore, surveillance cameras generally use high-definition, low-illumination, high-magnification, long-focal-length lens color cameras or high-speed balls; the protective cover can be selected with a constant temperature device, and the size can accommodate the camera and the long-focal-length lens. The surveillance camera parameters can be as follows Figure 2 shown.
[0054] In step S2, it can be understood that there are people with various targets in the reservoir, such as people who want to fish, people who come to investigate, people who go to play, and inspectors at various places in the reservoir. These people with different targets behave differently in different places in the reservoir. Due to their different targets, after entering the reservoir area, they go to different areas and take different trajectories to reach these areas. By looking at the movement trajectory of people near the waterfront before they arrive near the waterfront, it can be preliminarily determined whether the person is likely to violate the rules.
[0055] Preferably, if Figure 3 As shown, step S2 includes:
[0056] Step S21: constructing the optimal path: constructing several optimal paths from the reservoir entrance to the waterside through the path planning algorithm and the reservoir map;
[0057] Step S22: Construct the movement trajectory of abnormal persons: Detect the persons close to the waterside as abnormal persons through the human body detection algorithm; construct the movement trajectory of the abnormal persons through the cross-border multi-target tracking algorithm combined with the reservoir map.
[0058] It can be understood that there is no order requirement for steps S21 and S22, and they can be performed simultaneously or one after another.
[0059] In step S21, i.e., constructing the optimal path, the optimal path can be constructed directly using the surveillance video or by combining the reservoir map. It is understandable that there is not only one optimal path, so several optimal paths from the reservoir to the waterfront will eventually be constructed; the reservoir entrance is obtained from the reservoir map, and the waterfront is mainly composed of monitoring points and shore viewing platforms, and the number of the two is indefinite. Among them, the path planning algorithm is preferably algorithm.
[0060] In step S22, i.e., in constructing the movement trajectory of abnormal persons, the abnormal persons are first marked. Specifically, a waterfront warning zone is set up in the monitoring. If there is a waterfront warning zone or water area in the border of the human body area obtained by the human body detection algorithm, it is considered that the pedestrians in the border are close to the waterfront, and these pedestrians are marked and recorded as abnormal persons. Among them, the human body detection algorithm is preferably Afterwards, the cross-camera multi-target tracking algorithm is used to track the trajectory of the abnormal person in each previously recorded surveillance video. The tracking range is from the time when the abnormal person enters the reservoir to the time when he is detected close to the water bank, and the historical trajectories corresponding to several abnormal persons are obtained. Among them, the cross-camera multi-target tracking algorithm is preferably The specific process of this tracking algorithm is as follows Figure 4Finally, based on the historical trajectory obtained, combined with the reservoir map and the location and angle information of the monitoring points in the reservoir, the historical trajectory is depicted on the reservoir map to obtain the movement trajectory of the abnormal person.
[0061] At this point, the movement trajectory of abnormal persons is constructed by combining the cross-camera multi-target tracking algorithm with the reservoir map. This step constructs the movement trajectory to depict the target trajectory of pedestrian trajectories in the surveillance video on the reservoir map; it is conducive to more intuitively identifying the experience of abnormal persons from entering the reservoir to approaching the water bank, and providing more direct path information for subsequent judgment of the violation trend of abnormal persons.
[0062] In step S3, it can be understood that in the reservoir, there are some environmentalists and researchers who will carry out some research (such as ecological research and hydrological research) in the reservoir. These studies require data information from all parts of the reservoir. In this way, these personnel will collect samples everywhere after entering the reservoir; and there must be patrol personnel in the reservoir. The patrol personnel often check along a fixed route in the working area. If they encounter someone in a dangerous area or a prohibited behavior, they will persuade them and then return to continue patrolling; but those who want to fish, swim or go boating in the reservoir have a strong purpose and generally go straight to the water bank. Although there are some people who play around first and then fish, because playing is not the main purpose, their general direction of travel is still to the water bank, and the path they take is closer to the optimal path to the water bank than other people. Therefore, it can be distinguished according to the overlap between the optimal path and the movement trajectory of abnormal personnel.
[0063] Preferably, if Figure 5 As shown, step S3 includes:
[0064] Step S31: traverse all optimal paths and obtain overlapping trajectories;
[0065] Step S32: Distinguish suspected violators, suspicious persons and non-violators according to the proportion of overlapping trajectories in the optimal path and the proportion of overlapping trajectories in the motion trajectory.
[0066] Since we don’t know which path the abnormal person has chosen, we need to traverse all the optimal paths. And considering the proportion of overlapping trajectories in the optimal path and the proportion of overlapping trajectories in the motion trajectory can better judge whether the abnormal person goes straight to the waterside, so as to distinguish them.
[0067] In step S3, any optimal path may be selected. , compare the movement trajectory of abnormal personnel with the optimal path , mark the overlapping parts of the two, record them as overlapping trajectories, and check the proportion of the overlapping parts in the optimal path and the abnormal person's movement trajectory. Then, since we don't know which path the abnormal person took, traverse all the optimal paths and select the one with the highest proportion as a reference. The higher the proportion of overlapping trajectories, the more suspicious the abnormal person is.
[0068] Better yet, by calculating the trajectory suspicious evaluation Abnormal persons are divided into suspected violators, suspicious persons and non-violators.
[0069] The trajectory is suspiciously evaluated The calculation formula is:
[0070]
[0071] In the formula, Representing motion trajectory and optimal path The overlapping part of the two - the sum of the lengths of the overlapping trajectories; Indicates the total length of the abnormal personnel's movement trajectory; Represents the optimal path Total length; Represents several different function values Take the maximum value, where Indicates traversal of different optimal paths;
[0072] If the trajectory is suspicious, evaluate If the trajectory is greater than or equal to the preset first threshold, it is marked as a suspected violator; if the trajectory is suspicious If the trajectory is less than the preset first threshold and greater than or equal to the preset second threshold, it is marked as a suspicious person; if the trajectory is suspicious If it is less than the preset second threshold, it is marked as no violator.
[0073] Suspicious evaluations on track In the calculation formula, Indicates the proportion of overlapping trajectories in the optimal path, which is used to indicate the purpose of the abnormal person going to the waterside. The stronger the purpose of going to the waterside, the more direct the path to the waterside, and the higher the overlap with the optimal path, that is, the greater the proportion in the optimal path; It indicates the proportion of overlapping trajectories in the movement trajectory, which is used to indicate the directness of abnormal persons to the waterside. The more they want to go fishing and swimming, the more directly they go to the waterside, and the less they go to other places, the higher the proportion of overlapping trajectories in the movement trajectory of abnormal persons.
[0074] The first threshold is preferably 0.7, and the second threshold is preferably 0.3. Specifically, the suspicious trajectory evaluation of all abnormal personnel movement trajectories is calculated, and the threshold is used to calculate the suspicious trajectory evaluation of all abnormal personnel movement trajectories. and Screening suspicious evaluation of trajectory, preset , If the suspicious evaluation of the trajectory corresponding to the abnormal person is greater than or equal to the threshold , it is considered that the abnormal person may be here to fish or swim, and these abnormal persons are marked and recorded as suspected violators; if the suspicious evaluation of the trajectory corresponding to the abnormal person is less than the threshold But greater than or equal to the threshold , it is difficult to judge the behavior logic of the abnormal person, and these abnormal persons are marked and recorded as suspicious persons; if the suspicious evaluation of the trajectory corresponding to the abnormal person is less than the threshold , then it is considered that the abnormal person may be wandering around and is recorded as a person without violation.
[0075] In step S4, since some people first play in other places in the park and then go fishing, or want to take a rest nearby to take pictures, their movement trajectories partially overlap with the optimal path, but the overlapping part accounts for a moderate proportion, making it difficult to determine whether they are going fishing or swimming. Therefore, it is necessary to analyze their behavior trends near the water. People who want to go fishing or swimming always approach the water directly, while other people may suddenly turn to the waterside while walking. Therefore, the behavior of the suspicious person can be obtained based on the monitoring video, and the suspicious person can be further distinguished.
[0076] In some preferred embodiments, Figure 6 As shown, step S4 includes:
[0077] Step S41: obtaining the movement direction and movement speed of the suspicious person at a first preset time interval;
[0078] Step S42: Based on the movement direction and movement speed of the suspicious person, analyze whether the suspicious person goes directly to the waterside. If so, mark him as a suspected violator; otherwise, mark him as a non-violator.
[0079] The purpose of obtaining the movement direction and movement speed of the suspicious person is to determine whether the movement of the person changes suddenly according to the change of the movement direction of the suspicious person before reaching the waterside, so as to distinguish the mark.
[0080] In step S41, specifically, a period of time when the suspicious person is close to the waterside is selected, preferably 30 seconds, and the first preset time is preferably 2 seconds, that is, in the 30 seconds of monitoring video, the movement direction and movement speed of the suspicious person are obtained every 2 seconds.
[0081] In other preferred embodiments, Figure 7 As shown, step S4 includes:
[0082] Step S41': obtaining the image confusion degree at every second preset time interval;
[0083] Step S42': obtaining the movement direction and movement speed of the suspicious person at every first preset time interval;
[0084] Step S43': Based on the movement direction and speed of the suspicious person and the image clutter, analyze whether the suspicious person goes directly to the waterside without any sudden situation. If so, mark him as a suspected violator, otherwise mark him as a non-violator.
[0085] It is understandable that if an emergency occurs at a certain place near the reservoir, people will gather and evacuate, which will cause a large difference in the surveillance video from the surveillance images in the past period of time. At the same time, some patrol officers will go there to deal with it. Since the patrol officers go there suddenly, it is necessary to compare the direction after the patrol officers change to see if it is the direction of the emergency. Therefore, the chaos degree can be combined to screen out the people who go there suddenly, especially the patrol officers, so as to better avoid misjudgment.
[0086] Step S41' specifically includes: , preset to obtain monitoring images every 30 seconds, compare the monitoring images obtained twice in a row, count the differences between the two, and when a certain exist Time relative to the previous moment The degree of confusion Greater than or equal to the mean of each historical chaos degree , it is considered that At this time An emergency occurred. and Respectively indicate a certain place exist Time and last moment The information entropy of the image at that time.
[0087] Step S42' specifically includes randomly selecting a suspicious person , select a period of time before approaching the waterside , preset 30 seconds, during this period, every Seconds, preset , detect suspicious persons through target tracking algorithm (optical flow method) The direction and speed of movement are determined to obtain the light loss at each moment, and the violation trend is determined based on the speed of change of the light loss.
[0088] In step S43', it is preferred to evaluate the progress trend by calculating The suspicious persons are divided into persons suspected of violating the rules and persons without violating the rules.
[0089] Suspicious Person Evaluation of the progress trend The calculation formula is:
[0090]
[0091] In the formula, Indicates time The angle corresponding to the optical flow vector of the suspicious person; Indicates time The angle corresponding to the optical flow vector of the suspicious person; Indicates the angle corresponding to the amount of light loss when a suspicious person approaches the water's edge; Before the suspicious person approaches the waterfront The angle corresponding to the amount of light loss at the moment; Indicates the total detection time; Indicates the detection interval; Represents several different function values Take the maximum value, where Indicates traversal of different moments; Indicates time The angle corresponding to the vector pointing from the suspicious person to the location of the emergency;
[0092] If the trend evaluation If the value is greater than or equal to the preset third threshold, the person is marked as a suspected violator; if the trend evaluation If it is less than the preset third threshold, it is marked as no violator.
[0093] Ongoing trend assessment In the calculation formula, It is used to describe whether the suspicious person is going to the place where the emergency occurs. If the suspicious person is going to the place where the emergency occurs, the probability that the suspicious person is a patrol officer is high. Otherwise, he is a violator. That is, when the patrol officer encounters an emergency, he will suddenly change direction and go to the place to deal with it. If other suspicious persons suddenly change direction, if they go to the place where the emergency occurs, they are likely to go to help. If they go to other places, they are more likely to be violators.
[0094] It indicates the change of the suspicious person's movement direction at the jth moment. If the suspicious person suddenly changes his mind at a certain point, his movement direction will change significantly. Indicates that the suspicious person was before The average rate of change of direction of travel during the time period; It indicates the difference between the change in the direction of movement of the suspicious person at the jth moment and the change in the entire time period. If the suspicious person suddenly changes the direction of movement, then the change in direction at the moment of change is more obvious relative to the change in the entire time period. Similarly, if there is no sudden change, he will go directly to the waterside, and there will be no obvious change relative to the overall time period.
[0095] The third threshold value may be a certain value, and in a preferred embodiment, it is the average value of the movement trend evaluations of many suspicious persons. Specifically, the movement trend evaluations of all suspicious persons are calculated by traversing and calculating, and the third threshold value is calculated by traversing and calculating, and the third threshold value is calculated by traversing and calculating. Filter, Preset , Represents the average of the movement trend evaluations of many suspicious persons.
[0096] If the suspicious person's movement trend evaluation is less than or equal to the threshold , it is considered that the suspicious person is heading directly to the waterside with a purpose, and these suspicious persons are marked as suspected violators; on the contrary, if the evaluation of the suspicious person's moving trend is greater than the threshold , it is considered that the suspicious person suddenly turned to the waterside and these suspicious persons are marked as non-violators.
[0097] In steps S2 and S3, the optimal path from the reservoir entrance to the water bank is obtained through the path planning algorithm, and the suspected violators, suspicious persons and non-violators are preliminarily determined in combination with the movement trajectory of abnormal persons; in step S4, the suspected violators and non-violators are further determined based on the behavior of the suspicious persons a period of time before reaching the water bank; and finally the suspected violators are obtained. The trajectory suspicion evaluation constructed in step S3 is to compare the movement trajectory of the abnormal persons with the optimal path; it is helpful to directly screen out some violators who want to go fishing or swimming through the overlap between the movement trajectory of the abnormal persons and the optimal path, and can screen out other suspicious persons who want to go fishing. The travel trend evaluation constructed in step S4 is to judge whether the person's travel has changed suddenly according to the change in the direction of travel of the suspicious person before reaching the water bank, and to make a more refined judgment on whether the suspicious person has the idea of going fishing or swimming.
[0098] The present invention constructs the movement trajectory of abnormal persons through a cross-mirror multi-target tracking algorithm combined with a reservoir map; obtains the optimal path from the reservoir entrance to the water bank through a path planning algorithm, and combines the movement trajectory of suspicious persons to preliminarily obtain suspected violators, suspicious persons, and non-violators. Then, based on the behavior of the suspicious persons before they reach the water bank, further determine the suspected violators and non-violators. Finally, the suspected violators are obtained.
[0099] Second embodiment:
[0100] Based on the first embodiment of the intelligent reservoir monitoring method of the present invention, a second embodiment of the intelligent reservoir monitoring method of the present invention is proposed. The difference between the second embodiment and the first embodiment is that it also includes executing a preset warning operation when a suspected violator is detected.
[0101] like Figure 8 As shown, the reservoir intelligent monitoring method includes:
[0102] Step S1, obtaining surveillance videos of each area;
[0103] Step S2, constructing an optimal path and a movement trajectory of abnormal personnel based on the surveillance video;
[0104] Step S3, by analyzing the overlap between the optimal path and the movement trajectory of the abnormal persons, the abnormal persons are divided into suspected violators, suspicious persons and non-violators;
[0105] Step S4, obtaining the behavior of the suspicious persons based on the surveillance video, and classifying the suspicious persons into suspected violators and non-violators;
[0106] Step S5, when a suspected violator is detected, a preset warning operation is executed.
[0107] Among them, the warning operation includes one or more, for example, turning on the warning sound equipment set up near the water's edge to remind people of the danger and prohibit them from continuing to approach the water's edge; or, notifying the inspection personnel to strengthen patrols near the water area, and notifying them to rush to the people near the water's edge in time to persuade them to leave the water's edge and stop them from continuing to approach the water; railings, fences and other obstacles can also be set up near the water's edge to prevent people from approaching the water's edge and keep a safe distance; and emergency rescue personnel and equipment are deployed nearby to ensure that rescue can be carried out and the accident can be handled in a timely manner in the event of an accident.
[0108] Third embodiment:
[0109] The present invention also provides a reservoir intelligent monitoring system based on AI video technology, such as Fig. 9 As shown, the reservoir intelligent monitoring system includes:
[0110] Image acquisition module 10: used to acquire surveillance videos of various areas;
[0111] Video analysis module 20: used to construct an optimal path based on the surveillance video, identify abnormal persons and construct a movement trajectory of abnormal persons;
[0112] Detection and judgment module 30: used to classify abnormal persons into suspected violators, suspicious persons and non-violators by analyzing the overlap between the optimal path and the movement trajectory of abnormal persons; and to obtain the behavioral conditions of the suspicious persons based on the monitoring video, and classify the suspicious persons into suspected violators and non-violators.
[0113] Preferably, if Fig.10 As shown, the reservoir intelligent monitoring system also includes:
[0114] Warning module 40: used to execute a preset warning operation when a suspected violator is detected.
[0115] In the embodiment of the reservoir intelligent monitoring system of the present invention, all technical features of the above-mentioned embodiments of the reservoir intelligent monitoring method are included, and the description and explanation content are basically the same as those of the above-mentioned embodiments of the reservoir intelligent monitoring method, and will not be repeated here.
[0116] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0117] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A reservoir intelligent monitoring method based on AI video technology, characterized in that: The reservoir intelligent monitoring method comprises: Obtain surveillance videos of each area; Build an optimal path based on the surveillance video, identify abnormal persons and build a movement trajectory of abnormal persons; By analyzing the overlap between the optimal path and the movement trajectory of abnormal persons, abnormal persons are divided into suspected violators, suspicious persons and non-violation persons; Based on the surveillance video, the behavior of the suspicious persons is obtained, and the suspicious persons are divided into suspected violators and non-violators; The step of obtaining the behavior of the suspicious persons based on the surveillance video and classifying the suspicious persons into suspected violators and non-violators includes: Obtaining the degree of image confusion at every second preset time interval; Obtaining the movement direction and movement speed of the suspicious person at every first preset time interval; Based on the movement direction and speed of the suspicious person and the image clutter, analyze whether the suspicious person goes directly to the waterside without any emergency. If so, mark him as a suspected violator; otherwise, mark him as a non-violator; Evaluate by calculating the trend Divide the suspicious persons into suspected violators and non-violators; Suspicious Person Evaluation of the progress trend The calculation formula is: In the formula, and Respectively indicate time Time and Moment The angle corresponding to the optical flow vector of the suspicious person; and They respectively indicate when the suspicious person approaches the waterfront and before The angle corresponding to the optical flow vector at time; and Respectively represent the total detection time and the detection interval time; Represents several different function values Take the maximum value, where Indicates traversal of different moments; Indicates time The angle corresponding to the vector pointing from the suspicious person to the location of the emergency; If the trend evaluation If the value is greater than or equal to the preset third threshold, the person is marked as a suspected violator; if the trend evaluation If it is less than the preset third threshold, it is marked as no violator.
2. The reservoir intelligent monitoring method based on AI video technology according to claim 1, characterized in that: The steps of constructing the optimal path based on the surveillance video, identifying abnormal persons and constructing the movement trajectory of abnormal persons include: Constructing the optimal path: Through the path planning algorithm and the reservoir map, several optimal paths from the reservoir entrance to the waterside are constructed; Construct the movement trajectory of abnormal persons: Use the human body detection algorithm to detect people close to the waterside as abnormal persons; use the cross-border multi-target tracking algorithm and combine it with the reservoir map to construct the movement trajectory of the abnormal persons.
3. The reservoir intelligent monitoring method based on AI video technology according to claim 1, characterized in that: The step of analyzing the overlap between the optimal path and the movement trajectory of the abnormal persons to classify the abnormal persons into suspected violators, suspicious persons and non-violators includes: Traverse all optimal paths and obtain overlapping trajectories; Suspected violators, suspicious persons and non-violators are distinguished based on the proportion of overlapping trajectories in the optimal path and the proportion of overlapping trajectories in the motion trajectory.
4. The reservoir intelligent monitoring method based on AI video technology according to claim 3 is characterized in that: Suspicious evaluation of trajectory by calculation Classify abnormal persons into suspected violators, suspicious persons and non-violators; The trajectory is suspiciously evaluated The calculation formula is: In the formula, Representing motion trajectory and optimal path The overlapping part of the two - the sum of the lengths of the overlapping trajectories; Indicates the total length of the abnormal personnel's movement trajectory; Represents the optimal path Total length; Represents several different function values Take the maximum value, where Indicates traversal of different optimal paths; If the trajectory is suspicious, evaluate If the trajectory is greater than or equal to the preset first threshold, it is marked as a suspected violator; if the trajectory is suspicious If the trajectory is less than the preset first threshold and greater than or equal to the preset second threshold, it is marked as a suspicious person; if the trajectory is suspicious If it is less than the preset second threshold, it is marked as no violator.
5. The reservoir intelligent monitoring method based on AI video technology according to claim 1, characterized in that: The step of obtaining the behavior of the suspicious persons based on the surveillance video and classifying the suspicious persons into suspected violators and non-violators includes: Obtaining the movement direction and movement speed of the suspicious person at every first preset time interval; Based on the movement direction and speed of the suspicious person, it is analyzed whether the suspicious person goes directly to the waterside. If so, he is marked as a suspected violator, otherwise he is marked as a non-violator.
6. The intelligent reservoir monitoring method based on AI video technology according to any one of claims 1 to 5, characterized in that: The reservoir intelligent monitoring method also includes: When a suspected violator is detected, the preset warning operation is executed.
7. A reservoir intelligent monitoring system based on AI video technology, characterized in that: The reservoir intelligent monitoring system comprises: Image acquisition module: used to obtain surveillance videos of various areas; Video analysis module: used to construct the optimal path based on the surveillance video, identify abnormal persons and construct the movement trajectory of abnormal persons; Detection and judgment module: used to classify the abnormal persons into suspected violators, suspicious persons and non-violators by analyzing the overlap between the optimal path and the movement trajectory of the abnormal persons; and to obtain the behavior of the suspicious persons based on the monitoring video, and classify the suspicious persons into suspected violators and non-violators; The step of obtaining the behavior of the suspicious persons based on the surveillance video and classifying the suspicious persons into suspected violators and non-violators includes: Obtaining the degree of image confusion at every second preset time interval; Obtaining the movement direction and movement speed of the suspicious person at every first preset time interval; Based on the movement direction and speed of the suspicious person and the image clutter, analyze whether the suspicious person goes directly to the waterside without any emergency. If so, mark him as a suspected violator; otherwise, mark him as a non-violator; Evaluate by calculating the trend Divide the suspicious persons into suspected violators and non-violators; Suspicious Person Evaluation of the progress trend The calculation formula is: In the formula, and Respectively indicate time Time and Moment The angle corresponding to the optical flow vector of the suspicious person; and They respectively indicate when the suspicious person approaches the waterfront and before The angle corresponding to the optical flow vector at time; and Respectively represent the total detection time and the detection interval time; Represents several different function values Take the maximum value, where Indicates traversal of different moments; Indicates time The angle corresponding to the vector pointing from the suspicious person to the location of the emergency; If the trend evaluation If the value is greater than or equal to the preset third threshold, the person is marked as a suspected violator; if the trend evaluation If it is less than the preset third threshold, it is marked as no violator.
8. The reservoir intelligent monitoring system based on AI video technology according to claim 7, characterized in that: The reservoir intelligent monitoring system also includes: Warning module: used to execute preset warning operations when suspected violators are detected.
