Intelligent tracking method and system integrating face recognition and posture recognition
Through the intelligent tracking method of integrating face recognition and posture recognition, combined with lightweight retinaface and GaitGL network, the problem of low efficiency and insufficient accuracy of target personnel tracking in the existing technology is solved, and more efficient and accurate identification and tracking is achieved. .
Patent Information
- Application Number
- CN202410291643.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing target personnel tracking methods are inefficient and insufficiently accurate in places with large traffic. They are greatly affected by factors such as clothing, occlusion, and perspective, making it difficult to effectively identify and track.
Using an intelligent tracking method that integrates face recognition and posture recognition, through the dual recognition of facial features and posture features, combined with lightweight retinaface network and GaitGL network, facial and posture features are monitored and compared in real time to improve recognition accuracy and tracking efficiency.
It improves the identification accuracy and tracking efficiency of target personnel, avoids the influence of factors such as clothing, occlusion, and perspective, provides more accurate information on external dress and posture characteristics, and greatly improves the efficiency and accuracy of tracking.
Smart Images

Figure CN119007255A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of target recognition and personnel tracking, and more particularly to an intelligent tracking method and system integrating face recognition and gesture recognition. Background Art
[0002] Traditional target tracking methods mainly rely on human eyes to distinguish the facial features of people in the surveillance image and compare the target person's head portrait to determine whether the person in the surveillance image is the target person. However, manual judgment is inefficient and slow, and the frequency of personnel replacement is high in places with large traffic.
[0003] Therefore, in order to improve the efficiency of tracking people in surveillance videos, intelligent video analysis methods based on pedestrian re-identification (Re-Identification, ReID) have gradually become a hot topic in the field of computer vision. Pedestrian re-identification technology, also known as pedestrian re-identification, is a technology that uses computer vision technology to determine whether there is a specific pedestrian in an image or video sequence.
[0004] However, due to the differences between different camera devices, and the fact that pedestrians have both rigid and flexible characteristics, and their faces and overall appearance are easily affected by clothing, scale, occlusion and viewing angle, pedestrian re-identification still has shortcomings in terms of recognition efficiency and accuracy.
[0005] Therefore, in view of the defects of the existing technology that can only recognize people's faces, how to avoid the influence of factors such as clothing, occlusion, and viewing angle when identifying the target person, and improve the recognition accuracy and tracking efficiency, is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0006] In view of this, the present invention provides an intelligent tracking method and system integrating face recognition and gesture recognition, aiming to improve the recognition accuracy of target persons and improve tracking efficiency.
[0007] In order to achieve the above object, the present invention provides the following technical solutions:
[0008] An intelligent tracking method integrating face recognition and gesture recognition comprises the following steps:
[0009] Step 1: Obtain the target person's facial information and extract the target person's facial features through facial recognition;
[0010] Step 2: Real-time target monitoring is performed on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person;
[0011] Step 3: Determine the first tracking information and send it to the command center and / or tracking personnel;
[0012] Step 4: intercept the video clips in which the target person appears in the surveillance video, perform posture recognition on the target person, and extract the posture features of the target person;
[0013] Step 5: Monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person.
[0014] Step 6: Determine the second tracking information, send it to the command center and / or tracking personnel, and return to step 5 for real-time monitoring.
[0015] Optionally, the facial data of the target person is stored in a preset facial data database, and the facial data in the facial data database corresponds to the person's identity information.
[0016] Optionally, the first tracking information includes: location information of the surveillance video in which the target person appears in step 2, facial information of the target person, and a screenshot of the target person in the surveillance video in which the target person appears in step 2;
[0017] The second tracking information includes: the location information of the surveillance video where the target person appears in step 5, the facial information of the target person, and a screenshot of the target person in the surveillance video where the target person appears in step 5.
[0018] Optionally, the method for extracting facial features of the target person and the person in the surveillance video through facial recognition is:
[0019] Facial region detection: A lightweight retinaface network is used to detect face frames. The input of the network is the target person's facial image or a surveillance video screenshot. The output face frame detection result is: (N, X, Y, W, H), where N is the number of faces detected in the image, (X, Y, W, H) are the upper left corner position coordinates (X, Y) of a face frame, and the width W and height H of the face frame.
[0020] Facial feature extraction: Extract facial features using a pre-trained facial feature extraction model.
[0021] Optionally, taking the ResNet-101 convolutional neural network as the basic model, taking the face image as the input, and taking the face features as the output, the ResNet-101 convolutional neural network is trained using the face image dataset to obtain a face feature extraction model.
[0022] Optionally, the facial feature similarity and posture feature similarity are calculated by using a cosine similarity algorithm to calculate the similarity between the features.
[0023] Optionally, a method for extracting posture features of a target person or other persons in a surveillance video through posture recognition is:
[0024] Intercepting video clips from the surveillance video to obtain several continuous frames of the target person or other persons in the surveillance video;
[0025] Several consecutive frames are input into the pre-trained posture feature extraction model to obtain the posture features of the target person or other persons in the surveillance video.
[0026] Optionally, the basic model of the posture feature extraction model is a GaitGL network.
[0027] An intelligent tracking system integrating face recognition and gesture recognition, comprising:
[0028] The facial feature extraction module is used to obtain the facial information of the target person and extract the facial features of the target person through facial recognition;
[0029] The facial feature comparison module is used to perform real-time target monitoring on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person;
[0030] A first tracking information determination module, used to determine first tracking information and send it to a command center and / or tracking personnel;
[0031] A posture feature extraction module is used to capture video clips of target persons appearing in surveillance videos, perform posture recognition on the target persons, and extract posture features of the target persons;
[0032] The dual feature comparison module is used to monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person.
[0033] The second tracking information determination module is used to determine the second tracking information, send it to the command center and / or the tracking personnel, and return it to the dual feature comparison module for real-time monitoring.
[0034] It can be seen from the above technical solutions that the present invention provides an intelligent tracking method and system integrating face recognition and gesture recognition, which has the following beneficial effects compared with the prior art:
[0035] The present invention first determines the first tracking information based on the facial data information of the target person and performs preliminary tracking; then obtains the second tracking information based on the target person's video data and the facial features and posture features and performs tracking. In the process of detecting and identifying the target person, the present invention not only relies on facial features, but also integrates the posture features of the target person for identification, avoiding the influence of factors such as the target person's clothing, occlusion, and viewing angle, thereby improving the recognition accuracy and efficiency of the target person.
[0036] When tracking, the solution of the present invention can not only provide facial information and position information of the target person, but also determine the external clothing features and posture features of the target person through the solution to track the target person, thereby greatly improving the efficiency and accuracy of tracking. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0038] Figure 1 It is a schematic diagram of the method steps of the present invention;
[0039] Figure 2 It is a schematic diagram of the system module of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] The embodiment of the present invention discloses an intelligent tracking method integrating face recognition and gesture recognition, see Figure 1 , including the following steps:
[0042] Step 1: Obtain the target person's facial information and extract the target person's facial features through facial recognition.
[0043] Among them, the facial information of the target person is stored in a preset facial information database. The facial information in the facial information database corresponds to the person's identity information. The facial information is the facial image data of the target person. The person's identity information includes personal identity information such as ID number, name, and gender. When querying the facial information database, the ID number and / or name can be used to query and determine the final facial image data of the target person.
[0044] After acquiring the facial image data of the target person in the database, facial features are extracted through facial recognition technology. Specifically, a pre-trained facial feature extraction model can be used to extract facial features. The facial feature extraction model is based on the ResNet-101 convolutional neural network, which takes the facial image as input and the facial features as output. The ResNet-101 convolutional neural network is trained using a facial image dataset.
[0045] Step 2: Perform real-time target monitoring on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person appearing in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person.
[0046] Specifically, since each frame of the surveillance video contains a large number of irrelevant persons, it is necessary to first perform facial region detection on the video frame and use a lightweight retinaface network to detect the face frame. The input of the network is the face image of the target person or the screenshot image of the surveillance video. The output face frame detection result is: (N, X, Y, W, H), where N is the number of faces detected in the image, (X, Y, W, H) are the upper left corner position coordinates (X, Y) of a face frame, and the width W and height H of the face frame;
[0047] After obtaining a number of facial region detection frames, the content of the facial region detection frames is input into the above-mentioned face feature extraction model to extract facial features and obtain facial features of a number of different persons in the video frame.
[0048] Based on the facial features of the target person obtained in step 1 and the facial features of several different persons in the video frame obtained in step 2, similarity calculation and comparison are performed, and the person whose similarity reaches a preset similarity threshold is extracted and determined to be the target person.
[0049] Step 3: determine the first tracking information, including: the location information of the surveillance video where the target person appears in step 2, the facial information of the target person, and a screenshot of the target person in the surveillance video where the target person appears in step 2, and send it to the command center and / or the tracking personnel.
[0050] The main purpose of the above steps 1-3 is to preliminarily determine the first tracking information through the facial information of the target person, conduct preliminary tracking, and obtain the video information of the target person in the surveillance video, so as to provide a data basis for the subsequent determination of the posture characteristics of the target person.
[0051] Step 4: intercept the video clips in which the target person appears in the surveillance video, perform posture recognition on the target person, and extract the posture features of the target person.
[0052] Intercept the video clips in the surveillance video frame by frame to obtain several continuous frames of the target person;
[0053] Several consecutive frames are input into the pre-trained posture feature extraction model to obtain the posture features of the target person.
[0054] The basic model of the posture feature extraction model is the GaitGL network. The GaitGL network uses global visual information and local area details to develop a global and local feature extractor (GLFE) to aggregate and integrate global and local features. Local temporal aggregation (LTA) is used to further preserve spatial information by reducing the temporal resolution to obtain a higher spatial resolution. The network first uses 3D convolution to extract shallow posture features from the original input video frames. Then, a local temporal aggregation operation is used on the shallow posture features to aggregate temporal information and preserve more posture spatial information. Furthermore, the global and local feature extractors are used to perform combined feature integration on the global and local information to obtain a personnel posture feature map.
[0055] Step 5: Monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person.
[0056] For other surveillance videos in the search area, extract the video frame sequence according to step 4, input the facial feature extraction model and posture feature extraction model respectively, extract the facial features and posture features of each person in each surveillance video, and compare and analyze them with the target person. In this step, a similarity comparison analysis is performed from the dual perspectives of facial features and posture features as the basis for judging the target person, preventing the disguise of the target person from affecting the identification of the person, and further improving the tracking efficiency.
[0057] Step 6: Determine the second tracking information, send it to the command center and / or the tracking personnel, and return to step 5 for real-time monitoring. The second tracking information includes: the location information of the surveillance video where the target person appears in step 5, the facial information of the target person, and the screenshot of the target person in the surveillance video where the target person appears in step 5. The screenshot of the target person is mainly used to determine the external features of the target person's dress and appearance at the current moment. The target person's external dress features, facial features, and posture features are combined to track the target person, which greatly improves the efficiency and accuracy of tracking.
[0058] In the above-mentioned calculation process of the facial feature similarity and the posture feature similarity, the cosine similarity algorithm may be used to calculate the similarity between the features, and other similarity calculation methods may also be used, which is not limited in the present invention.
[0059] Another embodiment of the present invention also provides an intelligent tracking system integrating face recognition and gesture recognition, see Figure 2 ,include:
[0060] The facial feature extraction module is used to obtain the facial information of the target person and extract the facial features of the target person through facial recognition;
[0061] The facial feature comparison module is used to perform real-time target monitoring on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person;
[0062] A first tracking information determination module, used to determine first tracking information and send it to a command center and / or tracking personnel;
[0063] A posture feature extraction module is used to capture video clips of target persons appearing in surveillance videos, perform posture recognition on the target persons, and extract posture features of the target persons;
[0064] The dual feature comparison module is used to monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person.
[0065] The second tracking information determination module is used to determine the second tracking information, send it to the command center and / or the tracking personnel, and return it to the dual feature comparison module for real-time monitoring.
[0066] As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0067] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0068] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An intelligent tracking method integrating face recognition and gesture recognition, characterized in that: The following steps are involved: Step 1: Obtain the target person's facial information and extract the target person's facial features through facial recognition; Step 2: Real-time target monitoring is performed on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person; Step 3: Determine the first tracking information and send it to the command center and / or tracking personnel; Step 4: intercept the video clips in which the target person appears in the surveillance video, perform posture recognition on the target person, and extract the posture features of the target person; Step 5: Monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person. Step 6: Determine the second tracking information, send it to the command center and / or tracking personnel, and return to step 5 for real-time monitoring.
2. The intelligent tracking method integrating face recognition and gesture recognition according to claim 1, characterized in that: The target person's facial information is stored in a preset facial information database, and the facial information in the facial information database corresponds to the person's identity information.
3. The intelligent tracking method integrating face recognition and gesture recognition according to claim 1, characterized in that: The first tracking information includes: location information of the surveillance video where the target person appears in step 2, facial information of the target person, and a screenshot of the target person in the surveillance video where the target person appears in step 2; The second tracking information includes: the location information of the surveillance video where the target person appears in step 5, the facial information of the target person, and a screenshot of the target person in the surveillance video where the target person appears in step 5.
4. The intelligent tracking method integrating face recognition and gesture recognition according to claim 1, characterized in that: The method of extracting the facial features of the target person and the person in the surveillance video through facial recognition is: Facial region detection: A lightweight retinaface network is used to detect face frames. The input of the network is the target person's facial image or a surveillance video screenshot. The output face frame detection result is: (N, X, Y, W, H), where N is the number of faces detected in the image, (X, Y, W, H) are the upper left corner position coordinates (X, Y) of a face frame, and the width W and height H of the face frame. Facial feature extraction: Extract facial features using a pre-trained facial feature extraction model.
5. The intelligent tracking method integrating face recognition and gesture recognition according to claim 4, characterized in that: Taking the ResNet-101 convolutional neural network as the basic model, face images as input, and face features as output, the ResNet-101 convolutional neural network is trained using the face image dataset to obtain a face feature extraction model.
6. The intelligent tracking method integrating face recognition and gesture recognition according to claim 1, characterized in that: The method for calculating the facial feature similarity and the posture feature similarity is: using a cosine similarity algorithm to calculate the similarity between features.
7. The intelligent tracking method integrating face recognition and gesture recognition according to claim 1, characterized in that: The method of extracting the posture features of the target person or other persons in the surveillance video through posture recognition is as follows: Intercepting video clips from the surveillance video to obtain several continuous frames of the target person or other persons in the surveillance video; Several consecutive frames are input into the pre-trained posture feature extraction model to obtain the posture features of the target person or other persons in the surveillance video.
8. The intelligent tracking method integrating face recognition and gesture recognition according to claim 7, characterized in that: The basic model of the posture feature extraction model is the GaitGL network.
9. An intelligent tracking system integrating face recognition and gesture recognition, characterized in that: include: The facial feature extraction module is used to obtain the facial information of the target person and extract the facial features of the target person through facial recognition; The facial feature comparison module is used to perform real-time target monitoring on the surveillance video within the search area through facial recognition. When the facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person; A first tracking information determination module, used to determine first tracking information and send it to a command center and / or tracking personnel; A posture feature extraction module is used to capture video clips of target persons appearing in surveillance videos, perform posture recognition on the target persons, and extract posture features of the target persons; The dual feature comparison module is used to monitor the surveillance video in the search area in real time. When at least one of the posture feature similarity and facial feature similarity between a person in the surveillance video and the target person reaches a preset threshold, the person is determined to be the target person. The second tracking information determination module is used to determine the second tracking information, send it to the command center and / or the tracking personnel, and return it to the dual feature comparison module for real-time monitoring.
Citation Information
Patent Citations
Video stream-based face tracking and recognition system and method
CN110135384A
Facial recognition tracking method and system
CN114648059A
Child behavior track positioning method and system
CN114783043A
Intelligent monitoring method, device and equipment for safe operation of data center and medium
CN116129350A
Multi-dimensional identity recognition method and device, electronic equipment and program product
CN116912906A
Cited By
Face recognition tracking method and equipment based on holder
CN119625022A
