Variable sampling rate visual identification method based on AI model

Through the variable sampling rate visual recognition method based on the AI ​​model, the crowd aggregation degree is analyzed and the image collection frequency and resolution are adjusted, which solves the resource waste problem caused by the fixed monitoring frequency and resolution in the existing technology and achieves a more efficient Monitoring and energy efficiency ratio.

CN118537804APending Publication Date: 2024-08-23SHENZHEN JINTONG SAFETY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410759872.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The monitoring frequency and resolution of existing patrol monitoring robots are fixed and cannot be adjusted according to actual conditions, resulting in a waste of resources and reduced energy consumption.

Method used

Using a variable sampling rate visual recognition method based on an AI model, it intelligently adjusts image collection frequency and resolution by analyzing crowd aggregation, and issues an alarm when it detects that crowd aggregation exceeds a preset value.

Benefits of technology

It achieves reasonable allocation of computing resources based on actual conditions, improves system energy efficiency, and responds to crowd gathering situations in a timely manner, reducing resource waste and improving monitoring efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537804A
    Figure CN118537804A
Patent Text Reader

Abstract

The invention relates to the technical field of visual identification, in particular to a variable sampling rate visual identification method based on an AI model, which comprises the following steps: an inspection robot runs in a monitoring area according to a specified route and acquires crowd image data; preprocessing the crowd image data; analyzing the aggregation degree of the processed crowd image data to obtain the crowd aggregation degree of each region in the image; matching corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd aggregation degree; and when detecting that the crowd gathering degree exceeds a preset value, giving an alarm. Therefore, computing resources are reasonably distributed, and the overall energy efficiency ratio of the system is improved. When the AI model monitors that the crowd gathering degree of any area exceeds a preset safety threshold value, the system immediately triggers an alarm mechanism, and alarm information is transmitted to a monitoring center or field management personnel in real time through a wireless communication technology. Therefore, when monitoring is carried out in the public area, operation resources are reduced, and the monitoring efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual recognition technology, and in particular to a variable sampling rate visual recognition method based on an AI model. Background Art

[0002] Public security patrol monitoring is a comprehensive prevention strategy that integrates modern information technology and traditional security management models, aiming to ensure the safety and order of public places through intelligent means. It mainly relies on high-definition surveillance cameras installed in key areas, combined with Internet of Things technology, artificial intelligence recognition systems, and mobile patrol robots or human patrol teams to conduct 24-hour uninterrupted video monitoring and regular patrols of public places such as urban streets, transportation hubs, commercial centers, and residential areas. The monitoring system can collect image and sound information in real time, and use deep learning algorithms to automatically analyze crowd behavior and identify abnormal events, such as abnormal crowd gatherings and suspicious items left behind.

[0003] The monitoring frequency and resolution of existing patrol monitoring robots are fixed, which cannot be adjusted according to actual conditions, resulting in a high waste of resources and reduced energy efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide a variable sampling rate visual recognition method based on an AI model, so that the system can intelligently adjust the image acquisition frequency and resolution of different monitoring areas according to the crowd concentration information obtained by analysis, reasonably allocate computing resources, and improve the overall energy efficiency of the system.

[0005] To achieve the above-mentioned object, the present invention provides a variable sampling rate visual recognition method based on an AI model, comprising an inspection robot running along a specified route in a monitoring area and collecting crowd image data;

[0006] Preprocess crowd image data;

[0007] Analyze the concentration of the processed crowd image data to obtain the concentration of the crowd in each area of ​​the image;

[0008] Match the corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd concentration;

[0009] An alarm will be issued when it is detected that the crowd concentration exceeds the preset value.

[0010] The specific steps of the inspection robot running along a designated route in the monitoring area to collect image data of a crowd include:

[0011] Plan the inspection robot's operating route;

[0012] The inspection robot collects crowd image data while running along the running route;

[0013] The collected image data is transmitted to the host computer in real time.

[0014] The specific steps of preprocessing the crowd image data include:

[0015] Use denoising algorithms to reduce noise in images;

[0016] Improve the visual quality of images using histogram equalization.

[0017] The specific steps of analyzing the concentration of the processed crowd image data to obtain the concentration of the crowd in each area of ​​the image include:

[0018] Use edge detection methods to extract group boundaries in crowd images;

[0019] Based on the group boundary, the background subtraction method is used to separate the crowd foreground and background in the crowd image, and the center coordinates of the separation area are obtained;

[0020] Perform human segmentation on the group obtained by foreground segmentation, and use convolutional neural network to identify each human body in the image;

[0021] The crowd concentration degree is obtained based on the number of recognized human bodies.

[0022] The specific steps of using the edge detection method to extract group boundaries in a crowd image include:

[0023] Apply Canny edge detector to the preprocessed image to detect the edges in the crowd image;

[0024] Perform non-maximum suppression on the detected edge points to eliminate noise and redundant edge points in edge detection;

[0025] Use gradient direction encoding to connect detected edge points into edge segments;

[0026] The detected edge segments are smoothed to remove jagged edges.

[0027] The specific steps of separating the crowd foreground from the background in the crowd image by using the background subtraction method based on the group boundary and obtaining the center coordinates of the separation area include:

[0028] According to the coordinates of the group boundary, the background area is identified and marked in the original image;

[0029] Statistical modeling of the marked background regions to identify foreground objects;

[0030] Using the background modeling results, identify foreground objects in the current frame;

[0031] Separate the foreground object from the original image to obtain a foreground image containing only the crowd;

[0032] Convert the foreground image into a binary image;

[0033] Use the centroid calculation method to get the center coordinates of the foreground object.

[0034] The specific steps of performing human body segmentation on the group obtained by foreground segmentation and using a convolutional neural network to identify each human body in the image include:

[0035] Scale the original image;

[0036] Normalize the scaled image;

[0037] Use the labeled training data set to train the CNN network;

[0038] Use the validation data set to evaluate the trained model and obtain the evaluation results;

[0039] Fine-tune the model based on the evaluation results.

[0040] The specific steps of matching the corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd concentration include:

[0041] According to different scenarios and crowd concentration, define the frequency and resolution of data collection to obtain the adjustment set;

[0042] Get current scene parameters and crowd concentration;

[0043] The acquisition frequency and resolution of each area are determined by matching in the adjustment set according to the current scene parameters and crowd density.

[0044] The specific steps of issuing an alarm when the crowd concentration exceeds a preset value include:

[0045] Set crowd concentration threshold;

[0046] If the monitored crowd concentration exceeds the preset threshold, the alarm system will be triggered to sound an alarm;

[0047] Log alarm events in the system.

[0048] A variable sampling rate visual recognition method based on an AI model of the present invention comprises: a patrol robot runs along a designated route in a monitoring area and collects crowd image data; preprocesses the crowd image data; analyzes the concentration of the processed crowd image data to obtain the crowd concentration of each area in the image; matches the corresponding data collection frequency and resolution in the corresponding image area based on the crowd concentration; and issues an alarm when it is detected that the crowd concentration exceeds a preset value. First, according to the characteristics and safety requirements of the monitoring area, one or more efficient patrol paths are set for the patrol robot through an intelligent path planning algorithm. The robot moves autonomously along a predetermined route, and the high-definition camera carried continuously collects real-time image data of the covered area during the movement. The collected original image data first undergoes a series of preprocessing operations to optimize the image quality, and the preprocessed image data is analyzed using a convolutional neural network (CNN). These algorithms can accurately identify and track human bodies in the image, further count the number of people in each area, and analyze the crowd distribution density, that is, the crowd concentration. According to the crowd concentration information obtained by the analysis, the system intelligently adjusts the image acquisition frequency and resolution of different monitoring areas. For example, in areas with high population density, the acquisition frequency is automatically increased to more than tens of frames per second, and a high-resolution mode is used to ensure that any abnormal behavior or emergency in the crowd can be captured. In areas with sparse crowds, the acquisition frequency and resolution are reduced accordingly, and computing resources are allocated reasonably to improve the overall energy efficiency of the system. When the AI ​​model detects that the concentration of people in any area exceeds the preset safety threshold, the system immediately triggers the alarm mechanism and transmits the alarm information to the monitoring center or on-site management personnel in real time through wireless communication technology. This can reduce operating resources and improve monitoring efficiency when monitoring in public areas. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 It is a flowchart of a variable sampling rate visual recognition method based on an AI model according to the first embodiment of the present invention.

[0051] Figure 2 This is a flow chart of the inspection robot of the first embodiment of the present invention running along a designated route in a monitoring area and collecting crowd image data.

[0052] Figure 3 This is a flowchart of preprocessing crowd image data according to the first embodiment of the present invention.

[0053] Figure 4 This is a flow chart of analyzing the concentration degree of processed crowd image data to obtain the concentration degree of crowds in each area in the image according to the first embodiment of the present invention.

[0054] Figure 5 The flowchart of the first embodiment of the present invention is to use the edge detection method to extract the group boundary in the crowd image.

[0055] Figure 6 This is a flow chart of the first embodiment of the present invention, which uses a background subtraction method based on group boundaries to separate the crowd foreground and background in a crowd image, and obtains the center coordinates of the separation area.

[0056] Figure 7 This is a flowchart of the first embodiment of the present invention for performing human body segmentation on the group obtained by foreground segmentation and using a convolutional neural network to identify each human body in the image.

[0057] Figure 8 This is a flow chart of matching corresponding data acquisition frequency and resolution in corresponding image areas based on crowd concentration in the first embodiment of the present invention.

[0058] Fig. 9 This is a flow chart of issuing an alarm when it is detected that the crowd concentration exceeds a preset value according to the first embodiment of the present invention. DETAILED DESCRIPTION

[0059] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0060] First embodiment

[0061] See also Figures 1 to 9 The present invention provides a variable sampling rate visual recognition method based on an AI model, comprising:

[0062] The S101 inspection robot runs along a designated route within the monitoring area and collects crowd image data;

[0063] The specific steps include:

[0064] S201 plans the operation route of the inspection robot;

[0065] This step involves a comprehensive analysis of the environment and possible situations in the monitoring area to ensure that the robot can successfully complete its task. The planned route needs to cover every corner of the monitoring area as much as possible, while also taking into account possible obstacles.

[0066] The S202 inspection robot collects crowd image data while running along the running route;

[0067] During operation, the robot needs to use its sensors, cameras and other equipment to collect image data of the crowd in real time. This data is crucial for subsequent analysis, so the robot needs to ensure the accuracy and completeness of the data.

[0068] S203 transmits the collected image data to the host computer in real time.

[0069] After receiving the data, the host computer will analyze and process the data in order to timely grasp the dynamics in the monitoring area. This process requires the stability and efficiency of data transmission to ensure that the host computer can receive the latest data.

[0070] S102 pre-processes crowd image data;

[0071] The specific steps include:

[0072] S301 uses a denoising algorithm to reduce noise in the image;

[0073] Noise may be caused by poor shooting environment, limited equipment performance, etc. De-noising algorithms can help eliminate these noises, making the image clearer and better reflecting the real situation of the crowd. Common denoising algorithms include mean filtering, median filtering, and Gaussian filtering.

[0074] S302 uses histogram equalization to improve the visual quality of the image.

[0075] Histogram equalization is a method to improve image contrast. It can help make the brightness distribution in the image more uniform, thereby improving the visual quality of the image. Through equalization, the dark areas in the image can become brighter, and the bright areas can become darker, making the details of the image clearer. Through these processes, the quality of the image and the accuracy of the data can be effectively improved, laying a good foundation for subsequent analysis.

[0076] S103 analyzes the concentration of the processed crowd image data to obtain the concentration of the crowd in each area of ​​the image;

[0077] The specific steps include;

[0078] S401 uses an edge detection method to extract group boundaries in a crowd image;

[0079] The specific steps include:

[0080] S501 applies a Canny edge detector to the preprocessed image to detect edges in the crowd image;

[0081] After preliminary image preprocessing, such as denoising and grayscale conversion, the system will use the Canny edge detector to conduct in-depth analysis of the image. The Canny algorithm is a widely used edge detection technology, known for its good noise suppression ability and edge positioning accuracy. It determines the potential edge position by calculating the gradient strength and direction of the image, thereby accurately marking the initial clues of the crowd outline in a complex background.

[0082] S502 performs non-maximum suppression on the detected edge points to eliminate noise and redundant edge points in edge detection;

[0083] After Canny edge detection, there may be some false edges and noise points in the image due to changes in lighting, complex textures, or limitations of the algorithm itself. To solve this problem, non-maximum suppression technology is applied to this step. This process checks the pixel values ​​in the neighborhood along the gradient direction of each edge point, and only retains the edge points corresponding to the local maximum value, thereby filtering out weak edges and non-edge responses to achieve the purpose of denoising, making the final edge clearer and more accurate.

[0084] S503 uses gradient direction coding to connect the detected edge points into edge segments;

[0085] In order to construct a continuous boundary line from isolated edge points, the system uses a gradient direction encoding method. Each edge point is assigned a specific code based on its gradient direction, and adjacent points are connected by comparing the continuity of the codes. This strategy ensures that even if there are slight breaks or occlusions between edge segments, the edge points can be effectively connected to form a continuous and complete edge line, thereby outlining the general outline of the crowd.

[0086] S504 performs smoothing processing on the detected edge segments to remove jagged edges.

[0087] Finally, in order to improve the smoothness and visual effect of the edges, it is necessary to smooth the connected edge segments. This step can be achieved through a variety of image processing techniques, such as median filtering, bilateral filtering, or smoothing algorithms based on spline interpolation. Smoothing can effectively reduce the jagged appearance of the edges and make the group boundaries more natural and smooth, which is crucial for subsequent tasks such as group segmentation, counting, or behavior analysis. Through this series of carefully designed processing steps, public place safety inspection robots can more accurately understand and analyze crowd dynamics, providing solid technical support for public safety management.

[0088] S402: separating the crowd foreground and background in the crowd image by using a background subtraction method based on the group boundary, and obtaining the center coordinates of the separation area;

[0089] The specific steps include:

[0090] S601 identifies and marks the background area in the original image according to the coordinates of the group boundary;

[0091] The group boundary coordinates provide the outline information of the crowd in the image, through which the position of the background area can be determined. Marking the background area is to provide a basis for subsequent background subtraction.

[0092] S602 performs statistical modeling on the marked background area to identify the foreground object;

[0093] The purpose of this step is to build a probability distribution of the background model based on the pixel information of the background area. Statistical modeling can help the system identify the foreground objects, that is, the part of the crowd in the image.

[0094] S603 identifies a foreground object in the current frame using the background modeling result;

[0095] By comparing the pixels of the current frame with the background model, it is possible to determine which pixels belong to the foreground object and which belong to the background. The identified foreground object is the part of the crowd in the image.

[0096] S604 separates the foreground object from the original image to obtain a foreground image containing only the crowd;

[0097] This step is done by extracting the pixels of the identified foreground objects from the original image to form a new image that contains only the crowd and not the background.

[0098] S605 converts the foreground image into a binary image;

[0099] A binary image is an image with only two colors, black and white, which can be realized by setting a threshold. Converting to a binary image can simplify the subsequent processing steps and facilitate the analysis of the morphology and characteristics of the crowd.

[0100] S606 uses a centroid calculation method to obtain the center coordinates of the foreground object.

[0101] The centroid is a representation of the geometric center of an object. By calculating the centroid coordinates of the foreground object, the center position of the crowd in the image can be obtained. This position is important for analyzing the behavior and dynamics of the crowd.

[0102] S403 performs human body segmentation on the group obtained by foreground segmentation, and uses a convolutional neural network to identify each human body in the image;

[0103] The specific steps include:

[0104] S701 scales the original image;

[0105] The system receives raw image data from surveillance cameras or other image acquisition devices. In order to optimize the use of computing resources and ensure the efficient operation of the algorithm, the system automatically scales these images. The scaling ratio is pre-set based on hardware performance and algorithm requirements, aiming to reduce unnecessary pixel information while maintaining the key features of the image, thereby speeding up subsequent processing steps.

[0106] S702 performs normalization processing on the scaled image;

[0107] This step is crucial because it ensures that the image's brightness, contrast and other characteristics are under a unified standard, which is convenient for the recognition and learning of the convolutional neural network (CNN). Normalization adjusts the pixel value range of the image, usually to between 0-1 or -1 to 1, to eliminate the lighting differences between different images and enhance the generalization ability of the model.

[0108] S703 trains the CNN network using the labeled training data set;

[0109] The core part is to use a large number of labeled human segmentation training data sets to train the CNN network. In these data sets, each image is carefully marked with the outline and key parts of the human body so that the network can learn how to accurately distinguish and identify the human body from the complex background. During the training process, the network continuously adjusts the internal weights through the back-propagation algorithm to minimize the prediction error and gradually improve the accuracy of human segmentation.

[0110] S704 evaluates the trained model using the validation data set to obtain an evaluation result;

[0111] In order to verify the training results and avoid overfitting, the system will use an independent validation dataset to test the trained model. The validation set contains images that have not been learned by the model. By evaluating the processing results of these images, we can get a rough idea of ​​the performance of the model in actual applications. The evaluation criteria may include indicators such as accuracy, recall, and F1 score, which are crucial to understanding the strengths and weaknesses of the model.

[0112] S705 fine-tunes the model according to the evaluation results.

[0113] Finally, fine-tuning the model based on the evaluation feedback of the validation set is an iterative optimization process. If the model is found to perform poorly under certain specific conditions, such as in scenes with dense crowds or poor lighting conditions, the researchers will specifically adjust the model parameters, increase relevant training samples, or improve the network structure. Through such fine-tuning, the model can better adapt to the actual environment, improve the segmentation and recognition accuracy in various situations, and ensure the efficiency and reliability of the public safety inspection robot.

[0114] S404 obtains the crowd concentration based on the number of recognized human bodies.

[0115] The degree of aggregation can be obtained by counting the number of human bodies. The greater the number, the higher the degree of aggregation.

[0116] S104 matches the corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd concentration;

[0117] The specific steps include:

[0118] S801 defines the frequency and resolution of data collection according to different scenes and crowd concentration, and obtains an adjustment set;

[0119] The system will predefine the frequency and resolution of data collection according to different scenarios and crowd concentrations to form an adjustment set. This adjustment set is a database containing the data collection frequency and resolution corresponding to various scenarios and crowd concentrations.

[0120] S802 obtains current scene parameters and crowd concentration;

[0121] S803 performs matching in the adjustment set according to the current scene parameters and the crowd concentration to determine the acquisition frequency and resolution of each area.

[0122] The system will match the parameters of the current scene and the crowd concentration in the adjustment set to determine the data collection frequency and resolution of each area. At the same time, manual intervention can be performed based on the real-time regional focus and the system computing power. In this way, the system can automatically adjust the frequency and resolution of data collection according to the actual situation to obtain more accurate data, while also saving computing resources. Thus, by defining the adjustment set, the scene parameters and crowd concentration are obtained, and then matched in the adjustment set to determine the data collection frequency and resolution of each area. This intelligent monitoring system can automatically adjust the frequency and resolution of data collection according to the actual situation, which can not only improve the accuracy of the data, but also save computing resources.

[0123] S105 issues an alarm when it is detected that the crowd concentration exceeds a preset value.

[0124] The specific steps include:

[0125] S901 sets the crowd concentration threshold;

[0126] This threshold is determined based on safety management regulations, venue capacity limits, or other safety standards. The setting of the threshold needs to take into account the specific conditions of the venue, such as the size of the venue, the number of people designed to accommodate, historical data, and other factors, to ensure that the system can respond in a timely manner when the crowd concentration reaches a potentially dangerous level.

[0127] S902 If the monitored crowd concentration exceeds a preset threshold, the alarm system is triggered to sound an alarm;

[0128] S903 records the alarm event in the system.

[0129] The recorded information may include the time and location of the alarm, the concentration value that triggered the alarm, and any relevant image or video evidence. These records are very important for post-event analysis, investigation and future preventive measures.

[0130] In summary, the system can issue alarms in a timely manner and record relevant events so that appropriate measures can be taken. The application of this intelligent monitoring system helps to improve public safety and prevent potential dangers caused by crowding, while also providing valuable data support for venue management.

[0131] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A variable sampling rate visual recognition method based on an AI model, characterized in that: include: The inspection robot runs along the designated route in the monitoring area and collects crowd image data; Preprocess crowd image data; Analyze the concentration of the processed crowd image data to obtain the concentration of the crowd in each area of ​​the image; Match the corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd concentration; An alarm will be issued when it is detected that the crowd concentration exceeds the preset value.

2. A variable sampling rate visual recognition method based on an AI model as claimed in claim 1, characterized in that: The specific steps of the inspection robot running medical records and collecting crowd image data along a designated route in the monitoring area include: Plan the inspection robot's operating route; The inspection robot collects crowd image data while running along the running route; The collected image data is transmitted to the host computer in real time.

3. A variable sampling rate visual recognition method based on an AI model as claimed in claim 2, characterized in that: The specific steps of preprocessing the crowd image data include: Use denoising algorithms to reduce noise in images; Improve the visual quality of images using histogram equalization.

4. A variable sampling rate visual recognition method based on an AI model as claimed in claim 3, characterized in that: The specific steps of analyzing the concentration of the processed crowd image data to obtain the concentration of the crowd in each area of ​​the image include: Use edge detection methods to extract group boundaries in crowd images; Based on the group boundary, the background subtraction method is used to separate the crowd foreground and background in the crowd image, and the center coordinates of the separation area are obtained; Perform human segmentation on the group obtained by foreground segmentation, and use convolutional neural network to identify each human body in the image; The crowd concentration degree is obtained based on the number of recognized human bodies.

5. A variable sampling rate visual recognition method based on an AI model as claimed in claim 4, characterized in that: The specific steps of extracting group boundaries in a crowd image using an edge detection method include: Apply Canny edge detector to the preprocessed image to detect the edges in the crowd image; Perform non-maximum suppression on the detected edge points to eliminate noise and redundant edge points in edge detection; Use gradient direction encoding to connect detected edge points into edge segments; The detected edge segments are smoothed to remove jagged edges.

6. A variable sampling rate visual recognition method based on an AI model as claimed in claim 5, characterized in that: The specific steps of separating the crowd foreground and background in the crowd image by using the background subtraction method based on the group boundary and obtaining the center coordinates of the separation area include: According to the coordinates of the group boundary, the background area is identified and marked in the original image; Statistical modeling of the marked background regions to identify foreground objects; Using the background modeling results, identify foreground objects in the current frame; Separate the foreground object from the original image to obtain a foreground image containing only the crowd; Convert the foreground image into a binary image; Use the centroid calculation method to get the center coordinates of the foreground object.

7. A variable sampling rate visual recognition method based on an AI model as claimed in claim 6, characterized in that: The specific steps of performing human body segmentation on the group obtained by foreground segmentation and using a convolutional neural network to identify each human body in the image include: Scale the original image; Normalize the scaled image; Use the labeled training data set to train the CNN network; Use the validation data set to evaluate the trained model and obtain the evaluation results; Fine-tune the model based on the evaluation results.

8. A variable sampling rate visual recognition method based on an AI model as claimed in claim 7, characterized in that: The specific steps of matching the corresponding data acquisition frequency and resolution in the corresponding image area based on the crowd concentration include: According to different scenarios and crowd concentration, define the frequency and resolution of data collection to obtain the adjustment set; Get current scene parameters and crowd concentration; The acquisition frequency and resolution of each area are determined by matching in the adjustment set according to the current scene parameters and crowd density.

9. A variable sampling rate visual recognition method based on an AI model as claimed in claim 8, characterized in that: The specific steps of issuing an alarm when detecting that the crowd concentration exceeds a preset value include: Set crowd concentration threshold; If the monitored crowd concentration exceeds the preset threshold, the alarm system will be triggered to sound an alarm; Log alarm events in the system.