Image processing method and system for intelligent security and protection monitoring

Through the image processing method of intelligent security monitoring, machine learning and cross-camera collaborative tracking technology are used to solve the problem of traditional security monitoring systems identifying and tracking abnormal behaviors in complex scenarios and large-scale monitoring areas, and improve the efficiency and security of the monitoring system Provide accurate and timely security services.

CN118887622AInactive Publication Date: 2024-11-01SHAANXI TEDA SAFETY PROTECTION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411231625.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional security monitoring systems are insufficient in monitoring coverage, incident response speed and data analysis accuracy, especially in complex scenarios and large-scale monitoring areas where target individuals are difficult to accurately identify and track abnormal behaviors, resulting in insufficient overall performance and security of the monitoring system. .

Method used

Using an image processing method of intelligent security monitoring, it uses real-time monitoring data of multiple cameras to preprocess, and uses machine learning algorithm to identify abnormal behavior individuals, and builds a camera network for cross-camera collaborative tracking and trajectory reconstruction, using feature matching algorithm Perform multimodal fusion matching, build the movement trajectory information of abnormal targets, and update it to the security management terminal in real time.

Benefits of technology

It realizes efficient monitoring and response to abnormal behaviors in the monitoring area, ensures continuous identification and tracking of targets between different cameras' sight areas, improves the overall efficiency and security of the monitoring system, and provides more accurate and timely security services. Meets the needs of modern urban safety management and crime prevention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887622A_ABST
    Figure CN118887622A_ABST
Patent Text Reader

Abstract

The invention relates to an image processing method and system for intelligent security monitoring, and belongs to the technical field of security monitoring, and the method comprises the steps: receiving real-time monitoring data from a plurality of cameras, and carrying out the recognition of abnormal behavior individuals; determining the camera which identifies the abnormal behavior individual as a target camera, and constructing a camera network; the method comprises the steps of obtaining real-time monitoring data of all cameras in a camera network, obtaining a monitoring data set, carrying out target detection and target frame labeling, obtaining a plurality of image frames containing target frame labeling, and obtaining a feature coding sequence of abnormal target individuals under a plurality of different cameras through target feature extraction and coding; and carrying out multi-modal fusion matching based on a feature matching algorithm to obtain a matched cross-camera target trajectory fragment, namely constructing moving trajectory information of an abnormal target individual, and updating the moving trajectory information to a security and protection management terminal in real time. According to the invention, the overall efficiency and safety of the monitoring system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of security monitoring technology, and in particular to an image processing method and system for intelligent security monitoring. Background Art

[0002] In today's society, with the continuous expansion of urban scale and the continuous increase in population density, public safety issues have become a major challenge facing urban management. The role of intelligent security monitoring systems is particularly important. It is not only a powerful tool for maintaining social order and preventing crime, but also a key infrastructure for ensuring the safety of people's lives. Traditional monitoring systems are limited by technical bottlenecks and often perform poorly in terms of monitoring coverage, event response speed, data analysis accuracy, etc., which affects the rapid response to emergency events.

[0003] At present, especially for the identification and tracking of abnormal behaviors, common security monitoring systems mostly rely on image recognition and simple motion detection. This method is not only time-consuming and labor-intensive, but also faces complex scenes, large-scale monitoring areas and constantly moving target individuals. Once the target is constantly switching between the monitoring boundaries of multiple cameras, tracking interruptions are likely to occur. It is difficult to meet the modern society's demand for real-time and accuracy of security monitoring, and reduces the overall efficiency and security of the monitoring system. Summary of the invention

[0004] In order to improve the overall efficiency and safety of a monitoring system, the present application provides an image processing method and system for intelligent security monitoring.

[0005] In a first aspect, the present application provides an image processing method for intelligent security monitoring, which adopts the following technical solution: An image processing method for intelligent security monitoring, the method comprising: Receive real-time monitoring data from multiple cameras and perform pre-processing; Based on the machine learning algorithm, the real-time monitoring data of each camera after preprocessing is used to identify abnormal behaviors. Determine the camera that identifies the individual with abnormal behavior as a target camera, and determine the individual with abnormal behavior as an abnormal target individual; Based on the target camera as the center, a camera network is constructed according to cameras within a preset monitoring radius; Acquire real-time monitoring data of all cameras in the camera network, and perform frame rate adaptation and format conversion processing to obtain a monitoring data set; Based on the abnormal target individuals, target detection is performed frame by frame on each surveillance image in the surveillance data set, and target frame annotation is performed to obtain multiple image frames containing target frame annotations; Extracting and encoding target features according to multiple image frames containing the target frame annotations to obtain feature coding sequences of the abnormal target individuals under multiple different cameras; Based on the feature matching algorithm, the feature coding sequences of the abnormal target individuals under multiple different cameras are subjected to multi-modal fusion matching to obtain the matched cross-camera target trajectory fragments; According to the cross-camera target trajectory fragment, the movement trajectory information of the abnormal target individual is constructed and updated to the security management terminal in real time.

[0006] By adopting the above technical solutions, the real-time monitoring data of multiple cameras can be effectively integrated. By integrating efficient abnormal behavior recognition, the monitoring and response of abnormal behaviors in the monitoring area can be realized. At the same time, cross-camera collaborative tracking and trajectory reconstruction technology can be used. Even if the target individual with abnormal behavior is constantly moving between the fields of view of different cameras, its continuity can be accurately identified. This makes it possible to efficiently process monitoring data in complex scenarios and large-scale monitoring networks, improve the overall efficiency and security of the monitoring system, and meet the needs of modern urban safety management and crime prevention by providing more accurate and timely security monitoring services.

[0007] Optionally, the step of building a camera network based on the target camera as the center and cameras within a preset monitoring radius includes: Based on the target camera as the center, determine all cameras within a preset monitoring radius; According to the installation location information and parameter configuration information of all cameras within the preset monitoring radius, a monitoring polygon of all cameras within the preset monitoring radius is obtained; the monitoring polygon is a polygonal representation of the monitoring range of the camera on a two-dimensional plane; Screening cameras that intersect or are adjacent to the monitoring polygon of the target camera and determining them as neighborhood cameras; A camera monitoring network is constructed based on the intersection information and positional relationship of the monitoring polygons of the plurality of neighborhood cameras and the target camera.

[0008] By adopting the above technical solutions, a collaborative monitoring network centered on the target camera and combined with neighborhood camera resources was built. This not only ensured comprehensive coverage of the monitoring area, but also optimized resource utilization, allowing monitoring tasks to be coordinated among multiple cameras, thereby improving the response speed and tracking accuracy of abnormal events.

[0009] Optionally, the step of extracting and encoding target features according to a plurality of image frames containing the target frame annotations to obtain feature coding sequences of the abnormal target individuals under a plurality of different cameras includes: Determining a plurality of corresponding cameras in a camera network according to a plurality of image frames containing the target frame annotations; Extracting features of abnormal target individuals in target frames in multiple image frames respectively, and obtaining feature vectors of the abnormal target individuals under multiple different cameras; All feature vectors of the abnormal target individual under multiple different cameras are feature encoded and connected in series in chronological order to obtain feature coding sequences of the abnormal target individual under multiple different cameras.

[0010] By adopting the above technical solution, efficient encoding of target features across cameras and continuous expression in time series are achieved. Not only can the features of abnormal targets be accurately identified and extracted from complex scenes, but these targets can also be continuously tracked in a multi-camera environment, significantly enhancing the intelligent analysis capabilities of the video surveillance system and the response speed to abnormal events. This technical solution effectively solves the problem of cross-view target tracking and improves the monitoring efficiency in multiple fields such as public safety and intelligent transportation.

[0011] Optionally, based on a feature matching algorithm, the step of performing multimodal fusion matching on the feature coding sequences of the abnormal target individual under multiple different cameras includes: Performing weighted fusion on the feature vectors of different modes in the feature coding sequence to obtain a fused comprehensive feature vector; Based on the fused comprehensive feature vector, a feature matching algorithm is used to compare the similarity of the feature coding sequences of the abnormal target individuals under multiple different cameras; Based on a preset similarity threshold, determining a sequence pair that matches successfully; Perform time synchronization and spatial alignment on the successfully matched sequence pairs; Based on the time-synchronized and spatially aligned sequence pairs, independent trajectory segments are created for the abnormal target individuals within the field of view of each camera; The trajectory segments are spliced ​​according to time sequence and spatial continuity to obtain cross-camera target trajectory segments.

[0012] By adopting the above technical solutions, after multimodal feature fusion, precise matching, and spatiotemporal consistency processing, an efficient and robust cross-camera abnormal target tracking system is constructed, which creates and splices target trajectories across cameras, and realizes continuous and accurate tracking of individual behavior trajectories in the monitoring area. By restoring the complete action trajectory of the target in the entire monitoring area, it is of great significance for applications such as behavior analysis, security monitoring, and crowd management.

[0013] Optionally, after obtaining the matched cross-camera target trajectory segment, the step further includes: Build a mobility prediction model based on environmental map data and historical sample trajectory data; Inputting the cross-camera target trajectory fragment into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; Determining whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; If so, the camera network is adjusted according to the predicted movement trajectory configuration so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

[0014] By adopting the above technical solutions, we build a target motion model and combine it with environmental map data to predict the future trajectory of abnormal target individuals, thus realizing intelligent prediction and adaptive monitoring adjustment of the behavior of monitored objects. By dynamically optimizing the camera layout, we ensure the effective tracking of high-risk targets, and provide advanced technical solutions for public safety, smart security and other fields. This intelligent and forward-looking monitoring and management strategy has significantly improved the efficiency and effectiveness of security prevention.

[0015] Optionally, the steps of constructing a mobility prediction model based on the environmental map data and the historical sample trajectory data include: Preprocessing the environmental map data and the historical sample trajectory data respectively; Inputting the preprocessed environmental map data into a CNN neural network for processing to obtain an environmental feature map; Extracting features from the preprocessed historical sample trajectory data to obtain dynamic trajectory features of the historical sample trajectory data; constructing time series input data according to the environmental feature map and the dynamic trajectory features; Input the time series data into the LSTM neural network to construct an LSTM-CNN fusion model; Divide the preprocessed historical sample trajectory data into a training set and a validation set; Inputting the training set into the LSTM-CNN fusion model for initial training, optimizing the model parameters by back propagation algorithm, and obtaining the initially trained motion prediction model; The mobility prediction model is verified and model parameters are corrected based on the verification set until the loss function of the model meets a preset condition, thereby obtaining the trained mobility prediction model.

[0016] By adopting the above technical solution, the CNN feature extraction of the environmental map and the LSTM time series analysis of the trajectory data are integrated to achieve high-precision prediction of the future path of the mobile object. The LSTM-CNN hybrid architecture fully utilizes the spatiotemporal information and improves the adaptability and prediction accuracy of the prediction model in complex environments.

[0017] In a second aspect, the present application provides an image processing system for intelligent security monitoring, which adopts the following technical solution: An image processing system for intelligent security monitoring, the system comprising: A receiving module, used for receiving real-time monitoring data from multiple cameras; A preprocessing module, used for preprocessing the real-time monitoring data; The abnormal behavior recognition module is used to identify abnormal behavior individuals based on the pre-processed real-time monitoring data of each camera based on the machine learning algorithm; A target determination module, used to determine a camera that identifies an individual with abnormal behavior as a target camera, and to determine the individual with abnormal behavior as an abnormal target individual; A camera network construction module, used to construct a camera network based on the target camera as the center and based on cameras within a preset monitoring radius; A monitoring data processing module is used to obtain real-time monitoring data of all cameras in the camera network, and perform frame rate adaptation and format conversion processing to obtain a monitoring data set; A target detection module is used to perform target detection and target frame annotation on each monitoring image frame in the monitoring data set based on abnormal target individuals, so as to obtain multiple image frames containing target frame annotations; A feature coding module is used to extract and encode target features according to a plurality of image frames containing the target frame annotations, so as to obtain a feature coding sequence of the abnormal target individual under a plurality of different cameras; A feature matching module is used to perform multimodal fusion matching on the feature coding sequences of the abnormal target individuals under multiple different cameras based on a feature matching algorithm to obtain a matched cross-camera target trajectory segment; A movement trajectory generation module, used to construct movement trajectory information of the abnormal target individual according to the cross-camera target trajectory fragment; The updating module is used to update the movement track information to the security management terminal in real time.

[0018] Optionally, the image processing system further includes: A mobility prediction model building module is used to build a mobility prediction model based on environmental map data and historical sample trajectory data; A movement trajectory prediction module, used to input the cross-camera target trajectory fragment into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; A judgment module, used to judge whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; if so, outputting a judgment result; A configuration adjustment module is used to respond to the exceeding judgment result and adjust the camera network according to the predicted movement trajectory configuration so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

[0019] In a third aspect, the present application provides a computer device, which adopts the following technical solution: A computer device comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method as described in the first aspect.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the methods in the first aspect.

[0021] To summarize, the present application includes at least one of the following beneficial technical effects: effectively integrating real-time monitoring data from multiple cameras, and realizing monitoring and response to abnormal behaviors in the monitoring area by integrating efficient abnormal behavior recognition. At the same time, by utilizing cross-camera collaborative tracking and trajectory reconstruction technology, even if the target individuals with abnormal behaviors are constantly moving between the fields of view of different cameras, their continuity can be accurately identified, thereby being able to efficiently process monitoring data in complex scenarios and large-scale monitoring networks, improving the overall efficiency and safety of the monitoring system, and meeting the needs of modern urban safety management and crime prevention by providing more accurate and timely security monitoring services. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a first flow chart of an image processing method according to one embodiment of the present application.

[0023] Figure 2 It is a second flow chart of the image processing method according to one embodiment of the present application.

[0024] Figure 3 It is a third flow chart of the image processing method according to one embodiment of the present application.

[0025] Figure 4 It is a fourth flow chart of the image processing method according to one embodiment of the present application.

[0026] Figure 5 It is a fifth flow chart of the image processing method according to one embodiment of the present application.

[0027] Figure 6 It is a sixth flow chart of the image processing method according to one embodiment of the present application.

[0028] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-6 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] At present, with the increasing demand for social security and the rapid development of monitoring technology, traditional security monitoring systems are facing problems such as massive information, low efficiency of manual analysis, and delayed response to abnormal events. Especially in complex environments and large-scale monitoring networks, effectively identifying, tracking and predicting abnormal behaviors has become a challenge that needs to be solved urgently.

[0030] The embodiment of the present application discloses an image processing method for intelligent security monitoring.

[0031] Reference Figure 1 , an image processing method for intelligent security monitoring, comprising: Step S101, receiving real-time monitoring data from multiple cameras and performing pre-processing; Among them, the system can collect real-time monitoring video streams transmitted by cameras in different locations through a network interface or proprietary communication protocol, and then improve the quality of video data through preprocessing, reduce the false alarm rate during analysis, and provide a stable and reliable data foundation for subsequent machine learning processing.

[0032] In some embodiments, the preprocessing steps include denoising, format standardization, brightness and color balance adjustment, etc., to eliminate interference caused by environmental factors and ensure the accuracy of subsequent analysis.

[0033] Step S102, based on a machine learning algorithm, performing abnormal behavior individual recognition on the pre-processed real-time monitoring data of each camera; In one of the embodiments of the present application, a deep learning model, such as a recurrent neural network (RNN), can be applied to analyze the video frames of each camera. By comparing and learning with a large number of labeled normal and abnormal behavior samples, individuals that do not conform to conventional behavior patterns can be automatically identified, thereby achieving rapid and automatic identification of abnormal behaviors in the monitoring screen, significantly improving the intelligence level and response speed of the monitoring system.

[0034] Specifically, for the specific structure of the recurrent neural network (RNN) model, first, the model design may include an input layer for receiving a preprocessed video frame sequence, each frame of which can be encoded as a feature vector; then, the core part is the recurrent layer, in which the RNN units are responsible for processing time series data. These units can retain and update the "memory" of past frames, thereby understanding the temporal dynamics in the video; after the recurrent layer, one or more fully connected layers will be added to convert the output of the recurrent layer into a prediction of abnormal behavior; finally, the output layer uses an appropriate activation function (for example, Sigmoid is used for binary classification problems to determine whether the behavior is abnormal) to produce recognition results.

[0035] In other embodiments of the present application, a convolutional neural network (CNN) model may also be used, which can automatically capture the spatial hierarchical structure. For abnormal behavior recognition in videos, 3D-CNN can be used. As an extended CNN, it not only considers information in the spatial dimension, but also considers changes in the temporal dimension. It extracts spatiotemporal features from video clips and then uses them for behavior recognition.

[0036] Specifically, for the specific structure of the convolutional neural network (CNN) model, first, the model design may include an input layer for receiving a preprocessed video frame sequence, and each video frame can be encoded as a three-dimensional tensor (width × height × number of color channels); then, it also includes a 3D convolution layer and a pooling layer. The 3D convolution layer is used to capture the temporal and spatial features in the video, and the pooling layer is used to reduce the spatial dimension; a fully connected layer is set after the pooling layer to map the output of the 3D convolution layer to a category label, such as "normal" or "abnormal"; finally, the output layer can use Sigmoid or Softmax activation function for binary or multi-classification tasks.

[0037] It should be noted that in the process of training the model, a large amount of video data needs to be collected and annotated as a training set, including examples of normal behavior and various abnormal behaviors. At the beginning of training, these video sequences can be divided into frames, and features are extracted for each frame as the input of the model; the network weights are optimized through the time algorithm using back propagation, and the model attempts to reduce the prediction error in each round of iteration, that is, to reduce the gap between the predicted label and the actual label. At the same time, in order to improve the generalization ability of the model, the validation set will be used for regular evaluation, and techniques such as early stopping strategy or adjustment of learning rate may be implemented. By continuously learning the pattern of normal behavior, the model can gradually distinguish the abnormal behavior pattern that deviates from it, and finally achieve the goal of quickly and automatically identifying the target individual with abnormal behavior in the monitoring screen. By continuously learning the pattern of normal behavior, the model can gradually distinguish the abnormal behavior pattern that deviates from it, and finally achieve the goal of quickly and automatically identifying the target individual with abnormal behavior in the monitoring screen.

[0038] Step S103, determining the camera that identifies the individual with abnormal behavior as a target camera, and determining the individual with abnormal behavior as an abnormal target individual; Among them, once abnormal behavior is found in the monitoring data of a certain camera, the camera is immediately marked as a "target camera" and the individual associated with the abnormal behavior is identified as an "abnormal target individual" to quickly focus on potential security threats; target individuals may include target vehicles, target pedestrians, etc.

[0039] It is understandable that by accurately locating the monitoring focus in the monitoring data of multiple cameras and optimizing resource allocation, the system can focus on processing key events and improve monitoring efficiency.

[0040] Step S104, based on the target camera as the center, a camera network is constructed according to the cameras within a preset monitoring radius; In some embodiments, with the target camera as the center, a temporary camera network is constructed on the three-dimensional map according to the relative positions and field of view coverage between the cameras to ensure that the movement range of abnormal targets can be effectively covered; for example, after determining the position of the target camera, all other cameras that overlap or are adjacent to the monitoring range of the target camera can be further identified to construct a polygonal coverage model to expand the monitoring coverage, enhance the continuity and integrity of tracking, and reduce monitoring blind spots.

[0041] Step S105, obtaining real-time monitoring data of all cameras in the camera network, and performing frame rate adaptation and format conversion processing to obtain a monitoring data set; Among them, the frame rate and format of the video data of all cameras in the network are uniformly processed to ensure the compatibility and consistency of different source data, facilitate subsequent cross-camera analysis, reduce the complexity of data processing, improve the consistency and efficiency of data processing, and provide a unified data foundation for cross-camera tracking.

[0042] Step S106, based on the abnormal target individual, target detection is performed frame by frame on each monitoring image in the monitoring data set and target frame annotation is performed to obtain multiple image frames containing target frame annotations; In one of the embodiments of the present application, a target detection algorithm (such as the YOLO algorithm) can be used to perform frame-by-frame analysis on the uniformly processed monitoring data, mark the abnormal target individual with a target bounding box, and clarify its position in the picture to understand the real-time position information of the target, thereby providing an accurate visual reference for subsequent feature extraction and tracking.

[0043] Specifically, based on the characteristic information of the abnormal target individual, each frame of the input surveillance image can be segmented into multiple predefined grids. Each grid is responsible for detecting whether the abnormal target individual exists. The YOLO model can predict the bounding box (rectangular area containing the target) for each grid, and assign a confidence score to each bounding box, indicating the probability of the existence of the target in the box and the accuracy of the positioning of the bounding box, so that the system can track abnormal target individuals in real time, which is particularly effective in monitoring scenarios, thereby providing a basis for subsequent analysis and decision-making.

[0044] Step S107, extracting and encoding target features according to multiple image frames containing target frame annotations, and obtaining feature coding sequences of abnormal target individuals under multiple different cameras; Specifically, features (such as color histogram, texture, shape descriptor, etc.) can be extracted from the image annotated with the target box, and converted into feature vectors through a coding algorithm to obtain the feature coding sequence of the same target under different cameras.

[0045] Among them, feature encoding is the key to cross-camera tracking. By establishing a unique feature description for abnormal targets under each camera, the target is identifiable under different camera perspectives, providing a basis for cross-camera tracking.

[0046] As an implementation method of the feature encoding algorithm, the feature encoding algorithm can adopt a BoW (Bag of Words) algorithm model. For example, after extracting the image area containing the target individual, multiple feature descriptors can be extracted from these areas, such as color histogram to capture color distribution, LBP (local binary pattern) to describe texture features, and HOG (histogram of oriented gradients) to capture shape information; then, the BoW model can be used to map these local descriptors to a feature vector in a high-dimensional space. Each local descriptor will be assigned to a "word" in the visual dictionary, thereby creating a word frequency vector representing the appearance characteristics of the pedestrian. Finally, by comparing the feature encoding sequences of the same target under different cameras, even if the viewing angle and lighting conditions change, it can be identified whether it is the same target individual.

[0047] As another implementation of the feature encoding algorithm, the FV (Fisher Vector) algorithm model can also be used. For each local descriptor in each image, a Fisher Score vector is formed by calculating the first-order derivative and second-order derivative of the likelihood function with respect to all GMM components. Then, the Fisher Score vectors corresponding to all descriptors are summarized, and weighted average and normalized to obtain the final Fisher Vector for representing image features. Compared with the BoW algorithm, the FV algorithm model not only encodes the assignment of descriptors to visual vocabulary, but also encodes the difference between descriptors and vocabulary, making the encoding more detailed and expressive. Such feature vectors can be used to represent the same target under different cameras to facilitate cross-camera target re-identification tasks.

[0048] Step S108, based on a feature matching algorithm, multi-modal fusion matching is performed on the feature coding sequences of the abnormal target individuals under multiple different cameras to obtain matched cross-camera target trajectory segments; In some embodiments, a feature matching algorithm may be used to fuse and match feature coding sequences under different cameras, and through time series analysis and spatial position association, the cross-camera movement trajectory of the abnormal target may be reconstructed to identify the path of the target's transfer between cameras; It is understandable that through feature matching, even if the target moves between the fields of view of different cameras, its continuity can be accurately identified, thereby achieving seamless tracking across cameras, improving the continuity and accuracy of tracking, and providing intuitive trajectory information for safety decisions.

[0049] Step S109, constructing the movement trajectory information of the abnormal target individual according to the cross-camera target trajectory fragments, and updating it to the security management terminal in real time.

[0050] In some embodiments, these associated trajectory segments can be integrated, and data association algorithms such as Kalman filtering or Hungarian algorithm can be used to optimize trajectory continuity and accuracy, ultimately constructing the complete movement trajectory information of the abnormal target individual and pushing it to the security management terminal in real time, and then displaying it through a visual interface, thereby providing monitoring personnel with real-time warning information and decision-making basis, speeding up emergency response.

[0051] In the above implementation mode, by effectively integrating the real-time monitoring data of multiple cameras and integrating efficient abnormal behavior recognition, the monitoring and response of abnormal behaviors in the monitoring area are realized. At the same time, cross-camera collaborative tracking and trajectory reconstruction technology is used. Even if the target individual with abnormal behavior is constantly moving between the fields of view of different cameras, its continuity can be accurately identified. This makes it possible to efficiently process monitoring data in complex scenarios and large-scale monitoring networks, improve the overall efficiency and safety of the monitoring system, and meet the needs of modern urban safety management and crime prevention by providing more accurate and timely security monitoring services.

[0052] Reference Figure 2 As an implementation of step S104, the step of building a camera network based on the target camera as the center and the cameras within the preset monitoring radius includes: Step S201, based on the target camera as the center, determine all cameras within a preset monitoring radius; Among them, geographic information system (GIS) or global positioning system (GPS) data can be used, combined with the layout planning of the monitoring area, to identify all cameras within the preset monitoring radius of the target camera, realize the preliminary screening of monitoring resources, focus on cameras closely related to the target monitoring task, and improve the pertinence and efficiency of subsequent processing.

[0053] It should be noted that the preset monitoring radius can be comprehensively considered based on the characteristics of the monitoring target, camera performance, environmental conditions, computing resources, etc.; for example, the size of the area to be covered is determined based on the moving speed and possible moving path of the monitoring target. For example, a larger preset monitoring radius may be required for fast-moving vehicles; for example, the camera's clarity, night vision capability, coverage range, etc. directly affect the construction of the network, and high-performance cameras can support a larger preset monitoring radius; for another example, real-time processing of multi-camera data requires corresponding computing power support, and the preset monitoring radius also needs to consider the system's processing power limit.

[0054] Step S202, obtaining the monitoring polygons of all cameras within the preset monitoring radius according to the installation location information and parameter configuration information of all cameras within the preset monitoring radius; The monitoring polygon is a polygonal representation of the monitoring range of the camera on a two-dimensional plane; Specifically, the monitoring range of each camera is affected by parameters such as its installation height, focal length, and field of view. Through mathematical modeling, these physical parameters are converted into polygons on a two-dimensional plane to represent the actual monitoring coverage area of ​​the camera, so as to facilitate intuitive analysis of the spatial relationship between cameras on the plane, making subsequent neighborhood camera identification more intuitive and efficient.

[0055] Step S203, screening cameras that intersect or are adjacent to the monitoring polygon of the target camera and determining them as neighborhood cameras; In some embodiments, a spatial overlay analysis algorithm may be used to compare the positional relationship between the monitoring polygon of the target camera and the monitoring polygons of other cameras. If there is an intersection or they are close enough to constitute relay monitoring, these cameras are marked as neighboring cameras.

[0056] It can be understood that by accurately identifying the monitoring resources directly related to the target camera, the foundation is laid for building an efficient and collaborative monitoring network, reducing unnecessary waste of resources.

[0057] Step S204: construct a camera monitoring network based on the intersection information and position relationship of the monitoring polygons of multiple neighborhood cameras and the target camera.

[0058] In some embodiments, a graph theory method can be used to establish a connection relationship between cameras based on the intersection information of the monitoring polygons between the neighborhood cameras and the target cameras; for example, each camera is regarded as a node in the graph, and the intersection defines the edges between the nodes. The network structure is optimized through optimization algorithms (such as minimum spanning tree, shortest path, etc.) to ensure the efficiency and integrity of the monitoring network.

[0059] In the above implementation, a collaborative monitoring network centered on the target camera and combined with neighborhood camera resources is constructed, which not only ensures comprehensive coverage of the monitoring area, but also optimizes resource utilization, allowing monitoring tasks to be coordinated among multiple cameras, thereby improving the response speed and tracking accuracy of abnormal events.

[0060] Reference Figure 3 As an implementation of step S107, the step of extracting and encoding target features according to multiple image frames containing target frame annotations to obtain feature coding sequences of abnormal target individuals under multiple different cameras includes: Step S301, determining a plurality of corresponding cameras in a camera network according to a plurality of image frames containing target frame annotations; Among them, by analyzing the source of the image frame, the specific camera in the camera network can be identified and associated; for example, metadata parsing, such as the EXIF ​​information of the image file or the preset camera position layout diagram, can ensure that the camera corresponding to each image frame can be accurately mapped.

[0061] Step S302, extracting features of abnormal target individuals in target frames in multiple image frames respectively, and obtaining feature vectors of abnormal target individuals under multiple different cameras; Specifically, feature extraction algorithms (such as convolutional neural networks (CNNs)) are used to extract key visual features of abnormal targets within the labeled target box; these features include but are not limited to texture, shape, color distribution, etc. The feature extraction process aims to capture the visual uniqueness of the target and maintain a certain degree of invariance even in the case of lighting changes, occlusion, or posture changes.

[0062] It can be understood that by converting image information into high-dimensional feature vectors, a rich information basis is provided for subsequent target differentiation and matching, thereby improving the robustness of target recognition.

[0063] Step S303, feature encoding is performed on all feature vectors of the abnormal target individuals under multiple different cameras, and they are connected in series in chronological order to obtain feature encoding sequences of the abnormal target individuals under multiple different cameras.

[0064] Among them, all feature codes of the same abnormal target individual under different cameras are connected in chronological order to form a feature code sequence, which realizes the continuous tracking of abnormal targets in a multi-camera network. Even if the target moves between areas covered by different cameras, the consistency and accuracy of tracking can be maintained.

[0065] In some embodiments, in order to reduce the dimension of the feature vector and improve the comparison efficiency, the extracted high-dimensional features need to be encoded. Cosine similarity quantization, hash coding or dimensionality reduction technology (PCA, LDA) can be used to reduce the feature dimension while maintaining the distinguishability. The encoded feature vectors are then sorted in chronological order and connected in series to form a feature coding sequence to facilitate behavioral analysis and pattern recognition on the time series.

[0066] In the above implementation, efficient encoding of target features across cameras and continuous expression in time series are achieved, which can not only accurately identify and extract features of abnormal targets from complex scenes, but also continuously track these targets in a multi-camera environment, significantly enhancing the intelligent analysis capabilities and abnormal event response speed of the video surveillance system. This technical solution effectively solves the problem of cross-view target tracking and improves the monitoring efficiency in multiple fields such as public safety and intelligent transportation.

[0067] Reference Figure 4 As an implementation method of step S108, based on a feature matching algorithm, the step of performing multimodal fusion matching on feature coding sequences of abnormal target individuals under multiple different cameras includes: Step S401, weighted fusion of feature vectors of different modes in the feature coding sequence to obtain a fused comprehensive feature vector; The feature vector at each time point in the feature coding sequence contains the multimodal data of the abnormal target individual at that moment (for example, visible light image, infrared thermal imaging, depth information, etc.), and the feature vector of each modality reflects the characteristics of the target in a specific perceptual dimension; In some embodiments, in order to make full use of the complementarity of different modal information, a weighted fusion strategy is adopted, and the weight distribution is based on the contribution and reliability of each modality in the current task, and is automatically optimized and determined through prior knowledge or machine learning models; the fusion process involves a linear or nonlinear combination of the feature vectors of each modality to generate a comprehensive feature vector that can more comprehensively and accurately represent the cross-modal characteristics of the target.

[0068] Step S402, based on the fused comprehensive feature vector, using a feature matching algorithm to compare the similarity of feature coding sequences of abnormal target individuals under multiple different cameras; Among them, a feature matching algorithm, such as Euclidean distance or cosine similarity, is used to measure the similarity between the comprehensive feature vectors of abnormal target individuals under different cameras to determine the most likely matching sequence pair.

[0069] In some embodiments, a similarity score (eg, cosine similarity, Euclidean distance, etc.) is calculated and a temporary matching pool is established to record candidate matches and their similarity scores in all camera view transformations.

[0070] Step S403, determining a sequence pair that matches successfully based on a preset similarity threshold; Specifically, a preset similarity threshold is set as the criterion for successful matching. When the similarity score between two feature coding sequences exceeds this threshold, they can be determined as a successfully matched sequence pair. Each pair represents the corresponding relationship between the continuous appearance of abnormal target individuals under different camera perspectives.

[0071] Step S404, performing time synchronization and spatial alignment on the successfully matched sequence pairs; Among them, time synchronization ensures the consistency of events recorded by different cameras on the timeline, which is achieved by correcting the time deviation between different devices; spatial alignment is based on the physical position and direction information of the camera, and transforms and aligns the position of the target under different perspectives so that they can be compared and integrated in the same coordinate system.

[0072] Specifically, time synchronization can use technologies such as NTP (Network Time Protocol) or PTP (Precision Time Protocol), which can achieve millisecond or even microsecond time synchronization accuracy to ensure the consistency of the order of events in subsequent analysis. Spatial alignment can be achieved by pre-calibrating the position, orientation, and field of view of the camera, and using geometric transformations (such as perspective transformation and affine transformation) to determine the relative position of the target in the field of view of different cameras.

[0073] It is understandable that the consistency of time and space is the prerequisite for constructing a continuous and accurate cross-camera trajectory. This step solves the matching problem caused by the differences in acquisition time and perspective of different cameras, and provides a basis for generating a globally consistent target trajectory.

[0074] Step S405, creating independent trajectory segments for the abnormal target individuals within the field of view of each camera based on the time-synchronized and space-aligned sequence pairs; It can be understood that after the successful matching sequence pairs are synchronized in time and aligned in space, they can be used as basic data for creating independent trajectory segments and performing trajectory splicing.

[0075] In some embodiments, based on the results of time synchronization and spatial alignment, for each target individual detected within the field of view of each camera, an independent trajectory segment may be created by a target detection and tracking algorithm (such as a Kalman filter, a deep learning tracking algorithm); Specifically, the target detection algorithm (such as YOLO, SSD, etc.) can be used to accurately locate the position of the target individual in the video frame of each camera, and generate a series of target frame sequences representing the target position; then, the tracking algorithm (Kalman filter) is applied to predict the position of the current frame using the target state of the previous frame, and correct it in combination with the observation information, or a deep learning tracking algorithm is used to robustly match the target by maintaining a dynamic model of the target's appearance features, thereby generating a continuous, temporally synchronized and spatially precise trajectory segment for each camera.

[0076] Among them, these trajectory segments record the motion path and time series of the target under the perspective of a single camera, realize the fine tracking of the target movement within the field of view of a single camera, provide a basic unit for cross-camera association, and improve the accuracy and efficiency of subsequent trajectory stitching.

[0077] Step S406 , splicing the trajectory segments according to time sequence and spatial continuity to obtain cross-camera target trajectory segments.

[0078] Among them, according to the principles of time sequence and spatial continuity, the corresponding independent trajectory segments in the field of view of different cameras are matched and spliced ​​to form a continuous target trajectory across cameras.

[0079] Specifically, a matching algorithm of trajectory data, such as nearest neighbor search, Hungarian algorithm, or machine learning-based methods, can be used to solve the ID switching problem across cameras and ensure continuous and seamless trajectory presentation of the target within the coverage of multiple cameras.

[0080] In the above implementation, through multimodal feature fusion, precise matching, and spatiotemporal consistency processing, an efficient and robust cross-camera abnormal target tracking system is constructed, and cross-camera target trajectories are created and spliced, thereby achieving continuous and accurate tracking of individual behavior trajectories in the monitoring area. By restoring the complete action trajectory of the target in the entire monitoring area, it is of great significance for applications such as behavior analysis, security monitoring, and crowd management.

[0081] Reference Figure 5 As a further implementation of the image processing method, after obtaining the matched cross-camera target trajectory segment, the method further includes: Step S501, constructing a movement prediction model based on the environment map data and historical sample trajectory data; In some embodiments, a machine learning algorithm may be used to construct a movement prediction model, which can utilize spatial features in environmental map data and capture the time series pattern of target movement to effectively predict the movement trajectory of the target in the future period; Step S502, inputting the cross-camera target trajectory fragment into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; Specifically, the cross-camera target trajectory fragments can be used to extract the movement patterns of abnormal target individuals through data analysis, such as dynamic features such as speed, direction, acceleration, and static features such as dwell time and turning rules. By inputting these feature sequences into the motion prediction model, the future trajectory of the abnormal target individual can be output; Step S503, determine whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; if so, jump to step S504; if not, do not perform any operation.

[0082] Among them, the predicted movement trajectory is compared and analyzed with the monitoring coverage of the existing camera network to evaluate whether the key points on the trajectory or the entire path fall into the monitoring blind spot, so as to ensure the real-time adaptive capability of the monitoring system, timely discover potential monitoring loopholes, and provide a basis for subsequent resource allocation.

[0083] Step S504, adjusting the camera network according to the predicted movement trajectory configuration, so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

[0084] Among them, when it is predicted that the predicted movement trajectory may exceed the current monitoring coverage, the system can trigger the reconfiguration of the camera network through monitoring configuration instructions, such as adjusting the angles of some cameras in the camera network, adding new camera nodes to the camera network, or directly enabling backup cameras to expand or optimize the coverage capabilities of the monitoring network.

[0085] It can be understood that the dynamic adjustment strategy ensures the continuity and integrity of monitoring. Even if the target moves to the edge of the original network or outside, it can still be effectively monitored, which greatly enhances the flexibility and coverage of the monitoring system.

[0086] In the above implementation, a target motion model is constructed and combined with environmental map data to predict the future trajectory of abnormal target individuals, thereby realizing intelligent prediction and adaptive monitoring adjustment of the behavior of the monitored object. By dynamically optimizing the camera layout, effective tracking of high-risk targets is ensured, providing advanced technical solutions for public safety, smart security and other fields. This intelligent and forward-looking monitoring and management strategy significantly improves the efficiency and effectiveness of security prevention.

[0087] Reference Figure 6 As an implementation of step S501, the step of constructing a mobile prediction model based on the environmental map data and the historical sample trajectory data includes: Step S601, preprocessing the environment map data and the historical sample trajectory data respectively; Specifically, the preprocessing step includes cleaning the original environment map data, removing noise and inconsistencies, and converting it into a format suitable for processing by machine learning algorithms, such as rasterization or vectorization representation, which includes normalized geographic coordinates, terrain features, and obstacle layout, so that the CNN neural network can efficiently identify and learn the key features of the map.

[0088] In addition, the preprocessing steps for historical sample trajectory data include cleaning the collected trajectory data and removing abnormal trajectory points to ensure the continuity and accuracy of the data; at the same time, it also includes smoothing the data in time series to ensure the continuity of the motion pattern.

[0089] Step S602, inputting the pre-processed environment map data into the CNN neural network for processing to obtain an environment feature map; In some embodiments, the preprocessed environmental map data can be analyzed by a pre-built convolutional neural network (CNN). After multiple layers of convolution and pooling operations, high-dimensional spatial features such as road structure and building distribution are automatically extracted to form an environmental feature map, thereby significantly enhancing the model's ability to understand the environment.

[0090] Step S603, extracting features from the preprocessed historical sample trajectory data to obtain dynamic trajectory features of the historical sample trajectory data; Specifically, dynamic features such as speed, acceleration, and direction change rate can be extracted from the preprocessed historical trajectory data. These features reflect the behavior patterns of moving objects and are the key to the prediction model's understanding of individual movement patterns.

[0091] Step S604, constructing time series input data according to the environmental feature map and the dynamic trajectory features; Among them, the extracted environmental feature map is combined with the dynamic trajectory features to construct a time series input data structure containing spatiotemporal information, which provides rich contextual information for the LSTM network and enables the model to learn the complex relationship between the environment and mobile behavior.

[0092] Step S605, inputting the time series data into the LSTM neural network to construct an LSTM-CNN fusion model; Specifically, the recurrent neural network of the LSTM unit is combined with the obtained environmental feature map to construct an LSTM-CNN fusion model; among them, the LSTM unit is good at processing long-range dependencies in time series data, and combined with the spatial features extracted by CNN, it can better predict future movement paths.

[0093] In one of the specific embodiments of the present application, the structure of the LSTM-CNN model specifically includes an environmental feature extraction layer, a dynamic trajectory feature extraction layer and a time series prediction layer: wherein the environmental feature extraction layer includes an input layer (receiving preprocessed environmental map data, such as a rasterized map image), a multi-layer convolution layer (learning and extracting spatial features in the map, such as road networks, obstacle distribution, etc., through different convolution kernel sizes and step sizes), a pooling layer (reducing the spatial dimension of the feature map, extracting key features, and reducing computational complexity) and a flattening layer (converting the three-dimensional feature map output by the convolution layer into a one-dimensional vector to prepare for the LSTM layer); Among them, the dynamic trajectory feature extraction layer includes preprocessing (time alignment and feature extraction of historical sample trajectory data, such as speed, direction change, etc.) and feature vector construction (combining the extracted dynamic features with the corresponding position features in the environmental feature map to form a feature vector sequence containing spatiotemporal information); the time series prediction layer includes the LSTM input layer (receiving sequence data composed of environmental features and dynamic trajectory features), the LSTM layer (containing LSTM units with multiple time steps, using the gating mechanism to capture the time dependency in the sequence and learn the dynamic pattern of the trajectory) and the output layer (predicting the moving trajectory points of the target in the future period, which may be a continuous coordinate sequence or target state).

[0094] Step S606, dividing the preprocessed historical sample trajectory data into a training set and a validation set; Step S607, inputting the training set into the LSTM-CNN fusion model for initial training, optimizing the model parameters through the back propagation algorithm, and obtaining an initially trained motion prediction model; Among them, by inputting the processed training set data into the model, the back propagation algorithm is applied to continuously adjust the model parameters to minimize the error between the predicted trajectory and the actual trajectory, such as the mean square error (MSE) or the mean absolute error (MAE), thereby improving the generalization ability and prediction accuracy of the model.

[0095] Step S608, verifying the mobility prediction model and correcting model parameters based on the verification set until the loss function of the model meets the preset conditions, thereby obtaining a trained mobility prediction model.

[0096] Specifically, the model can be tested using a validation set, and the model parameters can be adjusted according to the validation results until the model loss function reaches a preset threshold, ensuring that the model is neither overfitting nor underfitting and maintains good generalization performance. The model loss function may include mean square error (MSE) or mean absolute error (MAE).

[0097] In the above implementation, CNN feature extraction of the integrated environmental map and LSTM time series analysis of trajectory data are used to achieve high-precision prediction of the future path of the mobile object. The LSTM-CNN hybrid architecture fully utilizes spatiotemporal information to improve the adaptability and prediction accuracy of the prediction model in complex environments.

[0098] In the actual application process, this application has significantly enhanced the intelligence level of security monitoring by integrating advanced machine learning and computer vision technologies, and realized the full process automation processing from data reception, preprocessing, abnormal behavior recognition to cross-camera tracking and trajectory prediction. It can not only quickly and accurately detect and lock abnormal targets, improve emergency response speed, but also ensure that important targets are continuously covered by dynamically adjusting monitoring resources, effectively preventing and controlling security risks. In addition, this application also provides a scientific basis for security management decisions, optimizes resource allocation, and reduces labor costs. It has great practical significance for improving public safety, smart city management, and security prevention and control capabilities of various places.

[0099] The embodiment of the present application also discloses an image processing system for intelligent security monitoring.

[0100] An image processing system for intelligent security monitoring, the system comprising: A receiving module, used for receiving real-time monitoring data from multiple cameras; A preprocessing module, used for preprocessing real-time monitoring data; The abnormal behavior recognition module is used to identify abnormal behavior individuals based on the pre-processed real-time monitoring data of each camera based on the machine learning algorithm; A target determination module is used to determine the camera that identifies the individual with abnormal behavior as a target camera, and determine the individual with abnormal behavior as an abnormal target individual; A camera network construction module is used to construct a camera network based on the target camera and cameras within a preset monitoring radius; The monitoring data processing module is used to obtain the real-time monitoring data of all cameras in the camera network, and perform frame rate adaptation and format conversion processing to obtain the monitoring data set; The target detection module is used to perform target detection and target frame annotation on each monitoring image frame in the monitoring data set based on abnormal target individuals, and obtain multiple image frames containing target frame annotations; A feature coding module is used to extract and encode target features based on multiple image frames containing target frame annotations to obtain feature coding sequences of abnormal target individuals under multiple different cameras; The feature matching module is used to perform multimodal fusion matching on the feature coding sequences of abnormal target individuals under multiple different cameras based on the feature matching algorithm to obtain the matched cross-camera target trajectory fragments; A movement trajectory generation module is used to construct movement trajectory information of abnormal target individuals based on cross-camera target trajectory fragments; The update module is used to update the movement trajectory information to the security management terminal in real time.

[0101] In the above implementation, by integrating efficient data processing and intelligent analysis technologies, accurate identification and tracking of abnormal behaviors in the monitoring area are achieved; data is collected from multi-source cameras in real time, and after pre-processing and advanced machine learning algorithm processing, individuals with abnormal behaviors are effectively identified, and a dynamic camera network centered on these individuals is constructed. Utilizing the collaborative monitoring of cameras within the network, the system tracks the target across lenses, and ensures the consistency of the target identity across cameras through sophisticated target detection, feature encoding and multimodal matching technology. Furthermore, the system generates and updates the movement trajectory information of abnormal targets to the security management terminal in real time, greatly improving the monitoring response speed and the accuracy of abnormal event processing, providing intuitive and timely intelligence support for security management decisions, and strengthening public safety protection capabilities.

[0102] Furthermore, as a further implementation of the image processing system, the image processing system further includes: A mobility prediction model building module is used to build a mobility prediction model based on environmental map data and historical sample trajectory data; A movement trajectory prediction module is used to input the cross-camera target trajectory fragments into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; A judgment module is used to judge whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; if so, outputting the exceeding judgment result; The configuration adjustment module is used to respond to the exceeding judgment result and adjust the camera network according to the predicted movement trajectory configuration so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

[0103] In the above implementation, a high-precision mobile prediction model is constructed by integrating environmental map information and historical trajectory data analysis. This model can not only receive and analyze the target trajectory tracked across cameras, but also predict the future movement path of abnormal targets. Once it is predicted that the target may move out of the current monitoring field of view, the system immediately triggers the judgment and issues an early warning, and then automatically starts the configuration adjustment module to intelligently optimize the camera layout and monitoring range based on the predicted trajectory to ensure that the target is continuously under monitoring. This series of intelligent operations significantly improves the initiative and flexibility of the monitoring system, effectively prevents the emergence of monitoring blind spots, and provides forward-looking strategy support and dynamic adaptability for security prevention.

[0104] An image processing system for intelligent security monitoring in an embodiment of the present application can implement any of the above-mentioned image processing methods, and the specific working process of each module in the image processing system can refer to the corresponding process in the above-mentioned method embodiment.

[0105] In the several embodiments provided in this application, it should be understood that the provided methods and systems can be implemented in other ways. For example, the system embodiments described above are only illustrative; for example, the division of a certain module is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0106] The embodiment of the present application also discloses a computer device.

[0107] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, an image processing method for intelligent security monitoring as described above is implemented.

[0108] The embodiment of the present application also discloses a computer-readable storage medium.

[0109] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above-mentioned image processing methods for intelligent security monitoring.

[0110] Among them, computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus or device; the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0111] It should be noted that in the above embodiments, the description of each embodiment has different emphases, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0112] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. An image processing method for intelligent security monitoring, characterized in that: The method comprises: Receive real-time monitoring data from multiple cameras and perform pre-processing; Based on the machine learning algorithm, the real-time monitoring data of each camera after preprocessing is used to identify abnormal behaviors. Determine the camera that identifies the individual with abnormal behavior as a target camera, and determine the individual with abnormal behavior as an abnormal target individual; Based on the target camera as the center, a camera network is constructed according to cameras within a preset monitoring radius; Acquire real-time monitoring data of all cameras in the camera network, and perform frame rate adaptation and format conversion processing to obtain a monitoring data set; Based on the abnormal target individuals, target detection is performed frame by frame on each surveillance image in the surveillance data set, and target frame annotation is performed to obtain multiple image frames containing target frame annotations; Extracting and encoding target features according to multiple image frames containing the target frame annotations to obtain feature coding sequences of the abnormal target individuals under multiple different cameras; Based on the feature matching algorithm, the feature coding sequences of the abnormal target individuals under multiple different cameras are subjected to multi-modal fusion matching to obtain the matched cross-camera target trajectory fragments; According to the cross-camera target trajectory fragment, the movement trajectory information of the abnormal target individual is constructed and updated to the security management terminal in real time.

2. The image processing method for intelligent security monitoring according to claim 1, characterized in that: Based on the target camera as the center, the steps of constructing a camera network according to cameras within a preset monitoring radius include: Based on the target camera as the center, determine all cameras within a preset monitoring radius; According to the installation location information and parameter configuration information of all cameras within the preset monitoring radius, a monitoring polygon of all cameras within the preset monitoring radius is obtained; the monitoring polygon is a polygonal representation of the monitoring range of the camera on a two-dimensional plane; Screening cameras that intersect or are adjacent to the monitoring polygon of the target camera and determining them as neighborhood cameras; A camera monitoring network is constructed based on the intersection information and positional relationship of the monitoring polygons of the plurality of neighborhood cameras and the target camera.

3. The image processing method for intelligent security monitoring according to claim 1, characterized in that: The step of extracting and encoding target features according to multiple image frames containing the target frame annotations to obtain feature coding sequences of the abnormal target individuals under multiple different cameras includes: Determining a plurality of corresponding cameras in a camera network according to a plurality of image frames containing the target frame annotations; Extracting features of abnormal target individuals in target frames within multiple image frames respectively, and obtaining feature vectors of the abnormal target individuals under multiple different cameras; All feature vectors of the abnormal target individual under multiple different cameras are feature encoded and connected in series in chronological order to obtain feature coding sequences of the abnormal target individual under multiple different cameras.

4. The image processing method for intelligent security monitoring according to claim 3, characterized in that: Based on the feature matching algorithm, the step of performing multimodal fusion matching on the feature coding sequences of the abnormal target individuals under multiple different cameras includes: Performing weighted fusion on the feature vectors of different modes in the feature coding sequence to obtain a fused comprehensive feature vector; Based on the fused comprehensive feature vector, a feature matching algorithm is used to compare the similarity of the feature coding sequences of the abnormal target individuals under multiple different cameras; Based on a preset similarity threshold, determining a sequence pair that matches successfully; Perform time synchronization and spatial alignment on the successfully matched sequence pairs; Based on the time-synchronized and spatially aligned sequence pairs, independent trajectory segments are created for the abnormal target individuals within the field of view of each camera; The trajectory segments are spliced ​​according to time sequence and spatial continuity to obtain cross-camera target trajectory segments.

5. An image processing method for intelligent security monitoring according to any one of claims 1 to 4, characterized in that: After obtaining the matched cross-camera target track segment, the following steps are also included: Build a mobility prediction model based on environmental map data and historical sample trajectory data; Inputting the cross-camera target trajectory fragment into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; Determining whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; If so, the camera network is adjusted according to the predicted movement trajectory configuration so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

6. The image processing method for intelligent security monitoring according to claim 5, characterized in that: Based on the environmental map data and historical sample trajectory data, the steps of building a mobility prediction model include: Preprocessing the environmental map data and the historical sample trajectory data respectively; Inputting the preprocessed environmental map data into a CNN neural network for processing to obtain an environmental feature map; Extracting features from the preprocessed historical sample trajectory data to obtain dynamic trajectory features of the historical sample trajectory data; Constructing time series input data according to the environmental feature map and the dynamic trajectory features; Input the time series data into the LSTM neural network to construct an LSTM-CNN fusion model; Divide the preprocessed historical sample trajectory data into a training set and a validation set; Inputting the training set into the LSTM-CNN fusion model for initial training, optimizing the model parameters by back propagation algorithm, and obtaining the initially trained motion prediction model; The mobility prediction model is verified and model parameters are corrected based on the verification set until the loss function of the model meets a preset condition, thereby obtaining the trained mobility prediction model.

7. An image processing system for intelligent security monitoring, characterized in that: The system comprises: A receiving module, used for receiving real-time monitoring data from multiple cameras; A preprocessing module, used for preprocessing the real-time monitoring data; The abnormal behavior recognition module is used to identify abnormal behavior individuals based on the pre-processed real-time monitoring data of each camera based on the machine learning algorithm; A target determination module, used to determine a camera that identifies an individual with abnormal behavior as a target camera, and to determine the individual with abnormal behavior as an abnormal target individual; A camera network construction module, used to construct a camera network based on the target camera as the center and based on cameras within a preset monitoring radius; A monitoring data processing module is used to obtain real-time monitoring data of all cameras in the camera network, and perform frame rate adaptation and format conversion processing to obtain a monitoring data set; A target detection module is used to perform target detection and target frame annotation on each monitoring image frame in the monitoring data set based on abnormal target individuals, so as to obtain multiple image frames containing target frame annotations; A feature coding module is used to extract and encode target features according to a plurality of image frames containing the target frame annotations, so as to obtain a feature coding sequence of the abnormal target individual under a plurality of different cameras; A feature matching module is used to perform multimodal fusion matching on the feature coding sequences of the abnormal target individuals under multiple different cameras based on a feature matching algorithm to obtain a matched cross-camera target trajectory segment; A movement trajectory generation module, used to construct movement trajectory information of the abnormal target individual according to the cross-camera target trajectory fragment; The updating module is used to update the movement track information to the security management terminal in real time.

8. The image processing system for intelligent security monitoring according to claim 7, characterized in that: The image processing system further comprises: A mobility prediction model building module is used to build a mobility prediction model based on environmental map data and historical sample trajectory data; A movement trajectory prediction module, used to input the cross-camera target trajectory fragment into the movement prediction model to obtain the predicted movement trajectory of the abnormal target individual in the future period; A judgment module, used to judge whether the predicted movement trajectory exceeds the monitoring coverage of the camera network; if so, outputting a judgment result; A configuration adjustment module is used to respond to the exceeding judgment result and adjust the camera network according to the predicted movement trajectory configuration so that the monitoring coverage of the camera network always covers the predicted movement trajectory.

9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the program.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Pedestrian identification and tracking method based on multi-camera monitoring network

    CN117037040A

  • Unmanned system large-span shuttle multi-camera trajectory tracking identification method

    CN117218382A

  • Method, device, and system for target tracking

    WO2021170030A1

  • Path prediction method and apparatus, device, storage medium, and program

    WO2022022721A1

  • AU2020100371A4

Cited By

  • Monitoring video intelligent inspection management method and system based on artificial intelligence

    CN119131702A

  • A surveillance video intelligent inspection management method and system based on artificial intelligence

    CN119131702B

  • New energy prime mover equipment remote monitoring management system based on Internet of Things technology

    CN119206625A

  • A remote monitoring and management system for new energy prime mover equipment based on Internet of Things technology

    CN119206625B

  • Intelligent security and protection monitoring platform based on computer and system thereof

    CN119360309A