Remote real-time monitoring control system and control method based on video monitoring camera
By introducing video collection, image extraction, pre-processing, feature point extraction and abnormal behavior detection units into the video surveillance system, the problems of low processing efficiency and poor image quality of the traditional system are solved, and the monitoring effect of high accuracy and timely alarm is achieved. .
Patent Information
- Application Number
- CN202410876906.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-02
AI Technical Summary
Traditional video surveillance systems have low processing efficiency and poor image quality, which can easily lead to misjudgments and missed judgments. They lack feature point extraction and abnormal behavior detection functions, and cannot achieve comprehensive monitoring and timely alarms.
Design a remote real-time monitoring and control system based on video surveillance cameras, including video collection, image extraction, image preprocessing, feature point extraction, target detection and abnormal behavior detection units. Target recognition and abnormal alarm are achieved through feature point extraction and optical flow histogram analysis. .
It improves the processing efficiency and image quality of the monitoring system, enhances the accuracy of target recognition and tracking, detects and alerts abnormal behaviors in a timely manner, and improves the intelligence and security of the monitoring system.
Smart Images

Figure CN118413637B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of real-time video monitoring, and in particular to a remote real-time monitoring control system and a control method based on a video monitoring camera. Background Art
[0002] A video surveillance camera is a device used to shoot, record and transmit video signals in real time. It is usually used to monitor and record activities in a specific area to provide security protection, monitoring management, event recording and other functions. Video surveillance cameras can be installed in various places, such as commercial buildings, public places, residential areas, traffic intersections, etc., to monitor and record activities in the venue. With the development of technology, modern video surveillance cameras can not only provide high-definition video images, but also have intelligent analysis functions such as motion detection, face recognition, license plate recognition, etc., to improve the efficiency and accuracy of the monitoring system.
[0003] Traditional systems need to process a large amount of raw data, resulting in low processing efficiency. Traditional systems may not have undergone effective pre-processing, and the image quality is poor, which can easily lead to misjudgments and missed judgments. Traditional systems may lack functions such as feature point extraction, resulting in low accuracy in target recognition and tracking. Traditional systems may lack effective abnormal behavior detection and alarm functions, and are unable to detect and handle abnormal situations in a timely manner. Traditional systems may not be able to achieve comprehensive monitoring of the target area, and their emergency handling capabilities are low. Summary of the invention
[0004] The purpose of the present invention is to solve the problems existing in the background technology and to propose a remote real-time monitoring control system and a control method based on a video monitoring camera.
[0005] The technical solution of the present invention: a remote real-time monitoring and control system based on a video surveillance camera, including a feature point extraction unit, a target detection unit, an abnormal behavior detection unit, a large-screen display unit and an abnormal alarm unit, and also includes:
[0006] A video acquisition unit, wherein the video acquisition unit is used to acquire video of a monitoring target by installing a video surveillance camera in the target area, thereby obtaining a target monitoring video, and transmitting the target monitoring video to the image extraction unit and the large-screen display unit;
[0007] An image extraction unit, wherein the image extraction unit receives the target monitoring video transmitted by the video acquisition unit, and extracts the target monitoring image from the target monitoring video according to the number of video frames, thereby obtaining a target monitoring image sequence, and transmits the target monitoring image sequence to the image preprocessing unit;
[0008] An image preprocessing unit receives the target monitoring image sequence transmitted by the image extraction unit, and performs image preprocessing operations on the target monitoring image sequence to obtain a standard target monitoring image sequence, wherein the image preprocessing operations include image denoising and image shadow removal operations, and the standard target monitoring image sequence is transmitted to the feature point extraction unit.
[0009] Preferably, the feature point extraction unit receives the standard target monitoring image sequence transmitted by the image preprocessing unit, extracts a plurality of feature points of the standard target monitoring image sequence by a feature point extraction method, and transmits the plurality of feature points to the target detection unit;
[0010] The target detection unit receives the multiple feature points transmitted by the feature point extraction unit, extracts moving targets in the standard target monitoring image sequence based on the multiple feature points, and transmits the moving targets to the abnormal behavior detection unit.
[0011] Preferably, the abnormal behavior detection unit receives the moving target transmitted by the target detection unit, and extracts the moving direction of the optical flow points in the moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points in the moving target. When the degree of confusion of consecutive preset frames of the moving target exceeds a preset threshold, it is determined that the moving target has abnormal behavior, and the moving target determined to have abnormal behavior is transmitted to the abnormal alarm unit;
[0012] The abnormal alarm unit receives the moving target with abnormal behavior transmitted by the abnormal behavior detection unit, and captures the image of the moving target with abnormal behavior to obtain an abnormal image, and transmits the abnormal image to the smart terminal, and issues an abnormal alarm through the smart terminal;
[0013] The large-screen display unit receives the target monitoring video transmitted by the video acquisition unit, and displays the target monitoring video through the smart terminal.
[0014] Preferably, in the image preprocessing unit, the image denoising operation includes the following steps:
[0015] A1. Performing superpixel segmentation on the standard target monitoring image sequence using a simple linear iterative clustering algorithm, thereby obtaining a plurality of superpixels, and each of the plurality of superpixels is uniquely labeled;
[0016] A2. Set a search box of multiple sizes, set a superpixel operator in the search box, and use the superpixel operator to determine whether the target pixel point to be weighted acts on the same superpixel point, so as to determine the position of the target pixel point. The expression for determining the position of the target pixel point is as follows:
[0017] ;
[0018] in, represents the position of the target pixel, Indicates whether the target pixel and the center pixel in the search box are located in the same superpixel operator. If they are located in the same superpixel operator, then The value is 1, otherwise, The value is greater than 1;
[0019] A3. Determine whether the target pixel is in the same superpixel operator based on the position of the target pixel;
[0020] A4. If within the same superpixel operator, the adjacent pixels of the target pixel are updated according to the original weights; otherwise, the original weights are assigned to 0 to obtain new weights, and the adjacent pixels of the target pixel are updated by the new weights to skip the target pixel.
[0021] Preferably, in the image preprocessing unit, image shadow elimination includes the following steps:
[0022] B1. Convert the input image from RGB to HSV, calculate the average intensity of the channel, and obtain the difference between the intensity of each pixel and the average value. The difference between the intensity of each pixel and the average value is expressed as follows:
[0023] ;
[0024] in, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x;
[0025] B2. Calculate a correction value based on the difference between the intensity of each pixel and the average value. The correction value expression is as follows:
[0026] ;
[0027] in, represents the correction value at x, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x;
[0028] B3. Based on the entire intensity range and the correction value, the final correction value is obtained by the histogram stretching technique. The final correction value expression is as follows:
[0029] ;
[0030] in, represents the final correction value at x, represents the maximum value of intensity, represents the correction value at x, and Indicates the maximum and minimum values of the correction value.
[0031] Preferably, the feature point extraction method in the feature point extraction unit comprises the following steps:
[0032] C1. Define the moment of the local image block of the feature point. The moment expression of the local image block is as follows:
[0033] ;
[0034] in, represents the moment of the local image block, and Indicates a value of 0 or 1. Represents the gray value of the pixel image. and Represents the coordinates of the pixel;
[0035] C2. Within the radius R, define the local image moment along the x and y coordinate axes. The expression of the local image moment in the x coordinate axis direction is as follows:
[0036] ;
[0037] in, represents the local image moment in the x-axis direction, Represents the gray value of the pixel image. Indicates the horizontal coordinate of the pixel;
[0038] The local image moment expression in the y-axis direction is as follows:
[0039] ;
[0040] in, Represents the moment of the local image block in the y-axis direction, Represents the gray value of the pixel image. Indicates the vertical coordinate of the pixel;
[0041] C3. Calculate the total grayscale value within the radius R based on the local image moments in the x and y coordinate axis directions. The total grayscale value expression is as follows:
[0042] ;
[0043] in, Represents the total grayscale value within the radius R. Represents the gray value of the pixel image;
[0044] C4. Calculate the centroid of the image based on the local image moments in the x and y coordinate axis directions and the sum of the grayscale values. The centroid expression is as follows:
[0045] ;
[0046] in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively;
[0047] C5. Calculate the direction vector of the image's centroid pointing to the centroid and the rotation angle of the direction vector based on the image's centroid. The rotation angle expression is as follows:
[0048] ;
[0049] in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively;
[0050] C6. Find feature points using binary descriptors based on the rotation angle.
[0051] Preferably, in the target detection unit, extracting the moving target in the standard target monitoring image sequence based on the multiple feature points includes the following steps:
[0052] D1, marking the multiple feature points and the local pixel points of the standard target monitoring image as P and Q sets respectively;
[0053] D2, taking the P set as the benchmark set, traversing all the points in the benchmark set, and using the Euclidean distance as the similarity criterion, finding the matching points in the Q set corresponding to the benchmark set, recorded as the Z(P,Q) set;
[0054] D3, taking the Q set as the reference set, traversing all the points in the reference set, and using the Euclidean distance as the similarity criterion, finding the matching points in the P set corresponding to the reference set, recorded as the W(Q,P) set;
[0055] D4. Compare all the matching points in the Z(P,Q) set and the W(Q,P) set. If the matching points have the same corresponding relationship in both sets, the two matching points are used as standard matching point pairs, thereby obtaining a standard matching point pair set.
[0056] D5, searching for the maximum inner point set that satisfies the correct model in the standard matching point pair set in an iterative calculation manner through the RANSAC algorithm;
[0057] D6. Matching the moving target based on the maximum interior point set.
[0058] Preferably, in the abnormal behavior detection unit, the entropy of the histogram includes directional entropy and amplitude entropy, and the directional entropy expression is as follows:
[0059] ;
[0060] in, represents the directional entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates the number of direction changes;
[0061] The amplitude entropy expression is as follows:
[0062] ;
[0063] in, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates amplitude.
[0064] Preferably, in the abnormal behavior detection unit, the disorder degree is expressed as follows:
[0065] ;
[0066] in, represents directional entropy, represents the directional entropy, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Represents the mean optical flow velocity of feature points, Represents the optical flow velocity of the jth feature point.
[0067] The technical solution of the present invention is a remote real-time monitoring control method based on a video surveillance camera, which is applicable to the above-mentioned remote real-time monitoring control system based on a video surveillance camera, and comprises the following steps:
[0068] S1, by installing a video surveillance camera in the target area to collect video of the surveillance target, obtain the target surveillance video, and transmit it to the image extraction unit and the large-screen display unit;
[0069] S2, the image extraction unit receives the target monitoring video transmitted by the video acquisition unit, extracts the target monitoring image according to the number of video frames, generates a target monitoring image sequence, and transmits it to the image preprocessing unit;
[0070] S3, the image preprocessing unit receives the target monitoring image sequence transmitted by the image extraction unit, performs image preprocessing operations, including denoising and shadow removal, generates a standard target monitoring image sequence, and transmits it to the feature point extraction unit;
[0071] S4, the feature point extraction unit receives the standard target monitoring image sequence transmitted by the image preprocessing unit, extracts multiple feature points by a feature point extraction method, and transmits them to the target detection unit;
[0072] S5, the target detection unit receives the multiple feature points transmitted by the feature point extraction unit, extracts the moving target in the standard target monitoring image sequence based on the feature points, and transmits it to the abnormal behavior detection unit;
[0073] S6, the abnormal behavior detection unit receives the moving target transmitted by the target detection unit, represents the moving direction of the optical flow points in the extracted moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points. When the degree of confusion of the moving target for consecutive preset frames exceeds a preset threshold, it is determined that the moving target has abnormal behavior and transmits it to the abnormal alarm unit;
[0074] S7, the abnormal alarm unit receives the moving target with abnormal behavior, captures the image of the moving target, generates an abnormal image, transmits the image to the smart terminal, and issues an abnormal alarm through the smart terminal;
[0075] S8. The large-screen display unit receives the target monitoring video transmitted by the video acquisition unit, and displays the target monitoring video through the smart terminal.
[0076] Compared with the prior art, the above technical solution of the present invention has the following beneficial technical effects:
[0077] 1. The present invention realizes video acquisition of the monitoring target through the video acquisition unit, provides the necessary video data source for subsequent monitoring analysis, extracts the target monitoring image according to the video frame number through the image extraction unit, helps to reduce the data volume, improves the subsequent processing efficiency, and ensures the consistency and accuracy of the image sequence, performs image preprocessing operations through the image preprocessing unit, can improve the image quality, reduce misjudgment and missed judgment, and enhance the accuracy of subsequent feature extraction and target detection, and extracts feature points in the image through the feature point extraction unit, which helps to describe the characteristics of the target motion, thereby realizing accurate recognition and tracking of the target.
[0078] 2. The present invention realizes detection and recognition of moving targets based on the movement of feature points in the image sequence through the target detection unit, can effectively distinguish between targets and backgrounds, and improve the accuracy and practicality of the monitoring system. The abnormal behavior detection unit uses the optical flow histogram to analyze the movement direction and degree of confusion of the moving target, and can timely discover and alarm abnormal behaviors, thereby improving the intelligence and safety of the monitoring system. Once abnormal behavior is detected by the abnormal alarm unit, an alarm is sent to the smart terminal in time, which helps relevant personnel to take measures in time to prevent and reduce safety risks. The large-screen display unit uses the smart terminal to display the monitoring video, thereby realizing comprehensive monitoring of the target area and improving the monitoring effect and emergency handling capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 A schematic diagram of the overall system flow in an embodiment of the present invention;
[0080] Figure 2 A schematic diagram of a process flow of a denoising operation in an embodiment of the present invention;
[0081] Figure 3 A schematic diagram of a process for eliminating image shadows in an embodiment of the present invention;
[0082] Figure 4 A schematic diagram of a flow chart of a feature point extraction method in an embodiment of the present invention;
[0083] Figure 5 A schematic diagram of a process for extracting a moving target in an embodiment of the present invention;
[0084] Figure 6 The figure is a flow chart of an overall method in one embodiment of the present invention.
[0085] Figure numerals: 1. Video acquisition unit; 2. Image extraction unit; 3. Image preprocessing unit; 4. Feature point extraction unit; 5. Target detection unit; 6. Abnormal behavior detection unit; 7. Large screen display unit; 8. Abnormal alarm unit. DETAILED DESCRIPTION
[0086] Embodiment 1, as Figure 1 As shown, the remote real-time monitoring and control system based on the video surveillance camera proposed in the present invention includes a feature point extraction unit 4, a target detection unit 5, an abnormal behavior detection unit 6, a large screen display unit 7 and an abnormal alarm unit 8, and also includes:
[0087] The video acquisition unit 1 is used to acquire video of the monitoring target by installing a video surveillance camera in the target area, thereby obtaining the target monitoring video, and transmitting the target monitoring video to the image extraction unit 2 and the large-screen display unit 7;
[0088] The image extraction unit 2 receives the target monitoring video transmitted by the video acquisition unit 1, and extracts the target monitoring image from the target monitoring video according to the number of video frames, thereby obtaining a target monitoring image sequence, and transmits the target monitoring image sequence to the image preprocessing unit 3;
[0089] The image preprocessing unit 3 receives the target monitoring image sequence transmitted by the image extraction unit 2, and performs image preprocessing operations on the target monitoring image sequence to obtain a standard target monitoring image sequence. The image preprocessing operations include image denoising and image shadow removal operations. The standard target monitoring image sequence is transmitted to the feature point extraction unit 4.
[0090] In the present invention, extracting a target monitoring image from a target monitoring video according to the number of video frames includes:
[0091] The target surveillance video needs to go through the process of video decoding to convert the video data into an image frame sequence;
[0092] Determine the number of video frames to be extracted based on the set extraction frame rate. The frame rate refers to the number of image frames played per second. Common video frame rates include 25fps and 30fps.
[0093] Calculate the total number of frames to be extracted based on the total length of the video and the set extraction frame rate;
[0094] According to the calculated total number of frames, determine the interval between frames for extraction;
[0095] According to the determined frame number index, image frames are extracted at set intervals in the target monitoring video, and the extracted image frames are saved as image files or directly transmitted to the image preprocessing unit 3 for subsequent processing.
[0096] In an optional embodiment, the feature point extraction unit 4 receives the standard target monitoring image sequence transmitted by the image preprocessing unit 3, extracts multiple feature points of the standard target monitoring image sequence by a feature point extraction method, and transmits the multiple feature points to the target detection unit 5;
[0097] The target detection unit 5 receives the multiple feature points transmitted by the feature point extraction unit 4 , extracts moving targets in the standard target monitoring image sequence based on the multiple feature points, and transmits the moving targets to the abnormal behavior detection unit 6 .
[0098] In an optional embodiment, the abnormal behavior detection unit 6 receives the moving target transmitted by the target detection unit 5, and represents the moving direction of the optical flow points in the moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points in the moving target. When the degree of confusion of the moving target for consecutive preset frames exceeds a preset threshold, it is determined that the moving target has abnormal behavior, and the moving target determined to have abnormal behavior is transmitted to the abnormal alarm unit 8;
[0099] The abnormal alarm unit 8 receives the moving target with abnormal behavior transmitted by the abnormal behavior detection unit 6, and captures the image of the moving target with abnormal behavior to obtain an abnormal image, and transmits the abnormal image to the smart terminal, and issues an abnormal alarm through the smart terminal;
[0100] The large-screen display unit 7 receives the target monitoring video transmitted by the video acquisition unit 1, and displays the target monitoring video through the intelligent terminal.
[0101] It should be noted that a smart terminal generally refers to a terminal device with computing and communication capabilities, and common forms include smart phones, tablet computers, smart TVs, etc. In a video surveillance system, a smart terminal can be a smart phone or tablet computer with a specific application installed, which is used to receive, display and process data and information from the surveillance system.
[0102] Embodiment 2, as Figure 2-5 As shown, the remote real-time monitoring control system based on the video surveillance camera proposed by the present invention, compared with the first embodiment, this embodiment also includes: in the image preprocessing unit 3, the image denoising operation includes the following steps:
[0103] A1. Use a simple linear iterative clustering algorithm to perform superpixel segmentation on the standard target monitoring image sequence, thereby obtaining multiple superpixels, and each of the multiple superpixels is uniquely labeled;
[0104] A2. Set search boxes of multiple sizes, set superpixel operators in the search boxes, and use the superpixel operators to determine whether the target pixel points to be weighted act on the same superpixel points, thereby determining the position of the target pixel points. The expression for determining the position of the target pixel points is as follows:
[0105] ;
[0106] in, Indicates the location of the target pixel. Indicates whether the target pixel and the center pixel in the search box are located in the same superpixel operator. If they are located in the same superpixel operator, then The value is 1, otherwise, The value is greater than 1;
[0107] A3, judging whether the target pixel is in the same superpixel operator based on the position of the target pixel;
[0108] A4. If they are in the same superpixel operator, the neighboring pixels of the target pixel are updated according to the original weights. Otherwise, the original weights are assigned to 0 to obtain new weights, and the neighboring pixels of the target pixel are updated with the new weights, thereby skipping the target pixel.
[0109] In this embodiment, the superpixel operator is a technology used for image segmentation, which can be used to determine the position of a target pixel in an image and update the neighboring pixels of the target pixel according to a position expression.
[0110] In an optional embodiment, in the image preprocessing unit 3, image shadow elimination includes the following steps:
[0111] B1. Convert the input image from RGB to HSV, calculate the average intensity of the channel, and obtain the difference between the intensity of each pixel and the average value. The difference between the intensity of each pixel and the average value is expressed as follows:
[0112] ;
[0113] in, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x;
[0114] B2. Calculate the correction value based on the difference between the intensity of each pixel and the average value. The correction value expression is as follows:
[0115] ;
[0116] in, represents the correction value at x, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x;
[0117] B3. Based on the entire intensity range and correction value, the final correction value is obtained through the histogram stretching technology. The final correction value expression is as follows:
[0118] ;
[0119] in, represents the final correction value at x, represents the maximum value of intensity, represents the correction value at x, and Indicates the maximum and minimum values of the correction value.
[0120] It should be noted that RGB and HSV are two different color representations. RGB stands for red, green, and blue, and is an additive color model used to describe the mixing method of colors in an image. HSV stands for hue, saturation, and brightness, and is also an additive color model, but it is more basic than RGB, describing the hue, saturation, and brightness of the color respectively. Converting the input image from RGB to HSV helps to extract the color information in the image and calculate the deviation of the intensity of each pixel from the average intensity. This is done by converting the RGB image to the HSV color space, and then calculating the deviation of the intensity of each pixel from the average intensity.
[0121] In an optional embodiment, the feature point extraction method in the feature point extraction unit 4 includes the following steps:
[0122] C1. Define the moment of the local image block of the feature point. The moment expression of the local image block is as follows:
[0123] ;
[0124] in, represents the moment of the local image block, and Indicates a value of 0 or 1. Represents the gray value of the pixel image. and Represents the coordinates of the pixel;
[0125] C2. Within the radius R, define the local image moment along the x and y coordinate axes. The expression of the local image moment in the x coordinate axis is as follows:
[0126] ;
[0127] in, represents the local image moment in the x-axis direction, Represents the gray value of the pixel image. Indicates the horizontal coordinate of the pixel;
[0128] The expression of the local image moment in the y-axis direction is as follows:
[0129] ;
[0130] in, Represents the moment of the local image block in the y-axis direction, Represents the gray value of the pixel image. Indicates the vertical coordinate of the pixel;
[0131] C3. Calculate the total grayscale value within the radius R based on the local image moment in the x and y coordinate axis directions. The total grayscale value expression is as follows:
[0132] ;
[0133] in, Represents the total grayscale value within the radius R. Represents the gray value of the pixel image;
[0134] C4. Calculate the centroid of the image based on the sum of the local image moments and grayscale values in the x and y coordinate axis directions. The centroid expression is as follows:
[0135] ;
[0136] in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively;
[0137] C5. Based on the image's centroid, calculate the direction vector from the image's centroid to the centroid and the rotation angle of the direction vector. The rotation angle expression is as follows:
[0138] ;
[0139] in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively;
[0140] C6. Find feature points using binary descriptors based on the rotation angle.
[0141] It should be noted that the binary descriptor is a compressed descriptor that uses a set of fixed-length binary codes to represent the features of an image.
[0142] In an optional embodiment, in the target detection unit 5, extracting a moving target from a standard target monitoring image sequence based on a plurality of feature points includes the following steps:
[0143] D1. Mark multiple feature points and local pixels of the standard target monitoring image as P and Q sets respectively;
[0144] D2, take the P set as the benchmark set, traverse all the points in the benchmark set, and use the Euclidean distance as the similarity criterion to find the matching points in the Q set corresponding to the benchmark set, recorded as the Z(P,Q) set;
[0145] D3, take the Q set as the benchmark set, traverse all the points in the benchmark set, and use the Euclidean distance as the similarity criterion to find the matching points in the P set corresponding to the benchmark set, recorded as the W(Q,P) set;
[0146] D4. Compare all the matching points in the Z(P,Q) set and the W(Q,P) set. If the matching points have the same corresponding relationship in both sets, the two matching points are taken as standard matching point pairs, thereby obtaining a standard matching point pair set.
[0147] D5. Use the RANSAC algorithm to iteratively calculate the maximum set of internal points that satisfy the correct model in the set of standard matching point pairs;
[0148] D6. Matching moving targets based on the maximum interior point set.
[0149] It should be noted that the RANSAC (Random Sample Consensus) algorithm is a method for implementing a feature point-based image registration algorithm. It randomly selects a pair of matching points and adds them to the set of matching point pairs, and then repeats this process until a stopping condition is reached. The stopping condition can be a user-defined threshold or a threshold implemented by the algorithm itself.
[0150] In an optional embodiment, in the abnormal behavior detection unit 6, the entropy of the histogram includes directional entropy and amplitude entropy, and the directional entropy expression is as follows:
[0151] ;
[0152] in, represents the directional entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates the number of direction changes;
[0153] The amplitude entropy expression is as follows:
[0154] ;
[0155] in, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates amplitude.
[0156] In an optional embodiment, in the abnormal behavior detection unit 6, the disorder degree expression is as follows:
[0157] ;
[0158] in, represents the directional entropy, represents the directional entropy, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Represents the mean optical flow velocity of feature points, Represents the optical flow velocity of the jth feature point.
[0159] Embodiment three, as Figure 6 As shown, the remote real-time monitoring control method based on a video surveillance camera proposed in the present invention is applicable to the above-mentioned remote real-time monitoring control system based on a video surveillance camera, and comprises the following steps:
[0160] S1, by installing a video surveillance camera in the target area to collect video of the surveillance target, obtain the target surveillance video, and transmit it to the image extraction unit 2 and the large-screen display unit 7;
[0161] S2, the image extraction unit 2 receives the target monitoring video transmitted by the video acquisition unit 1, extracts the target monitoring image according to the number of video frames, generates a target monitoring image sequence, and transmits it to the image preprocessing unit 3;
[0162] S3, the image preprocessing unit 3 receives the target monitoring image sequence transmitted by the image extraction unit 2, performs image preprocessing operations, including denoising and shadow removal, generates a standard target monitoring image sequence, and transmits it to the feature point extraction unit 4;
[0163] S4, the feature point extraction unit 4 receives the standard target monitoring image sequence transmitted by the image preprocessing unit 3, extracts multiple feature points by a feature point extraction method, and transmits them to the target detection unit 5;
[0164] S5, the target detection unit 5 receives the multiple feature points transmitted by the feature point extraction unit 4, extracts the moving target in the standard target monitoring image sequence based on the feature points, and transmits it to the abnormal behavior detection unit 6;
[0165] S6, the abnormal behavior detection unit 6 receives the moving target transmitted by the target detection unit 5, represents the moving direction of the optical flow points in the extracted moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points. When the degree of confusion of the moving target for consecutive preset frames exceeds a preset threshold, it is determined that the moving target has abnormal behavior and transmits it to the abnormal alarm unit 8;
[0166] S7, the abnormal alarm unit 8 receives the moving target with abnormal behavior, captures the image of the moving target, generates an abnormal image, transmits the image to the smart terminal, and issues an abnormal alarm through the smart terminal;
[0167] S8. The large-screen display unit 7 receives the target monitoring video transmitted by the video acquisition unit 1, and displays the target monitoring video through the smart terminal.
[0168] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge scope of technicians in the relevant technical field without departing from the purpose of the present invention.
Claims
1. A remote real-time monitoring and control system based on a video surveillance camera, comprising a feature point extraction unit (4), a target detection unit (5), an abnormal behavior detection unit (6), a large screen display unit (7) and an abnormal alarm unit (8), characterized in that: A video acquisition unit (1), the video acquisition unit (1) being used to acquire video of a monitoring target by installing a video monitoring camera in a target area, thereby obtaining a target monitoring video, and transmitting the target monitoring video to an image extraction unit (2) and a large-screen display unit (7); An image extraction unit (2), the image extraction unit (2) receiving the target monitoring video transmitted by the video acquisition unit (1), and extracting a target monitoring image from the target monitoring video according to the number of video frames, thereby obtaining a target monitoring image sequence, and transmitting the target monitoring image sequence to an image preprocessing unit (3); An image preprocessing unit (3), the image preprocessing unit (3) receiving the target monitoring image sequence transmitted by the image extraction unit (2), and performing an image preprocessing operation on the target monitoring image sequence, thereby obtaining a standard target monitoring image sequence, the image preprocessing operation including image denoising and image shadow removal operations, and transmitting the standard target monitoring image sequence to a feature point extraction unit (4); The feature point extraction unit (4) receives the standard target monitoring image sequence transmitted by the image preprocessing unit (3), extracts a plurality of feature points of the standard target monitoring image sequence by using a feature point extraction method, and transmits the plurality of feature points to the target detection unit (5); The target detection unit (5) receives the plurality of feature points transmitted by the feature point extraction unit (4), extracts moving targets from the standard target monitoring image sequence based on the plurality of feature points, and transmits the moving targets to the abnormal behavior detection unit (6); The abnormal behavior detection unit (6) receives the moving target transmitted by the target detection unit (5), and extracts the moving direction of the optical flow points in the moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points in the moving target. When the degree of confusion of consecutive preset frames of the moving target exceeds a preset threshold, it is determined that the moving target has abnormal behavior, and the moving target determined to have abnormal behavior is transmitted to the abnormal alarm unit (8); The abnormal alarm unit (8) receives the moving target with abnormal behavior transmitted by the abnormal behavior detection unit (6), captures an image of the moving target with abnormal behavior to obtain an abnormal image, transmits the abnormal image to the smart terminal, and issues an abnormal alarm through the smart terminal; The large-screen display unit (7) receives the target monitoring video transmitted by the video acquisition unit (1), and displays the target monitoring video through the smart terminal; In the image preprocessing unit (3), the image denoising operation comprises the following steps: A1. Performing superpixel segmentation on the standard target monitoring image sequence using a simple linear iterative clustering algorithm, thereby obtaining a plurality of superpixels, and each of the plurality of superpixels is uniquely labeled; A2. Set a search box of multiple sizes, set a superpixel operator in the search box, and use the superpixel operator to determine whether the target pixel point to be weighted acts on the same superpixel point, so as to determine the position of the target pixel point. The expression for determining the position of the target pixel point is as follows: ; in, represents the position of the target pixel, Indicates whether the target pixel and the center pixel in the search box are located in the same superpixel operator. If they are located in the same superpixel operator, then The value is 1, otherwise, The value is greater than 1; A3. Determine whether the target pixel is in the same superpixel operator based on the position of the target pixel; A4. If within the same superpixel operator, the adjacent pixels of the target pixel are updated according to the original weights; otherwise, the original weights are assigned to 0 to obtain new weights, and the adjacent pixels of the target pixel are updated by the new weights to skip the target pixel.
2. The remote real-time monitoring control system based on a video surveillance camera according to claim 1 is characterized in that: In the image preprocessing unit (3), image shadow elimination includes the following steps: B1. Convert the input image from RGB to HSV, calculate the average intensity of the channel, and obtain the difference between the intensity of each pixel and the average value. The difference between the intensity of each pixel and the average value is expressed as follows: ; in, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x; B2. Calculate a correction value based on the difference between the intensity of each pixel and the average value. The correction value expression is as follows: ; in, represents the correction value at x, represents the intensity deviation from the average intensity level E, represents the pixel intensity at x; B3. Based on the entire intensity range and the correction value, the final correction value is obtained by the histogram stretching technique. The final correction value expression is as follows: ; in, represents the final correction value at x, represents the maximum value of intensity, represents the correction value at x, and Indicates the maximum and minimum values of the correction value.
3. The remote real-time monitoring and control system based on a video surveillance camera according to claim 1 is characterized in that: The feature point extraction method in the feature point extraction unit (4) comprises the following steps: C1. Define the moment of the local image block of the feature point. The moment expression of the local image block is as follows: ; in, represents the moment of the local image block, and Indicates a value of 0 or 1. Represents the gray value of the pixel image. and Represents the coordinates of the pixel; C2. Within the radius R, define the local image moment along the x and y coordinate axes. The expression of the local image moment in the x coordinate axis direction is as follows: ; in, represents the local image moment in the x-axis direction, Represents the gray value of the pixel image. Indicates the horizontal coordinate of the pixel; The local image moment expression in the y-axis direction is as follows: ; in, Represents the moment of the local image block in the y-axis direction, Represents the gray value of the pixel image. Indicates the vertical coordinate of the pixel; C3. Calculate the total grayscale value within the radius R based on the local image moments in the x and y coordinate axis directions. The total grayscale value expression is as follows: ; in, Represents the total grayscale value within the radius R. Represents the gray value of the pixel image; C4. Calculate the centroid of the image based on the local image moments in the x and y coordinate axis directions and the sum of the grayscale values. The centroid expression is as follows: ; in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively; C5. Calculate the direction vector of the image's centroid pointing to the centroid and the rotation angle of the direction vector based on the image's centroid. The rotation angle expression is as follows: ; in, Represents the total grayscale value within the radius R. represents the local image moment in the x-axis direction, represents the local image moment in the y-axis direction, and Represent the centroid of the x and y axes respectively; C6. Find feature points using binary descriptors based on the rotation angle.
4. The remote real-time monitoring control system based on a video surveillance camera according to claim 1 is characterized in that: In the target detection unit (5), extracting a moving target from the standard target monitoring image sequence based on the multiple feature points comprises the following steps: D1, marking the multiple feature points and the local pixel points of the standard target monitoring image as P and Q sets respectively; D2, taking the P set as the benchmark set, traversing all the points in the benchmark set, and using the Euclidean distance as the similarity criterion, finding the matching points in the Q set corresponding to the benchmark set, recorded as the Z(P,Q) set; D3, taking the Q set as the reference set, traversing all the points in the reference set, and using the Euclidean distance as the similarity criterion, finding the matching points in the P set corresponding to the reference set, recorded as the W(Q,P) set; D4. Compare all the matching points in the Z(P,Q) set and the W(Q,P) set. If the matching points have the same corresponding relationship in both sets, the two matching points are used as standard matching point pairs, thereby obtaining a standard matching point pair set. D5, searching for the maximum inner point set that satisfies the correct model in the standard matching point pair set in an iterative calculation manner through the RANSAC algorithm; D6. Matching the moving target based on the maximum interior point set.
5. The remote real-time monitoring and control system based on a video surveillance camera according to claim 1 is characterized in that: In the abnormal behavior detection unit (6), the entropy of the histogram includes directional entropy and amplitude entropy. The directional entropy expression is as follows: ; in, represents directional entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates the number of direction changes; The amplitude entropy expression is as follows: ; in, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Indicates amplitude.
6. The remote real-time monitoring and control system based on a video surveillance camera according to claim 5 is characterized in that: In the abnormal behavior detection unit (6), the chaos degree is expressed as follows: ; in, represents directional entropy, represents directional entropy, represents the amplitude entropy, represents the jth feature point, Indicates the number of valid optical flow points within the moving target, Represents the mean optical flow velocity of feature points, Represents the optical flow velocity of the jth feature point.
7. A remote real-time monitoring control method based on a video surveillance camera, which is applicable to a remote real-time monitoring control system based on a video surveillance camera according to any one of claims 1 to 6, characterized in that: The following steps are involved: S1, by installing a video surveillance camera in the target area to collect video of the surveillance target, obtain the target surveillance video, and transmit it to the image extraction unit (2) and the large-screen display unit (7); S2, the image extraction unit (2) receives the target monitoring video transmitted by the video acquisition unit (1), extracts the target monitoring image according to the number of video frames, generates a target monitoring image sequence, and transmits it to the image preprocessing unit (3); S3, the image preprocessing unit (3) receives the target monitoring image sequence transmitted by the image extraction unit (2), performs image preprocessing operations, including denoising and shadow removal, generates a standard target monitoring image sequence, and transmits it to the feature point extraction unit (4); S4, the feature point extraction unit (4) receives the standard target monitoring image sequence transmitted by the image preprocessing unit (3), extracts a plurality of feature points by a feature point extraction method, and transmits them to the target detection unit (5); S5, the target detection unit (5) receives the multiple feature points transmitted by the feature point extraction unit (4), extracts the moving target from the standard target monitoring image sequence based on the feature points, and transmits the moving target to the abnormal behavior detection unit (6); S6, the abnormal behavior detection unit (6) receives the moving target transmitted by the target detection unit (5), represents the moving direction of the optical flow points in the moving target in the form of an optical flow histogram, and uses the entropy of the histogram to represent the degree of confusion of the moving direction of the optical flow points. When the degree of confusion of the moving target for consecutive preset frames exceeds a preset threshold, it is determined that the moving target has abnormal behavior, and the abnormal behavior is transmitted to the abnormal alarm unit (8); S7, the abnormal alarm unit (8) receives the moving target with abnormal behavior, captures the image of the moving target, generates an abnormal image, transmits the image to the smart terminal, and issues an abnormal alarm through the smart terminal; S8. The large-screen display unit (7) receives the target monitoring video transmitted by the video acquisition unit (1), and displays the target monitoring video through the smart terminal.
Citation Information
Cited By
Locomotive remote emergency command monitoring device
CN224111489U
