Intelligent monitoring system based on intelligent computing
Intelligent computing technology is used to perform image preprocessing and vehicle vehicle identification in the urban road monitoring system, which solves the problems of poor image quality and low intelligence level in the existing technology, achieves fast and accurate determination and processing of illegal behaviors, and improves the efficiency of Traffic management efficiency.
Patent Information
- Application Number
- CN202410752890.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing urban road monitoring system handles vehicle violations, due to poor image quality and low intelligence level, it is difficult to determine and the accuracy is not high, and the network burden is heavy, which affects traffic regulations and travel experience.
Design a smart monitoring system based on intelligent computing. It uses the image pre-processing unit in the front-end sub-module to perform jitter elimination, shadow elimination and dynamic foreground extraction. It combines the CNN neural network to realize vehicle model recognition, builds a virtual model to analyze and determine violations, and Quickly process and publish response strategies in the cloud module.
It improves image quality and analysis accuracy, reduces data packet size and analysis time, improves the system's response speed and intelligence level, and quickly identifies and handles vehicle violations.
Smart Images

Figure CN118587902A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent road monitoring, and in particular to a smart monitoring system based on intelligent computing. Background Art
[0002] As urbanization continues, the number of cars in cities is increasing day by day, and the traffic pressure on urban roads is also increasing. The traffic volume on urban roads generally shows a cyclical change pattern. During the rush hour, there are morning and evening peaks on urban roads, and the traffic volume increases significantly. Under such circumstances, traffic accidents are very likely to occur when there are vehicles driving illegally, causing road congestion or even paralysis, seriously affecting the travel experience of citizens.
[0003] The existing urban roads are equipped with video surveillance facilities at the main traffic roads or road nodes to monitor and regulate the driving of vehicles; although the existing monitoring facilities have real-time collection functions, due to the complex traffic conditions (including weather conditions, traffic flow, lane intersections, etc.), the real-time video monitoring images are not clear, and image recognition analysis based on unclear images is time-consuming and laborious. In addition, the existing monitoring system is not intelligent enough to quickly process and respond to massive data, resulting in image processing results that often have time lags, which greatly reduces its value in regulating and guiding traffic. To this end, we provide a smart monitoring system based on intelligent computing. Summary of the invention
[0004] The purpose of the present invention is to provide a smart monitoring system based on intelligent computing.
[0005] The technical problems solved by the present invention are:
[0006] (1) How to use the image preprocessing unit set in the front-end terminal module to remove jitter, eliminate shadows, extract dynamic foreground and cut images of the collected continuous frame image data, thereby greatly enhancing the uploaded image quality and reducing the uploaded file size, solving the problems of poor uploaded file quality and heavy network burden in the prior art.
[0007] (2) How to use clear pre-processed images and a vehicle model recognition model based on a CNN neural network to match vehicle models and size features, thereby simulating real scenes to build virtual models, and quickly analyzing and determining whether the corresponding vehicle has violated traffic regulations, thereby solving the problem in existing technologies that traffic violations are difficult to determine and have low accuracy due to poor image quality.
[0008] The present invention can be implemented through the following technical solutions: an intelligent monitoring system based on intelligent computing, comprising a front-end submodule, a cloud module and a network transmission submodule for data transmission, the front-end submodule comprising a video acquisition unit and an image preprocessing unit, and the cloud module comprising a data analysis unit and a release management unit;
[0009] The video acquisition unit includes a digital surveillance camera with a globally unique hash code, which is used to add a timestamp to the acquired image and send it to the image preprocessing unit;
[0010] The image preprocessing unit obtains the jitter offset of the image, and corrects the image pixel coordinates according to the jitter offset, and corrects the image segmentation range at the same time; the image preprocessing unit also extracts the dynamic foreground from the image after jitter elimination and image segmentation and merges it with the updated background image, and sends the merged preprocessed image to the data storage unit of the cloud module;
[0011] The data analysis unit identifies the contour data in the dynamic foreground obtained by using the Canny edge detection algorithm based on the vehicle model recognition model to obtain the vehicle model and corresponding size features; constructs a three-dimensional coordinate system and draws lanes, lane dividers, and virtual models matching the vehicle model and size features in multiple frames of pre-processed images, reproduces the scene relationship between the road and the vehicle, and analyzes and judges the vehicle's illegal behavior;
[0012] The release management unit releases different response strategies according to the determined violation type.
[0013] A further technical improvement of the present invention is that the specific operation of the image preprocessing unit to eliminate jitter includes:
[0014] A frame of image is selected and a reference block with pixels as basic units is marked near its center, and the relative position range of the matching blocks in adjacent frame images is obtained;
[0015] Marking an initial point at a position corresponding to the center coordinate of the reference block within the relative position range, selecting multiple points around the initial point with a set step size, and then calculating the average absolute error of the multiple points relative to the initial point;
[0016] Select the coordinate point corresponding to the smallest mean absolute error as the latest initial point, repeat the above steps for the initial point operation three times, and each time reduce the step size by 1 step size on the original basis;
[0017] The coordinate point corresponding to the minimum mean absolute error calculated last time is taken as the best matching point, and the best matching block is obtained;
[0018] Calculate the offset between the center position of the reference block and the center position of the best matching block, that is, the jitter offset, and correct the pixel coordinates of the continuous multi-frame image relative to the image where the selected reference block is located based on the jitter offset;
[0019] The corrected image is segmented, and the segmentation range is corrected using the jitter offset to form the maximum monitoring window.
[0020] A further technical improvement of the present invention is that the process of extracting the dynamic background by the image preprocessing unit includes:
[0021] Acquire continuous multi-frame background image data under different weather condition combinations, and generate initial background image sequences under different weather condition combinations based on the data;
[0022] Obtain the weather condition combination at the corresponding moment and match the initial background image from the above sequence;
[0023] Background update: Determine whether there is a pixel value mutation area in the current frame image to determine the existence of a dynamic foreground, and randomly obtain multiple pixel points in the non-dynamic foreground area of the current frame image, calculate the difference between them and the pixel points at the corresponding position in the background image, and solve the average pixel difference;
[0024] The average pixel difference is compared with the set update threshold. When the average pixel difference is greater than the set update threshold, the pixel value of the background image pixel is updated, otherwise the background is updated according to the set update time;
[0025] According to the different types of light sources that generate shadows, light intensity, incident angles and vehicle profile data, the regional morphology of the shadow part is determined, and different strategies for eliminating the shadow are adopted depending on whether the shadow part has multiple brightness gradients.
[0026] A further technical improvement of the present invention is that the relative position range U of the matching block is expressed as:
[0027] U={(x,y)R(GV(a,b),GV'(a+Δx,b+Δy))≥P};
[0028] Among them, GV(a,b) represents the grayscale value of the corresponding coordinate point in the reference block, GV'(a+Δx,b+Δy) represents the grayscale value of the corresponding coordinate point in the adjacent frame, and Δx∈[-dx max ,dx max ], Δy∈[-dy max ,dy max ], dx max ,dy max They represent the maximum search displacement in the horizontal and vertical directions respectively; P represents the correlation setting threshold; and R represents the correlation estimation function.
[0029] A further technical improvement of the present invention is that the process of defining the pixel value mutation area includes:
[0030] Convert the pixel value of the grayscale image into RGB three-channel representation;
[0031] The RGB values of the corresponding positions of the current frame image and the background image are expressed as spatial coordinates;
[0032] The Euler distance formula is used to calculate the distance d between the two spatial coordinates. a,b , in, Respectively represent the values of the RGB channels of the corresponding pixels in the background image Respectively represent the values of the RGB channels of the corresponding pixels in the current frame image;
[0033] The distance d a,b Characterize the similarity between two pixels and set a dynamic threshold; a,b Compared with the dynamic threshold, if d a,b If it is within the threshold range, the pixel belongs to the background part, otherwise it belongs to the foreground part, thereby completing the delineation and extraction of the dynamic foreground area.
[0034] A further technical improvement of the present invention is that the specific steps of determining the regional morphology of the shadow part and taking a corresponding elimination strategy include:
[0035] Set the sunlight source as a parallel light source and the street light source as a point light source;
[0036] Obtain the incident angle of the corresponding light source within the time period, and when it is a point light source, determine the positional relationship between the point light source and the vehicle profile data;
[0037] Construct a spatial rectangular coordinate system, simulate the blind spot reached by light according to the edge position of the vehicle contour, the position of the light source and the incident angle, and thus determine the spatial area shape of the shadow part;
[0038] If there are no multiple brightness gradients in the shadow part, then there is no dynamic foreground in the shadow part, and the shadow part is directly replaced with the corresponding position pixel point in the background image;
[0039] If it exists, it indicates that there is a dynamic foreground in the shadow part. The contour line of the brightness gradient area is drawn, and the contrast of the drawing area is adjusted to remove the influence of the projected shadow on the dynamic foreground.
[0040] A further technical improvement of the present invention is that the data analysis unit extracts the preprocessed image and uses three-dimensional modeling to analyze and judge the violation behavior. The specific operation includes:
[0041] Mark the center position of the corresponding vehicle in the virtual model, and accurately calculate the current speed based on the migration amount of the center of gravity position and the time difference between adjacent frames to determine whether the vehicle is speeding;
[0042] Based on the coordinate position of the center of gravity, the vehicle size characteristics and the lane position, it can be determined whether the vehicle tires are crossing the line or changing lanes on a solid line;
[0043] According to the vehicle type recognition model, it can be directly determined whether the vehicle is a type that is prohibited from entering the area;
[0044] The images of the same vehicle are obtained from two different monitoring positions on a congested road section, and the time difference and the distance between the two monitoring positions are calculated to obtain the average vehicle speed. When the average vehicle speed is greater than 1.25 times the overall speed of the traffic flow in the congested state, it is determined that the vehicle occupies the non-motorized vehicle lane or the emergency lane.
[0045] A further technical improvement of the present invention is that the issuing management unit issues corresponding instructions according to the determination result of the data analysis unit, including:
[0046] When a vehicle exceeds the speed limit, an electronic ticket is generated and a counter is generated to count the number of speeding violations recorded within a certain distance. When the number exceeds the limit, the owner is notified by phone or text message for safety reminders;
[0047] If the driver crosses the line or changes lanes, an electronic ticket will be generated and the regional law enforcement officers will be notified for interception and education;
[0048] For vehicles that are prohibited from entering a region, the owner will be notified by phone or text message to park nearby and the regional law enforcement officers will be notified to guide the vehicle to leave;
[0049] Occupying non-motorized vehicle lanes or emergency lanes will notify regional law enforcement officers to intercept and verify the situation, and then issue on-site tickets based on the verified details.
[0050] Compared with the prior art, the present invention has the following beneficial effects:
[0051] 1. The present invention performs operations such as jitter elimination, shadow elimination, dynamic foreground extraction and image cutting on the collected continuous frame image data through the image preprocessing unit arranged in the front-end submodule, which greatly enhances the quality of uploaded images, provides a strong guarantee for the rapid analysis and judgment accuracy of the subsequent cloud module, and reduces the size of the uploaded data packet, speeds up the upload speed and analysis speed, reduces the time lag of the entire system, and improves the response speed;
[0052] 2. When eliminating jitter, build reference blocks and matching blocks between different images, and perform multiple searches within the relative position range of the matching blocks to minimize the average absolute error between pixels. Calculate the jitter offset at this time and correct multiple consecutive frames of images based on the jitter offset, eliminating image quality problems caused by device jitter, enhancing the correlation between images, reducing subsequent analysis and judgment errors, and improving accuracy.
[0053] 3. When extracting the foreground, construct the initial background image sequence under different weather conditions, and formulate an update strategy that combines pre-judgment with intermittent timed updates, which saves computing power while ensuring the timeliness of background updates; at the same time, simulate the regional morphology of the shadow part in the three-dimensional coordinate system under different light sources to determine it, so as to quickly formulate an elimination strategy for the shadow part, improve the clarity of the dynamic foreground, and facilitate subsequent extraction.
[0054] 4. The cloud module uses clear pre-processed images and a vehicle model recognition model based on a CNN neural network to match vehicle models and size features, thereby simulating real scenes to build virtual models, and then quickly analyze and determine whether the corresponding vehicle has violated traffic regulations, and quickly issue instructions based on the corresponding violations for processing and rapid response, thereby improving the reaction rate, processing efficiency and intelligence level of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0056] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0057] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0058] See also Figure 1 As shown, a smart monitoring system based on intelligent computing includes a front-end submodule, a network transmission submodule and a cloud module, wherein the front-end submodule mainly includes a video acquisition unit and an image preprocessing unit, the network transmission submodule includes a front-end switch, an optical fiber network and a cloud server, and the cloud module includes a data storage unit, a data analysis unit and a release management unit;
[0059] The video acquisition unit mainly includes digital surveillance cameras installed on the road, and each digital surveillance camera generates a globally unique hash code for the corresponding digital surveillance camera according to the road name, section location and installation order, and according to the hashCode method of the String class in JAVA. The video acquisition unit automatically adds a timestamp to the collected image and sends it to the image preprocessing unit;
[0060] It should be noted that the video information obtained by the digital surveillance camera is a collection of discrete images, which is generated by exposing a frame of image for a certain time at a set time point, and many frame images are connected to generate surveillance video;
[0061] The image preprocessing unit preprocesses the collected image locally, including: jitter elimination and feature extraction;
[0062] When a digital surveillance camera collects images, it may be shaken by ground vibration (when a large vehicle passes by) or environmental wind, causing the target image to shift or a ghost image to appear, affecting the image quality. To eliminate the shake of the collected image, the specific steps are as follows:
[0063] A1: Set the block (N*N) with pixels as the basic unit, where N is a natural number greater than 2. The larger the value of N, the lower the computing power requirement; the smaller the value of N, the higher the image jitter elimination accuracy;
[0064] It should be noted that there is no overlap between blocks, and the block division starts from the center of the image. If the remaining pixels at the edge of the image are not a multiple of N, these pixels are automatically ignored.
[0065] A2: Sort the images into consecutive frames, select one of the frames as the block to be divided, and randomly select a block close to the center of the image and mark it as the reference block, so as to obtain the relative position range U of the matching blocks in the adjacent frames. Specifically, the relative position range is expressed as:
[0066] U={(x,y)R(GV(a,b),GV'(a+Δx,b+Δy))≥P};
[0067] Among them, GV(a,b) represents the grayscale value of the corresponding coordinate point in the reference block, GV'(a+Δx,b+Δy) represents the grayscale value of the corresponding coordinate point in the adjacent frame, and Δx∈[-dx max ,dx max ], Δy∈[-dy max ,dy max ], dx max ,dy max Respectively represent the maximum search displacement in the horizontal and vertical directions; P represents the correlation setting threshold;
[0068] The position range of the matching block is obtained based on the correlation estimation function R. When R is larger, it is considered that the matching accuracy between the position range of the matching block and the reference block is higher.
[0069] A3: Mark the position within the relative position range U and corresponding to the center coordinate of the reference block as the initial point, then select eight points around the initial point with a certain step length l, and calculate the average absolute error of the eight points relative to the initial point. The calculation formula is:
[0070]
[0071] A4: Select the coordinate point corresponding to the smallest mean absolute error, repeat the above steps for the initial point three times, and change the step size to l-1 each time;
[0072] A5: The coordinate point corresponding to the last calculated minimum mean absolute error is used as the best matching point, and the best matching block is obtained. The offset between the center position of the reference block and the center position of the best matching block is calculated, which is the jitter offset. Based on the jitter offset, the pixel coordinates of the continuous multi-frame images relative to the image where the selected reference block is located are corrected.
[0073] A virtual monitoring window is constructed based on the corrected image. The virtual monitoring window is generally determined by the lane separation line and the effective monitoring distance. On this basis, the jitter offset is applied to the construction of the virtual monitoring window to correct the range size of the virtual monitoring window. The collected image is cropped and segmented according to the virtual monitoring window, irrelevant information is discarded, and the size of the data packet is reduced.
[0074] To extract the moving target in the image segmented according to the virtual monitoring window, we use the background difference method to extract the target features of the dynamic foreground based on the static background. Specifically:
[0075] B1: Due to changes in light and weather, the static background also needs to be dynamically updated. First, a basic static background is constructed, and continuous multi-frame background image data under different weather conditions (sunny, cloudy, rainy, snowy) and different combinations of light intensity and road humidity are obtained;
[0076] According to different weather conditions, we construct the background image sets of corresponding conditions, construct the histogram of the image pixel values in each background image set, and remove the isolated points with pixel mutations. We use the interpolation method to fill the data of the isolated points, count the number of occurrences of the pixel value at each pixel point, take the pixel value with the largest number of occurrences as the basic pixel value of the point, and construct the initial background image under the corresponding weather conditions, and generate the initial background image sequence under different conditions. 10 ,D 20 ...D k0}, where k represents the combination of weather conditions;
[0077] B2: Since the front-end cannot deploy a large amount of auxiliary computing cache, and the fixed intermittent background update cannot quickly perceive the changes in the background environment, we use a combination of pre-judgment and intermittent background update to update the background. Specifically:
[0078] Each time initialization is performed, the environmental conditions at the corresponding moment are obtained from the network, and a suitable initial background image is matched from the initial background image sequence as the background image according to the corresponding environmental conditions;
[0079] For the current frame image collected, determine whether there is a region with pixel value mutation. If so, the region is considered to be a dynamic foreground region. If not, it is considered to have no dynamic foreground.
[0080] A plurality of pixels are randomly collected in the non-dynamic foreground area of the current frame image, and the pixel value difference is calculated with the pixel points at the corresponding position in the background image to obtain the average pixel difference, and the average pixel difference is compared with the set update threshold. When the average pixel difference is greater than the set update threshold, the pixel value of the pixel point of the background image is updated, otherwise the background is updated when the set update time is reached;
[0081] It should be noted that the definition process of the pixel value mutation area, i.e., the dynamic foreground area, includes:
[0082] Convert the pixel value of the grayscale image into RGB three-channel representation;
[0083] The RGB values of the corresponding positions of the current frame image and the background image are expressed as spatial coordinates;
[0084] The Euler distance formula is used to calculate the distance d between the two spatial coordinates. a,b , in, They represent the values of the RGB channels of the corresponding pixels in the background image. Respectively represent the values of the RGB channels of the corresponding pixels in the current frame image;
[0085] The distance d a,b Characterize the similarity between two pixels and set a dynamic threshold. The size of the dynamic threshold is related to the light intensity and the standard deviation of the background image pixels. The dynamic threshold is negatively correlated with the light intensity and positively correlated with the standard deviation of the background image. a,b Compared with the dynamic threshold, d a,b If it is within the threshold range, the pixel is considered to belong to the background, otherwise it is considered to belong to the foreground, thereby completing the delineation and extraction of the dynamic foreground area.
[0086] B3: In the process of extracting features from dynamic foreground, the ground shadows cast by vehicles under low-angle sunlight or strong light sources will overlap with the images of adjacent vehicles on the image, causing the vehicle outline to change and become unstable, resulting in poor detection results. At the same time, if the shadow covers other vehicles, feature extraction of other vehicles will fail, so the shadows cast by the vehicles need to be eliminated;
[0087] Specifically, first, determine the regional shape of the shadow part. Generally, the shadow is caused by the blocking of sunlight or street light.
[0088] It is approximately assumed that sunlight is a parallel light source, and the incident angle of sunlight in the corresponding period of the day is obtained. Based on the size of the vehicle outline in the non-shadow area of the current frame image, a spatial rectangular coordinate system is constructed. The spatial area shape of the shadow dark area is determined according to the edge position of the outline and the incident angle of sunlight, so as to determine the shadow part in the current frame image and whether there are multiple brightness gradients in the shadow part. If not, it indicates that there is no dynamic foreground in the shadow part, and the shadow part is directly replaced with the corresponding position pixel point in the background image; if it exists, it indicates that there is a dynamic foreground in the shadow part, and the contour line is drawn for the brightness gradient area, and the contrast of the drawing area is adjusted to remove the influence of the projected shadow on the dynamic foreground;
[0089] The street light source can only be approximately identified as a point light source, but the specific operation steps are the same as those for the parallel light source. The spatial area shape of the shadow dark area is analyzed by the point light source position and light angle, which will not be elaborated here.
[0090] B4: After the dynamic foreground is extracted, it is merged with the updated background image to generate a preprocessed image and uploaded to the data storage unit of the cloud module through the network transmission submodule. The network transmission submodule supports the breakpoint resume function.
[0091] The data analysis unit in the cloud module extracts data in the order of timestamps and analyzes and determines whether the vehicle exceeds the speed limit, runs over the yellow line, changes lanes at will, occupies the non-motorized vehicle lane or emergency lane based on the pre-processed images of multiple consecutive frames:
[0092] Based on the preprocessed image, the Canny edge detection algorithm is used to obtain the contour data of the moving target in the dynamic foreground;
[0093] A CNN convolutional neural network model is used to train and verify a large amount of contour data that has undergone the above preprocessing steps to obtain a vehicle model recognition model. The model input is the vehicle contour data, and the model output is the vehicle model and the corresponding size features (including the length, width, and height of each part);
[0094] Based on the preprocessed image, a reference object is selected to obtain the size ratio in the image, a three-dimensional coordinate system is constructed, lanes and lane dividers are drawn in the XOY plane, and a virtual model is constructed in the three-dimensional coordinate system according to the vehicle model and size characteristics, and corresponds to its position in the image. The unit size ratio of the three-dimensional coordinates is the same as the image ratio;
[0095] The vehicles in the pre-processed images of multiple consecutive frames are modeled in a three-dimensional coordinate system, and their center of gravity positions are marked in the virtual model. The current speed is accurately calculated based on the migration amount of the center of gravity position and the time difference between adjacent frames, so as to determine whether the vehicle is speeding;
[0096] Based on the coordinate position of the center of gravity, the vehicle size characteristics and the lane position, it can be determined whether the vehicle tires are crossing the line or changing lanes on a solid line;
[0097] Based on the vehicle type recognition model, it can be directly determined whether the vehicle is a legal vehicle, that is, whether the vehicle is a type that is prohibited from entering the area, such as heavy trucks prohibited from entering the urban area;
[0098] The data analysis unit also performs correlation analysis on the data of video acquisition units at different deployment locations. When a road is in a congested state (the vehicle speed is less than a certain value v0), a vehicle is recorded at the i-th monitoring position of the lane, and then recorded again at the i+Δi-th monitoring position of the road section. The time difference and the distance between the two monitoring positions are calculated to obtain the average vehicle speed v. When v>1.25v0, it means that the vehicle occupies a non-motorized vehicle lane or an emergency lane.
[0099] The release management unit makes corresponding instructions based on the analysis and judgment results of the data analysis unit:
[0100] In case of speeding, an electronic ticket is directly generated, and a counter is generated for the violating vehicle. When the number of speeding detected by multiple monitoring locations within a certain distance is greater than the set value, an artificial intelligence call is made or a reminder SMS is sent to the vehicle owner's registration number to remind him.
[0101] For situations where the vehicle crosses the line or changes lanes on a solid line, an electronic ticket is directly generated and regional law enforcement officers are notified to conduct interception and education.
[0102] For vehicles that are prohibited from entering a region, an electronic ticket is directly generated, and a voice call or SMS is sent through artificial intelligence to inform the vehicle owner to park nearby and notify regional law enforcement officers to guide the vehicle to leave.
[0103] In the case of occupying non-motorized vehicle lanes or emergency lanes, regional law enforcement personnel will be notified to intercept and verify the situation, and then on-site tickets will be issued based on the verified details.
[0104] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A smart monitoring system based on intelligent computing, comprising a front-end submodule, a cloud module and a network transmission submodule for data transmission, characterized in that: The front-end submodule includes a video acquisition unit and an image preprocessing unit, and the cloud module includes a data analysis unit and a release management unit; The video acquisition unit includes a digital surveillance camera with a globally unique hash code, which is used to add a timestamp to the acquired image and send it to the image preprocessing unit; The image preprocessing unit obtains the jitter offset of the image, and corrects the image pixel coordinates according to the jitter offset, and corrects the image segmentation range at the same time; the image preprocessing unit also extracts the dynamic foreground from the image after jitter elimination and image segmentation and merges it with the updated background image, and sends the merged preprocessed image to the data storage unit of the cloud module; The data analysis unit identifies the contour data in the dynamic foreground obtained by using the Canny edge detection algorithm based on the vehicle model recognition model to obtain the vehicle model and corresponding size features; constructs a three-dimensional coordinate system and draws lanes, lane dividers, and virtual models matching the vehicle model and size features in multiple frames of pre-processed images, reproduces the scene relationship between the road and the vehicle, and analyzes and judges the vehicle's illegal behavior; The release management unit releases different response strategies according to the determined violation type.
2. According to claim 1, a smart monitoring system based on intelligent computing is characterized in that: The specific operation of the image preprocessing unit to eliminate jitter includes: A frame of image is selected and a reference block with pixels as basic units is marked near its center, and the relative position range of the matching blocks in adjacent frame images is obtained; Marking an initial point at a position corresponding to the center coordinate of the reference block within the relative position range, selecting multiple points around the initial point with a set step size, and then calculating the average absolute error of the multiple points relative to the initial point; Select the coordinate point corresponding to the smallest mean absolute error as the latest initial point, repeat the above steps for the initial point operation three times, and each time reduce the step size by 1 step size on the original basis; The coordinate point corresponding to the minimum mean absolute error calculated last time is taken as the best matching point, and the best matching block is obtained; Calculate the offset between the center position of the reference block and the center position of the best matching block, that is, the jitter offset, and correct the pixel coordinates of the continuous multi-frame image relative to the image where the selected reference block is located based on the jitter offset; The corrected image is segmented, and the segmentation range is corrected using the jitter offset to form the maximum monitoring window.
3. The intelligent monitoring system based on intelligent computing according to claim 1 is characterized in that: The process of extracting dynamic background by the image preprocessing unit includes: Acquire continuous multi-frame background image data under different weather condition combinations, and generate initial background image sequences under different weather condition combinations based on the data; Obtain the weather condition combination at the corresponding moment and match the initial background image from the above sequence; Background update: Determine whether there is a pixel value mutation area in the current frame image to determine the existence of a dynamic foreground, and randomly obtain multiple pixel points in the non-dynamic foreground area of the current frame image, calculate the difference between them and the pixel points at the corresponding position in the background image, and solve the average pixel difference; The average pixel difference is compared with the set update threshold. When the average pixel difference is greater than the set update threshold, the pixel value of the background image pixel is updated, otherwise the background is updated according to the set update time; According to the different types of light sources that generate shadows, light intensity, incident angles and vehicle profile data, the regional morphology of the shadow part is determined, and different strategies for eliminating the shadow are adopted depending on whether the shadow part has multiple brightness gradients.
4. The intelligent monitoring system based on intelligent computing according to claim 2 is characterized in that: The relative position range U of the matching block is expressed as: U={(x,y)R(GV(a,b),GV'(a+Δx,b+Δy))≥P}; Among them, GV(a,b) represents the grayscale value of the corresponding coordinate point in the reference block, GV'(a+Δx,b+Δy) represents the grayscale value of the corresponding coordinate point in the adjacent frame, and Δx∈[-dx max ,dx max ], Δy∈[-dy max ,dy max ], dx max ,dy max They represent the maximum search displacement in the horizontal and vertical directions respectively; P represents the correlation setting threshold; and R represents the correlation estimation function.
5. The intelligent monitoring system based on intelligent computing according to claim 3 is characterized in that: The process of defining the pixel value mutation area includes: Convert the pixel value of the grayscale image into RGB three-channel representation; The RGB values of the corresponding positions of the current frame image and the background image are expressed as spatial coordinates; The Euler distance formula is used to calculate the distance between two spatial coordinates. in, They represent the values of the RGB channels of the corresponding pixels in the background image. Respectively represent the values of the RGB channels of the corresponding pixels in the current frame image; The distance d a,b Characterize the similarity between two pixels and set a dynamic threshold; a,b Compared with the dynamic threshold, if d a,b If it is within the threshold range, the pixel belongs to the background part, otherwise it belongs to the foreground part, thereby completing the delineation and extraction of the dynamic foreground area.
6. The intelligent monitoring system based on intelligent computing according to claim 3 is characterized in that: The specific steps of determining the regional shape of the shadow part and taking corresponding elimination strategies include: Set the sunlight source as a parallel light source and the street light source as a point light source; Obtain the incident angle of the corresponding light source within the time period, and when it is a point light source, determine the positional relationship between the point light source and the vehicle profile data; Construct a spatial rectangular coordinate system, simulate the blind spot reached by light according to the edge position of the vehicle contour, the position of the light source and the incident angle, and thus determine the spatial area shape of the shadow part; If there are no multiple brightness gradients in the shadow part, then there is no dynamic foreground in the shadow part, and the shadow part is directly replaced with the corresponding position pixel point in the background image; If it exists, it indicates that there is a dynamic foreground in the shadow part. The contour line of the brightness gradient area is drawn, and the contrast of the drawing area is adjusted to remove the influence of the projected shadow on the dynamic foreground.
7. The intelligent monitoring system based on intelligent computing according to claim 1 is characterized in that: The specific operations of the data analysis unit extracting the pre-processed image and analyzing and judging the violation behavior by using three-dimensional modeling include: Mark the center position of the corresponding vehicle in the virtual model, and accurately calculate the current speed based on the migration amount of the center of gravity position and the time difference between adjacent frames to determine whether the vehicle is speeding; Based on the coordinate position of the center of gravity, the vehicle size characteristics and the lane position, it can be determined whether the vehicle tires are crossing the line or changing lanes on a solid line; According to the vehicle type recognition model, it can be directly determined whether the vehicle is a type that is prohibited from entering the area; The images of the same vehicle are obtained from two different monitoring positions on a congested road section, and the time difference and the distance between the two monitoring positions are calculated to obtain the average vehicle speed. When the average vehicle speed is greater than 1.25 times the overall speed of the traffic flow in the congested state, it is determined that the vehicle occupies the non-motorized vehicle lane or the emergency lane.
8. The intelligent monitoring system based on intelligent computing according to claim 7 is characterized in that: The issuing management unit issues corresponding instructions according to the determination result of the data analysis unit, including: When a vehicle exceeds the speed limit, an electronic ticket is generated and a counter is generated to count the number of speeding violations recorded within a certain distance. When the number exceeds the limit, the owner is notified by phone or text message for safety reminders; If the driver crosses the line or changes lanes, an electronic ticket will be generated and the regional law enforcement officers will be notified for interception and education; For vehicles that are prohibited from entering a region, the owner will be notified by phone or text message to park nearby and the regional law enforcement officers will be notified to guide the vehicle to leave; Occupying non-motorized vehicle lanes or emergency lanes will notify regional law enforcement officers to intercept and verify the situation, and then issue on-site tickets based on the verified details.
