Intelligent video monitoring method and system
Through multi-angle acquisition and color change rate comparison in image extraction areas, combined with deep learning algorithms, the problem of low recognition accuracy and high hardware calculation of intelligent video surveillance systems in complex environments is solved, and efficient and accurate surveillance recognition is achieved.
Patent Information
- Application Number
- CN202310158271.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-02-14
AI Technical Summary
Existing intelligent video surveillance systems are difficult to accurately distinguish moving objects in complex environments and are sensitive to changes in lighting, resulting in low recognition accuracy, high hardware computing requirements, and inability to effectively adapt to changing surveillance scenarios.
By using high-definition cameras to collect images from multiple angles in the intelligent video surveillance system, an M*N image extraction area is constructed, and the color change rate is calculated using the image pixel change rate and time period parameter adjustment for real-time comparison, and deep learning algorithms are combined to perform external analysis. Personnel identification reduces the amount of calculation and improves identification accuracy.
It improves the recognition accuracy of the intelligent video surveillance system in complex environments, reduces the requirements for hardware calculations, reduces misjudgments, has strong adaptability, and is suitable for monitoring scenarios under multi-angle and multi-illumination conditions.
Smart Images

Figure CN116189089B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video surveillance technology, and in particular to an intelligent video surveillance method and system. Background Art
[0002] In recent years, video surveillance technology has been increasingly used in power systems. Installing video surveillance systems in unmanned substations and dangerous areas where personnel are prohibited from approaching can effectively eliminate potential safety hazards, provide timely warnings, and avoid accidents. Traditional video surveillance systems mostly use a 24 / 7 staff-based on-duty and manual warning method, which not only fails to reduce accidents through accident prevention alarms, but also seriously wastes manpower and material resources.
[0003] Nowadays, with the continuous deepening of computer vision research, intelligent video surveillance technology has gradually replaced the original video surveillance method. The intelligent video surveillance system can use image processing and computer vision methods to analyze video images without the participation of staff to determine the real-time status of the monitored location. When an abnormal situation occurs, it can report it to the staff in time and prompt them to take treatment measures, thereby realizing the functions of prevention, early warning and active monitoring.
[0004] The currently widely used intelligent video surveillance algorithm is mainly based on the moving target detection algorithm, that is, the collected video information is processed frame by frame, and an alarm signal is issued when a foreign object invades the monitored area. This algorithm cannot distinguish moving objects, has high requirements for application sites, and cannot adapt to complex environments. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes an intelligent video monitoring method and system to solve at least one of the above technical problems.
[0006] An intelligent video monitoring method comprises the following steps:
[0007] Step S1: Control the high-definition camera to perform image acquisition at a preset angle to obtain a conventional monitoring image set;
[0008] Step S2: constructing an M*N image extraction region, and using the image extraction region to perform a color change rate recording operation on a conventional monitoring image set and mark a time period, thereby obtaining conventional monitoring color change rate recording data;
[0009] Step S3: acquiring monitoring image information in real time, and performing image extraction through image extraction areas to generate image area information to be determined;
[0010] Step S4: performing correction calculation according to the image area information to be judged and the preset time period adjustment parameters to generate the color change rate of the image to be judged;
[0011] Step S5: Compare the color change rate of the image to be determined with the conventional monitoring color change rate record data. If it is determined that there is inconsistency, perform a facial image confirmation operation to provide a real-time monitoring operation.
[0012] This embodiment determines the possibility of the appearance of moving objects in the real-time monitoring image information by comparing the color change rates of conventional monitoring images and real-time monitoring image information. Based on the comparison of color change rates, it avoids the shortcomings of poor adaptability and sensitivity to background changes such as lighting, and improves accuracy. At the same time, by constructing an image extraction area, it conforms to the characteristic that moving objects in real life appear from the monitoring image starting from the edge of the picture, thereby reducing the requirements for hardware calculation and improving economic value.
[0013] In one embodiment of the present specification, step S1 includes the following steps:
[0014] Step S11: controlling the high-definition camera to perform a first image acquisition operation at a preset first angle to obtain a first conventional monitoring image set;
[0015] Step S12: controlling the high-definition camera to perform a second image acquisition operation at a preset second angle to obtain a second conventional monitoring image set;
[0016] Step S13: merging the first conventional monitoring image set and the second conventional monitoring image set to generate a conventional monitoring image set.
[0017] This embodiment acquires scene image information from multiple angles through image acquisition at different angles, thereby expanding the detection and recognition range of monitoring image information. At the same time, in the actual process, the high-definition camera has a motion function or multiple cameras are set up at the same time, and multiple angles are detected simultaneously, giving full play to the image acquisition function of the camera.
[0018] In one embodiment of the present specification, step S2 includes the following steps:
[0019] Step S21: constructing an M*N image extraction area;
[0020] Step S22: performing image extraction on the conventional monitoring image set using the image extraction region to generate a conventional monitoring image extraction region set;
[0021] Step S23: Calculate the color change rate of the conventional monitoring image by using the image pixel change rate calculation formula according to the conventional monitoring image extraction area set, generate the conventional monitoring image color change rate and perform the recording operation;
[0022] Step S24: obtaining current time information, and marking the color change rate of the conventional monitoring image according to the current time information, thereby obtaining conventional monitoring color change rate record data.
[0023] This embodiment extracts images from a conventional monitoring image set by constructing image extraction regions to generate a conventional monitoring image extraction region set, thereby reducing hardware requirements and improving practicality. At the same time, by marking the color change rate of conventional monitoring images based on time information of the current time, the impact of different daytime periods and climatic conditions on the saturation of the acquired image information is reduced.
[0024] In one embodiment of the present specification, the image pixel change rate calculation formula is specifically:
[0025]
[0026] V I is the color change rate of the conventional monitoring image, a i is the i-th pixel information in the conventional monitoring image extraction area, α i is the weight information of the i-th pixel point information in the conventional monitoring image extraction area in the conventional monitoring image extraction area set, q is the pixel adjustment item of the conventional monitoring image extraction area set generated according to weather changes, γ is the weight information of the time information of the conventional monitoring image extraction area set, ω is the deviation adjustment item of the conventional monitoring image extraction area set, t is the time information of the conventional monitoring image extraction area set, and μ is the correction item for the color change rate of the conventional monitoring image.
[0027] This embodiment provides a formula for calculating the image pixel change rate, which fully considers the information a of the i-th pixel point in the conventional monitoring image extraction area set. i , the weight information α of the i-th pixel point information in the conventional monitoring image extraction area set i , the pixel adjustment item q of the conventional monitoring image extraction area set generated according to weather changes, the weight information γ of the time information of the conventional monitoring image extraction area set, the deviation adjustment item ω of the conventional monitoring image extraction area set, the time information t of the conventional monitoring image extraction area set and the interaction relationship between them, so as to form a functional relationship ∑(α i loga i +q) / γe ωt , and through the correction term μ of the color change rate of the conventional monitoring image, accurate and reliable data support is provided.
[0028] In one embodiment of the present specification, step S3 includes the following steps:
[0029] Step S31: Acquire monitoring image information in real time;
[0030] Step S32: extracting the monitoring image information using the image extraction area to generate monitoring image extraction area information;
[0031] Step S33: Marking the time period of the monitoring image extraction area information according to the time information of the monitoring image information to generate the image area information to be determined.
[0032] This embodiment acquires monitoring image information in real time, and uses image extraction areas to extract the monitoring image information to generate monitoring image extraction area information, thereby ensuring small and precise identification, reducing the amount of calculation, and providing practicality. Generally, in the real-time monitoring process, the order in which characters appear is that they start to appear at the corners of the video. Extraction through image extraction areas effectively reduces the requirements for calculation, thereby improving economic value.
[0033] In one embodiment of the present specification, step S4 includes the following steps:
[0034] The color change rate of the color to be judged is generated by calculating the color change calculation formula of the time period adjustment parameter according to the image area information to be judged and the preset time period adjustment parameter;
[0035] The specific calculation formula for the time period adjustment color change is:
[0036]
[0037] P is the rate of change of the color to be judged, β i is the weight information of the i-th pixel in the image area to be judged, b i is the i-th pixel in the image area information to be judged, m is the adjustment item of the preset time period adjustment parameter, q is the time period adjustment item of the preset time period adjustment parameter, r is the average correction item of the pixel generated according to the time information, t is the time information of the conventional monitoring image extraction area set, τ is the weight information of the error adjustment item, ε is the error adjustment item, N is the total number of pixels of the image area information to be judged, and u is the correction item of the color change rate to be judged.
[0038] This embodiment calculates the color change rate to be judged based on the image area information to be judged and the preset time period adjustment parameters through the time period adjustment parameter color change calculation formula, thereby providing accurate and reliable data support.
[0039] This embodiment provides a time period adjustment color change calculation formula, which fully considers the weight information β of the i-th pixel point in the image area information to be judged. i , the i-th pixel b in the image area to be judged i, the preset time period adjustment item m, the preset time period adjustment item q, the pixel average correction item r generated according to the time information, the time information t of the conventional monitoring image extraction area set, the weight information τ of the error adjustment item, the error adjustment item ε, the total number of pixels N of the image area information to be judged, and the interaction relationship between them, so as to form a functional relationship And correction is made through the correction item u of the color change rate to be determined, thereby providing accurate data support.
[0040] In one embodiment of the present specification, step S5 includes the following steps:
[0041] Step S51: constructing the image extraction region information to be determined according to the relative image position information of the image region information to be determined and the image extraction region;
[0042] Step S52: performing an image extraction operation on the monitoring image information according to the image extraction area information to be determined, and generating monitoring image information to be determined;
[0043] Step S53: Identify the monitored image information to be judged through a preset outsider recognition model, and generate outsider visit information for real-time monitoring operations, wherein the preset outsider recognition model is generated through a deep learning algorithm.
[0044] This embodiment further identifies the image area information to be judged that is abnormal or has foreign personnel or moving objects obtained in a preset manner, wherein the position of the image area information to be judged in the original monitoring image is determined for identification, thereby avoiding calculation of the entire monitoring image, reducing the amount of calculation, and reducing the requirements for hardware, thereby improving economic value.
[0045] In one embodiment of the present specification, before executing the facial image confirmation operation in step S5, the following steps are included:
[0046] Step S501: extracting images according to the relative position information of the image area to be judged, and generating a monitoring image set to be judged;
[0047] Step S502: performing cluster analysis on the surveillance image set to be judged to generate a surveillance image feature set;
[0048] Step S503: performing Gaussian distribution calculation on the monitoring extracted image feature set to generate a monitoring extracted image feature Gaussian distribution set;
[0049] Step S504: Calculate the monitoring image feature Gaussian distribution set and the conventional monitoring image feature Gaussian distribution set through the image feature error calculation formula to generate the monitoring image character feature index;
[0050] Step S505: determining whether the monitoring image person feature index is greater than or equal to a preset monitoring image person determination feature index;
[0051] Step S506: When it is determined that the monitoring image person feature index is greater than or equal to the preset monitoring image person feature determination index, a facial image confirmation operation is performed.
[0052] This embodiment performs cluster calculation and Gaussian distribution on the monitoring image information, and calculates it with the Gaussian distribution set of conventional monitoring image features through a preset image feature error calculation formula, thereby ensuring that within the allowable error range, matching and comparison based on deep data relationships are achieved, providing accuracy while reducing the impact of data overfitting. The cluster analysis classifies the features while avoiding the influence of light and shadow and natural movement on the objects, achieving a low-sensitivity response to background changes, and improving the detection pass rate of objects or people.
[0053] In one embodiment of the present specification, the image feature error calculation formula is specifically:
[0054]
[0055] E is the character feature index of the monitoring image, Extract the feature value of the i-th monitored image in the Gaussian distribution set for the monitored image feature extraction. The weight information of the i-th monitored image feature extraction value in the Gaussian distribution set of the monitored image feature extraction is: is the ith conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set, is the weight information of the i-th conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set, is the error adjustment item of the i-th conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set generated according to the current period, θ is the adjustment item, o is the average change rate of the historical monitoring extracted image feature Gaussian distribution set generated according to the historical monitoring image information, σ is the period adjustment item generated according to the time information, It is a correction item for monitoring the character feature index of the image.
[0056] This embodiment provides an image feature error calculation formula, which fully considers the i-th monitoring extracted image feature value in the monitoring extracted image feature Gaussian distribution set. The weight information of the i-th monitored image feature value extracted in the Gaussian distribution set of the monitored image feature extraction The i-th conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features Weight information of the ith conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features The error adjustment term of the i-th conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features generated in the current period The adjustment term θ, the average change rate o of the historical monitoring extracted image feature Gaussian distribution set generated according to the historical monitoring image information, the period adjustment term σ generated according to the time information, and the interaction relationship between them form a functional relationship And by monitoring the correction term of the image character feature index Make corrections to provide reliable data support.
[0057] In one embodiment of the present specification, the generation of a Gaussian distribution set of conventional monitoring image features includes the following steps:
[0058] Step S507: Acquire conventional monitoring images under various circumstances;
[0059] Step S508: constructing an m*n image extraction area;
[0060] Step S509: performing image extraction on the conventional monitoring image using the image extraction region to generate a conventional monitoring extracted image set;
[0061] Step S5010: performing cluster analysis on the conventional surveillance extracted image set to generate a surveillance extracted image feature set;
[0062] Step S5011: Perform Gaussian distribution calculation on the monitoring extracted image feature set to generate a conventional monitoring image feature Gaussian distribution set.
[0063] This embodiment analyzes conventional monitoring images under different circumstances, and extracts the depth data relationship implied behind the image through cluster analysis and Gaussian distribution calculation, thereby providing accurate depth data information for the detection and identification of monitoring image information obtained by real-time monitoring.
[0064] In one embodiment of the present specification, an intelligent video surveillance system includes:
[0065] at least one processor; and,
[0066] a memory communicatively connected to the at least one processor; wherein,
[0067] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute an intelligent video surveillance method as described in any one of the above items.
[0068] The present invention compares the color change rate of the image information to be detected with the color change rate of the monitoring image information in different states, thereby judging whether a moving object appears, thereby determining whether to further perform a target recognition operation. At the same time, in the process of judging whether a moving object appears, the image information of the area where the color change rate appears in the monitoring image information is extracted and recognized, thereby reducing the computational complexity of the target-based recognition algorithm, thereby reducing the requirements for hardware, providing high-precision depth data, avoiding misjudgment caused by light and shadow and natural effects, and improving practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting implementations made with reference to the following drawings:
[0070] Figure 1 A flowchart of the steps of an intelligent video monitoring method according to an embodiment is shown;
[0071] Figure 2 A flowchart showing the steps of a conventional monitoring image set generation method according to an embodiment;
[0072] Figure 3 A flowchart showing the steps of a conventional monitoring color change rate generation method according to an embodiment;
[0073] Figure 4 A flowchart showing the steps of a method for generating information of an image region to be determined according to an embodiment;
[0074] Figure 5 A flowchart showing the steps of a method for generating visitor information of an embodiment of the present invention is shown;
[0075] Figure 6 A flowchart showing the steps of a monitoring image character identification operation according to an embodiment is shown;
[0076] Figure 7 A flowchart of the steps of a method for generating a Gaussian distribution set of conventional monitoring image features according to an embodiment is shown. DETAILED DESCRIPTION
[0077] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0078] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0079] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0080] An intelligent video surveillance method, see Figures 1 to 7 , including the following steps:
[0081] Step S1: Control the high-definition camera to perform image acquisition at a preset angle to obtain a conventional monitoring image set;
[0082] Specifically, for example, a high-definition camera is controlled to perform image acquisition at a preset angle, such as looking down at a 30-degree angle to the horizontal, to obtain a conventional monitoring image set.
[0083] Step S2: constructing an M*N image extraction region, and using the image extraction region to perform a color change rate recording operation on a conventional monitoring image set and mark a time period, thereby obtaining conventional monitoring color change rate recording data;
[0084] Specifically, for example, an M*N image extraction area such as 150*150 is constructed, and the image extraction area is used to perform color change rate recording operations on a conventional monitoring image set, such as weighted averaging calculation, and time period marking, so as to obtain conventional monitoring color change rate recording data.
[0085] Step S3: acquiring monitoring image information in real time, and performing image extraction through image extraction areas to generate image area information to be determined;
[0086] Specifically, for example, the camera is controlled to obtain monitoring image information in real time, and image extraction is performed through the image extraction area to generate image area information to be determined.
[0087] Step S4: performing correction calculation according to the image area information to be judged and the preset time period adjustment parameters to generate the color change rate of the image to be judged;
[0088] Specifically, for example, a correction calculation is performed based on the image area information to be determined and a preset time period adjustment parameter, such as a correction calculation formula provided in other embodiments, to generate a color change rate of the image to be determined.
[0089] Step S5: Compare the color change rate of the image to be determined with the conventional monitoring color change rate record data. If it is determined that there is inconsistency, perform a facial image confirmation operation to provide a real-time monitoring operation.
[0090] Specifically, for example, the color change rate of the image to be judged is compared with the color change rate record data of conventional monitoring. When it is determined within the allowable error range that the color change rate of the image to be judged is inconsistent with the color change rate record data of conventional monitoring, a facial image confirmation operation is performed to provide a real-time monitoring operation, wherein the facial image confirmation operation is performed through a preset security personnel recognition model, and the preset security personnel recognition model is generated through a machine learning algorithm, such as a linear model, a spanning tree algorithm, a neural network algorithm, and an ensemble learning algorithm.
[0091] This embodiment determines the possibility of the appearance of moving objects in the real-time monitoring image information by comparing the color change rates of conventional monitoring images and real-time monitoring image information. Based on the comparison of color change rates, it avoids the shortcomings of poor adaptability and sensitivity to background changes such as lighting, and improves accuracy. At the same time, by constructing an image extraction area, it conforms to the characteristic that moving objects in real life appear from the monitoring image starting from the edge of the picture, thereby reducing the requirements for hardware calculation and improving economic value.
[0092] In one embodiment of the present specification, step S1 includes the following steps:
[0093] Step S11: controlling the high-definition camera to perform a first image acquisition operation at a preset first angle to obtain a first conventional monitoring image set;
[0094] Specifically, for example, the high-definition camera is controlled to perform a first image acquisition operation at a preset first angle, such as 30 degrees from the horizontal, to obtain a first conventional monitoring image set.
[0095] Step S12: controlling the high-definition camera to perform a second image acquisition operation at a preset second angle to obtain a second conventional monitoring image set;
[0096] Specifically, for example, the high-definition camera is controlled to perform a second image acquisition operation at a preset second angle, such as 45 degrees to the horizontal, to obtain a second conventional monitoring image set.
[0097] Step S13: merging the first conventional monitoring image set and the second conventional monitoring image set to generate a conventional monitoring image set.
[0098] This embodiment acquires scene image information from multiple angles through image acquisition at different angles, thereby expanding the detection and recognition range of monitoring image information. At the same time, in the actual process, the high-definition camera has a motion function or multiple cameras are set up at the same time, and multiple angles are detected simultaneously, giving full play to the image acquisition function of the camera.
[0099] In one embodiment of the present specification, step S2 includes the following steps:
[0100] Step S21: constructing an M*N image extraction area;
[0101] Specifically, for example, an M*N image extraction area such as 200*200 is constructed.
[0102] Specifically, for example, the pixels of the monitoring image information are divided into nine equal parts, and corresponding divided image extraction areas are generated.
[0103] Step S22: performing image extraction on the conventional monitoring image set using the image extraction region to generate a conventional monitoring image extraction region set;
[0104] Specifically, for example, the image extraction region is used to perform image extraction on the conventional monitoring image set to generate a conventional monitoring image extraction region set.
[0105] Step S23: Calculate the color change rate of the conventional monitoring image by using the image pixel change rate calculation formula according to the conventional monitoring image extraction area set, generate the conventional monitoring image color change rate and perform the recording operation;
[0106] Specifically, for example, the conventional monitoring image color change rate is generated and a recording operation is performed based on the conventional monitoring image extraction area set using the image pixel change rate calculation formula provided in other embodiments.
[0107] Step S24: obtaining current time information, and marking the color change rate of the conventional monitoring image according to the current time information, thereby obtaining conventional monitoring color change rate record data.
[0108] Specifically, for example, current time information such as 15:00 on a sunny spring day is obtained, and the color change rate of the conventional monitoring image is marked according to the current time information, thereby obtaining conventional monitoring color change rate record data.
[0109] This embodiment extracts images from a conventional monitoring image set by constructing image extraction regions to generate a conventional monitoring image extraction region set, thereby reducing hardware requirements and improving practicality. At the same time, by marking the color change rate of conventional monitoring images based on time information of the current time, the impact of different daytime periods and climatic conditions on the saturation of the acquired image information is reduced.
[0110] In one embodiment of the present specification, the image pixel change rate calculation formula is specifically:
[0111]
[0112] V I is the color change rate of the conventional monitoring image, a i is the i-th pixel information in the conventional monitoring image extraction area, α i is the weight information of the i-th pixel point information in the conventional monitoring image extraction area in the conventional monitoring image extraction area set, q is the pixel adjustment item of the conventional monitoring image extraction area set generated according to weather changes, γ is the weight information of the time information of the conventional monitoring image extraction area set, ω is the deviation adjustment item of the conventional monitoring image extraction area set, t is the time information of the conventional monitoring image extraction area set, and μ is the correction item for the color change rate of the conventional monitoring image.
[0113] This embodiment provides a formula for calculating the image pixel change rate, which fully considers the information a of the i-th pixel point in the conventional monitoring image extraction area set. i , the weight information α of the i-th pixel point information in the conventional monitoring image extraction area set i , the pixel adjustment item q of the conventional monitoring image extraction area set generated according to weather changes, the weight information γ of the time information of the conventional monitoring image extraction area set, the deviation adjustment item ω of the conventional monitoring image extraction area set, the time information t of the conventional monitoring image extraction area set and the interaction relationship between them, so as to form a functional relationship ∑(α i loga i +q) / γe ωt , and through the correction term μ of the color change rate of the conventional monitoring image, accurate and reliable data support is provided.
[0114] In one embodiment of the present specification, step S3 includes the following steps:
[0115] Step S31: Acquire monitoring image information in real time;
[0116] Specifically, for example, real-time monitoring is performed through a camera, thereby obtaining monitoring image information in real time.
[0117] Specifically, for example, by acquiring a surveillance video, the surveillance video is frame-sampled to obtain surveillance image information.
[0118] Step S32: extracting the monitoring image information using the image extraction area to generate monitoring image extraction area information;
[0119] Specifically, for example, the monitoring image information is extracted using the image extraction area provided in the previous step to generate monitoring image extraction area information.
[0120] Step S33: Marking the time period of the monitoring image extraction area information according to the time information of the monitoring image information to generate the image area information to be determined.
[0121] Specifically, for example, according to the time information of the monitoring image information, such as 15:00 in spring when it is sunny, the monitoring image extraction area information is marked with a time period to generate the image area information to be determined.
[0122] This embodiment acquires monitoring image information in real time, and uses image extraction areas to extract the monitoring image information to generate monitoring image extraction area information, thereby ensuring small and precise identification, reducing the amount of calculation, and providing practicality. Generally, in the real-time monitoring process, the order in which characters appear is that they start to appear at the corners of the video. Extraction through image extraction areas effectively reduces the requirements for calculation, thereby improving economic value.
[0123] In one embodiment of the present specification, step S4 includes the following steps:
[0124] The color change rate of the color to be judged is generated by calculating the color change calculation formula of the time period adjustment parameter according to the image area information to be judged and the preset time period adjustment parameter;
[0125] Specifically, for example, the color change rate to be judged is generated, such as 35.43, by calculating the color change calculation formula of the time period adjustment parameter according to the image area information to be judged and the preset time period adjustment parameter.
[0126] The specific calculation formula for the time period adjustment color change is:
[0127]
[0128] P is the rate of change of the color to be judged, β i is the weight information of the i-th pixel in the image area to be judged, b iis the i-th pixel in the image area information to be judged, m is the adjustment item of the preset time period adjustment parameter, q is the time period adjustment item of the preset time period adjustment parameter, r is the average correction item of the pixel generated according to the time information, t is the time information of the conventional monitoring image extraction area set, τ is the weight information of the error adjustment item, ε is the error adjustment item, N is the total number of pixels of the image area information to be judged, and u is the correction item of the color change rate to be judged.
[0129] This embodiment calculates the color change rate to be judged based on the image area information to be judged and the preset time period adjustment parameters through the time period adjustment parameter color change calculation formula, thereby providing accurate and reliable data support.
[0130] This embodiment provides a time period adjustment color change calculation formula, which fully considers the weight information β of the i-th pixel point in the image area information to be judged. i , the i-th pixel b in the image area to be judged i , the preset time period adjustment item m, the preset time period adjustment item q, the pixel average correction item r generated according to the time information, the time information t of the conventional monitoring image extraction area set, the weight information τ of the error adjustment item, the error adjustment item ε, the total number of pixels N of the image area information to be judged, and the interaction relationship between them, so as to form a functional relationship And correction is made through the correction item u of the color change rate to be determined, thereby providing accurate data support.
[0131] In one embodiment of the present specification, step S5 includes the following steps:
[0132] Step S51: constructing the image extraction region information to be determined according to the relative image position information of the image region information to be determined and the image extraction region;
[0133] Specifically, for example, to determine the image area to be judged where a moving object or a foreigner appears, the center point is found according to its relative position in the original image, and the image extraction area information is constructed based on the center point and the image extraction area, that is, an image extraction area that is larger and more accurate than the image extraction area.
[0134] Step S52: performing an image extraction operation on the monitoring image information according to the image extraction area information to be determined, and generating monitoring image information to be determined;
[0135] Specifically, for example, according to the to-be-determined image extraction region information generated in the previous step, an to-be-determined image extraction operation is performed on the monitoring image information to generate the to-be-determined monitoring image information.
[0136] Step S53: Identify the monitored image information to be judged through a preset outsider recognition model, and generate outsider visit information for real-time monitoring operations, wherein the preset outsider recognition model is generated through a deep learning algorithm.
[0137] Specifically, for example, a preset outsider recognition model is used to obtain facial image information of security personnel, and an outsider recognition model is constructed based on the facial image information of the security personnel. When it is determined that the information does not match the locally pre-stored facial image information of the security personnel, it is determined to be outsider information for real-time monitoring operations, wherein the preset outsider recognition model is generated by a deep learning algorithm, such as a deep neural network algorithm, a convolutional neural network algorithm, and a recurrent neural network algorithm.
[0138] This embodiment further identifies the image area information to be judged that is abnormal or has foreign personnel or moving objects obtained in a preset manner, wherein the position of the image area information to be judged in the original monitoring image is determined for identification, thereby avoiding calculation of the entire monitoring image, reducing the amount of calculation, and reducing the requirements for hardware, thereby improving economic value.
[0139] In one embodiment of the present specification, before executing the facial image confirmation operation in step S5, the following steps are included:
[0140] Step S501: extracting images according to the relative position information of the image area to be judged, and generating a monitoring image set to be judged;
[0141] Specifically, for example, based on the relative position of the image area information to be judged in the original image, the coordinates of the center point of the image area information to be judged in the original image are generated, and based on the coordinate information, image extraction area information such as 100*100, 150*150 is constructed to extract the monitoring image information and generate a set of monitoring images to be judged.
[0142] Step S502: performing cluster analysis on the surveillance image set to be judged to generate a surveillance image feature set;
[0143] Specifically, for example, clustering algorithms include K-MEANS algorithm, Gaussian mixture clustering algorithm and hierarchical clustering algorithm.
[0144] Step S503: performing Gaussian distribution calculation on the monitoring extracted image feature set to generate a monitoring extracted image feature Gaussian distribution set;
[0145] Specifically, for example, a multivariate Gaussian distribution calculation is performed on the monitoring extracted image feature set to generate a monitoring extracted image feature Gaussian distribution set.
[0146] Step S504: Calculate the monitoring image feature Gaussian distribution set and the conventional monitoring image feature Gaussian distribution set through the image feature error calculation formula to generate the monitoring image character feature index;
[0147] Specifically, for example, the monitoring extracted image feature Gaussian distribution set and the conventional monitoring image feature Gaussian distribution set are calculated using the image feature error calculation formula provided in other embodiments to generate a monitoring image character feature index such as 23.32.
[0148] Step S505: determining whether the monitoring image person feature index is greater than or equal to a preset monitoring image person determination feature index;
[0149] Specifically, for example, it is determined whether the monitoring image person feature index, such as 23.32, is greater than or equal to a preset monitoring image person determination feature index, such as 56.
[0150] Step S506: When it is determined that the monitoring image person feature index is greater than or equal to the preset monitoring image person feature determination index, a facial image confirmation operation is performed.
[0151] Specifically, for example, when it is determined that the monitoring image character feature index, such as 58.36, is greater than or equal to the preset monitoring image character feature index, such as 56, the facial image confirmation operation is performed.
[0152] This embodiment performs cluster calculation and Gaussian distribution on the monitoring image information, and calculates it with the Gaussian distribution set of conventional monitoring image features through a preset image feature error calculation formula, thereby ensuring that within the allowable error range, matching and comparison based on deep data relationships are achieved, providing accuracy while reducing the impact of data overfitting. The cluster analysis classifies the features while avoiding the influence of light and shadow and natural movement on the objects, achieving a low-sensitivity response to background changes, and improving the detection pass rate of objects or people.
[0153] In one embodiment of the present specification, the image feature error calculation formula is specifically:
[0154]
[0155] E is the character feature index of the monitoring image, Extract the feature value of the i-th monitored image in the Gaussian distribution set for the monitored image feature extraction. The weight information of the i-th monitored image feature extraction value in the Gaussian distribution set of the monitored image feature extraction is: is the ith conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set, is the weight information of the i-th conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set, is the error adjustment item of the i-th conventional monitoring image feature value in the conventional monitoring image feature Gaussian distribution set generated according to the current period, θ is the adjustment item, o is the average change rate of the historical monitoring extracted image feature Gaussian distribution set generated according to the historical monitoring image information, σ is the period adjustment item generated according to the time information, It is a correction item for monitoring the character feature index of the image.
[0156] This embodiment provides an image feature error calculation formula, which fully considers the i-th monitoring extracted image feature value in the monitoring extracted image feature Gaussian distribution set. The weight information of the i-th monitored image feature value extracted in the Gaussian distribution set of the monitored image feature extraction The i-th conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features Weight information of the ith conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features The error adjustment term of the i-th conventional monitoring image feature value in the Gaussian distribution set of conventional monitoring image features generated in the current period The adjustment term θ, the average change rate o of the historical monitoring extracted image feature Gaussian distribution set generated according to the historical monitoring image information, the period adjustment term σ generated according to the time information, and the interaction relationship between them form a functional relationship And by monitoring the correction term of the image character feature index Make corrections to provide reliable data support.
[0157] In one embodiment of the present specification, the generation of a Gaussian distribution set of conventional monitoring image features includes the following steps:
[0158] Step S507: Acquire conventional monitoring images under various circumstances;
[0159] Specifically, for example, conventional monitoring images are collected through cameras, such as image collection at different time periods, image collection under different weather conditions, and image collection to see whether there are people.
[0160] Step S508: constructing an m*n image extraction area;
[0161] Specifically, for example, when constructing a 40*50 image extraction area, the image proportion of a person will not be too high. Only when the person completely enters the picture will the image proportion increase.
[0162] Step S509: performing image extraction on the conventional monitoring image using the image extraction region to generate a conventional monitoring extracted image set;
[0163] Specifically, for example, the conventional monitoring image is cropped by image extraction area to generate a conventional monitoring extraction image set.
[0164] Step S5010: performing cluster analysis on the conventional surveillance extracted image set to generate a surveillance extracted image feature set;
[0165] Specifically, for example, clustering algorithms include K-MEANS algorithm, Gaussian mixture clustering algorithm and hierarchical clustering algorithm.
[0166] Step S5011: Perform Gaussian distribution calculation on the monitoring extracted image feature set to generate a conventional monitoring image feature Gaussian distribution set.
[0167] Specifically, for example, the monitoring extracted image feature set is calculated through multivariate Gaussian distribution to generate a conventional monitoring image feature Gaussian distribution set.
[0168] This embodiment analyzes conventional monitoring images under different circumstances, and extracts the depth data relationship implied behind the image through cluster analysis and Gaussian distribution calculation, thereby providing accurate depth data information for the detection and identification of monitoring image information obtained by real-time monitoring.
[0169] In one embodiment of the present specification, an intelligent video surveillance system includes:
[0170] at least one processor; and,
[0171] a memory communicatively connected to the at least one processor; wherein,
[0172] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute an intelligent video surveillance method as described in any one of the above items.
[0173] The present invention compares the color change rate of the image information to be detected with the color change rate of the monitoring image information in different states, thereby judging whether a moving object appears, thereby determining whether to further perform a target recognition operation. At the same time, in the process of judging whether a moving object appears, the image information of the area where the color change rate appears in the monitoring image information is extracted and recognized, thereby reducing the computational complexity of the target-based recognition algorithm, thereby reducing the requirements for hardware, providing high-precision depth data, avoiding misjudgment caused by light and shadow and natural effects, and improving practicality.
[0174] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0175] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. An intelligent video monitoring method, characterized in that: The following steps are involved: Step S1: Control the high-definition camera to perform image acquisition at a preset angle to obtain a conventional monitoring image set; Step S2: constructing an M*N image extraction region, and using the image extraction region to perform a color change rate recording operation on a conventional monitoring image set and perform time period marking, thereby obtaining conventional monitoring color change rate recording data; wherein, step S2 includes: Construct an M*N image extraction area; Performing image extraction on a conventional monitoring image set using an image extraction region to generate a conventional monitoring image extraction region set; According to the conventional monitoring image extraction area set, the image color change rate calculation formula is used to calculate, generate the conventional monitoring image color change rate and perform the recording operation; wherein, the image color change rate calculation formula is as follows: is the color change rate of the conventional monitoring image, The conventional monitoring image extraction area is the first Pixel information, The conventional monitoring image extraction area is the first The weight information of each pixel point, Extract pixel adjustment items for a set of regions for regular surveillance images generated based on weather changes, Extracting weight information of temporal information of region sets for conventional surveillance images, Extract the deviation adjustment term of the region set for the conventional surveillance image, Extracting temporal information of region sets for regular surveillance images, It is the correction item for the color change rate of the conventional monitoring image; Acquire current time information, and mark the color change rate of the conventional monitoring image according to the current time information, so as to obtain the conventional monitoring color change rate record data; Step S3: acquiring monitoring image information in real time, and performing image extraction through the image extraction area to generate image area information to be determined; including: marking the monitoring image extraction area information for a period according to the time information of the monitoring image information to generate image area information to be determined; Step S4: performing correction calculation according to the image area information to be judged and the preset time period adjustment parameters to generate the color change rate of the image to be judged; wherein step S4 includes: The color change rate of the color to be judged is generated by calculating the color change calculation formula of the time period adjustment parameter according to the image area information to be judged and the preset time period adjustment parameter; The specific calculation formula for the time period adjustment color change is: is the color change rate to be determined, is the first The weight information of each pixel, is the first pixels, The adjustment items for the preset time period. The time period adjustment item for the preset time period adjustment parameter. is the pixel average correction term generated based on time information, Extracting temporal information of region sets for regular surveillance images, is the weight information of the error adjustment term, is the error adjustment term, is the total number of pixels of the image area to be judged, is the correction item of the color change rate to be determined; Step S5: Compare the color change rate of the image to be determined with the conventional monitoring color change rate record data. If it is determined that there is inconsistency, perform a facial image confirmation operation to provide a real-time monitoring operation.
2. The method according to claim 1, characterized in that Step S1 includes the following steps: Controlling the high-definition camera to perform a first image acquisition operation at a preset first angle to obtain a first conventional monitoring image set; Controlling the high-definition camera to perform a second image acquisition operation at a preset second angle to obtain a second conventional monitoring image set; The first conventional monitoring image set and the second conventional monitoring image set are combined to generate a conventional monitoring image set.
3. The method according to claim 1, characterized in that Step S5 includes the following steps: Constructing the image extraction area information to be determined according to the relative image position information of the image area information to be determined and the image extraction area; Performing an image extraction operation on the monitoring image information according to the image extraction area information to be judged, and generating monitoring image information to be judged; The preset outsider recognition model is used to identify the monitored image information to be judged, and the outsider visit information is generated for real-time monitoring operations, wherein the preset outsider recognition model is generated by a deep learning algorithm.
4. The method according to claim 1, characterized in that: Before executing the facial image confirmation operation in step S5, the following steps are included: Extract images based on relative position information of the image area to be judged, and generate a monitoring image set to be judged; Perform cluster analysis on the surveillance image set to be judged to generate a surveillance image feature set; Perform Gaussian distribution calculation on the monitoring extracted image feature set to generate a monitoring extracted image feature Gaussian distribution set; The Gaussian distribution set of the monitored extracted image features and the Gaussian distribution set of the conventional monitored image features are calculated using the image feature error calculation formula to generate the monitored image character feature index; the image feature error calculation formula is as follows: To monitor the image character feature index, Extract image features for monitoring Gaussian distribution Monitor and extract image feature values. Extract image features for monitoring Gaussian distribution concentration The weight information of the monitored extracted image feature values, The Gaussian distribution of conventional monitoring image features is concentrated in The feature values of conventional monitoring images, The Gaussian distribution of conventional monitoring image features is concentrated in The weight information of the feature values of conventional monitoring images, The first Gaussian distribution of the conventional monitoring image features generated in the current period The error adjustment item of the feature value of the conventional monitoring image, For adjustment items, The average change rate of the Gaussian distribution set of historical monitoring extracted image features generated based on historical monitoring image information, is a period adjustment item generated based on time information. It is a correction item for monitoring the character feature index of the image; Determining whether the monitoring image person feature index is greater than or equal to a preset monitoring image person determination feature index; When it is determined that the monitoring image character feature index is greater than or equal to the preset monitoring image character determination feature index, the facial image confirmation operation is performed.
5. The method according to claim 4, characterized in that The generation of the Gaussian distribution set of conventional monitoring image features includes the following steps: Get regular surveillance images in a variety of situations; Construct m*n image extraction area; Performing image extraction on conventional monitoring images using the image extraction region to generate a conventional monitoring extracted image set; Perform cluster analysis on the conventional surveillance extracted image set to generate a surveillance extracted image feature set; The monitoring extracted image feature set is subjected to Gaussian distribution calculation to generate a conventional monitoring image feature Gaussian distribution set.
6. An intelligent video surveillance system, characterized in that: The system comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute an intelligent video surveillance method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Behavioral recognition system
CN101622652A
Method for quick vehicle type recognition under video monitoring mode
CN101783076A
Multi-target tracking method integrating obvious characteristics and block division templates
CN104091348A
Color threshold method used to recognize the electrical symbols of the target object area in the electric power monitoring
CN109117764A
Moving human body detection and recognition method based on video image processing technology
CN110414342A
