[go: up one dir, main page]

WO2020042419A1 - Gait-based identity recognition method and apparatus, and electronic device - Google Patents

Gait-based identity recognition method and apparatus, and electronic device Download PDF

Info

Publication number
WO2020042419A1
WO2020042419A1 PCT/CN2018/119766 CN2018119766W WO2020042419A1 WO 2020042419 A1 WO2020042419 A1 WO 2020042419A1 CN 2018119766 W CN2018119766 W CN 2018119766W WO 2020042419 A1 WO2020042419 A1 WO 2020042419A1
Authority
WO
WIPO (PCT)
Prior art keywords
pedestrian
tracking
target pedestrian
target
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/119766
Other languages
French (fr)
Chinese (zh)
Inventor
高原
黄磊
彭菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Publication of WO2020042419A1 publication Critical patent/WO2020042419A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • G06V40/25Recognition of walking or running movements, e.g. gait recognition
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person

Definitions

  • the present application relates to the field of computer vision technology, and in particular, to a gait-based identity recognition method, device, electronic device, and storage medium.
  • Biometric identification is the identification of individuals through various high-tech information detection methods, using the inherent physiological or behavioral characteristics of the human body.
  • Biological characteristics mainly include physiological characteristics and behavioral characteristics.
  • Behavioral characteristics refer to the characteristics extracted from the movements performed by a person, such as gait, handwriting and other characteristics. These characteristics are mostly acquired characteristics.
  • gait-based identification technology has been widely used in access control systems, security monitoring, human-computer interaction, and medical diagnosis.
  • the inventor's research on the prior art found that the security monitoring environment is usually complex.
  • a person is a non-rigid body, it is more flexible than a vehicle when moving, its contour features are constantly changing, and pedestrian occlusion is easy to occur in a multi-person environment, and pedestrian gait features are not easy to extract.
  • the accuracy of pedestrian gait information is low, and the accuracy of gait-based identification in multi-person scenarios is still low.
  • This application provides a gait-based identity recognition method, which helps to improve the accuracy of gait-based identity recognition in a multi-person scenario.
  • a gait-based identity recognition method including:
  • the target pedestrian is identified.
  • the steps of performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence include:
  • the target pedestrian in the video image sequence is detected, tracked, and pedestrian re-identified, and the corresponding one of each of the detection and tracking periods is determined. Tracking results of target pedestrians;
  • Steps to track results including:
  • the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle
  • the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle.
  • the predetermined target pedestrian is determined in at least one of the following ways:
  • the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;
  • the current detection tracking period is not the first detection tracking period, it is determined according to the tracking result corresponding to the previous detection tracking period with respect to the current detection tracking period and the detection result of the detection frame image of the current detection tracking period.
  • the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;
  • the detection result includes: a detection frame of a currently detected target pedestrian;
  • the step of re-identifying a pedestrian based on the tracking result and the detection result and determining a target pedestrian to be tracked in the next detection and tracking cycle includes:
  • For each of the target pedestrian pairs perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked;
  • the step of performing pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes:
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • Steps including:
  • the demand in the tracking loss state is determined.
  • the tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number, then Remove from target pedestrians to be tracked.
  • the target pedestrians in the video image sequence are detected and tracked in cycles.
  • target pedestrian detection is performed through the first frame of video image in each detection and tracking cycle, and pedestrian characteristics of the target pedestrian are extracted; through each detection tracking cycle The second and subsequent frames of video images are used to track the detected target pedestrian.
  • the target pedestrian tracking result in the previous detection and tracking period is updated by detecting the target pedestrian from the first frame of the video image of the subsequent detection and tracking period.
  • the step of determining a silhouette image sequence of the target pedestrian includes:
  • the silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian.
  • the step of identifying the target pedestrian based on the gait energy map of the target pedestrian includes:
  • a gait-based identity recognition device including:
  • a target pedestrian determination module configured to perform pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence
  • a silhouette image sequence determination module configured to determine a silhouette image sequence of the target pedestrian
  • a gait energy map determination module configured to obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian;
  • An identity recognition module is configured to identify the target pedestrian based on the gait energy map of the target pedestrian.
  • the target pedestrian determination module when performing pedestrian detection, tracking, and pedestrian recognition on a video image sequence to determine a target pedestrian in the video image sequence, the target pedestrian determination module further includes:
  • the detection tracking period determination submodule is configured to determine video images corresponding to consecutive detection and tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection and tracking period;
  • the periodic target pedestrian determination sub-module is configured to detect, track and re-identify the target pedestrian in the video image sequence based on the video images corresponding to each of the detection and tracking periods in the order from front to back. A tracking result of a target pedestrian corresponding to each of the detection and tracking periods;
  • the tracking result determination submodule is configured to determine a target pedestrian in the video image sequence according to a tracking result of a target pedestrian corresponding to the last detection and tracking period.
  • the periodic target pedestrian determination sub-module further includes:
  • a tracking unit is configured to track, for each of the detection and tracking cycles, a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection and tracking cycle, and determine a tracking corresponding to the current detection and tracking cycle. result;
  • a detection unit configured to perform a pedestrian detection on a detection frame image of a next detection and tracking period relative to the current detection and tracking period for each of the detection and tracking periods to determine a detection result
  • a pedestrian re-identification unit configured to perform pedestrian re-identification according to the tracking result and the detection result for each of the detection and tracking cycles, and determine a target pedestrian to be tracked in the next detection and tracking cycle;
  • the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle
  • the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle.
  • the predetermined target pedestrian is determined in at least one of the following ways:
  • the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;
  • the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period.
  • the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;
  • the detection result includes: a detection frame of a currently detected target pedestrian;
  • the pedestrian re-identification unit is further configured to:
  • the pedestrian re-identification unit is configured to perform pedestrian re-identification in the following manner according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian, and update the target to be tracked Pedestrian information:
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • the pedestrian re-identification unit is configured to perform pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians that need to be tracked in a tracking loss state, and update the Information of target pedestrians to be tracked:
  • the demand in the tracking loss state is determined.
  • the tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • the currently detected target pedestrian is added to the target pedestrians to be tracked, if the number of times that the currently detected target pedestrians are detected is less than a preset number, it is removed from the targets to be tracked. Removed from pedestrians.
  • the target pedestrian determination module is configured to perform pedestrian detection and tracking on a video image sequence in a periodical manner.
  • the target pedestrian determination module performs target pedestrian detection through the first frame video image in each detection and tracking cycle, and extracts pedestrian characteristics of the target pedestrian; through the second and subsequent frame video images in each detection and tracking cycle, Detected target pedestrians are tracked.
  • the target pedestrian determination module updates the target pedestrian tracking result in the previous detection and tracking cycle by detecting the target pedestrian from the first frame of the video image in the subsequent detection and tracking cycle.
  • the silhouette image sequence determination module is configured to determine the silhouette image sequence of the target pedestrian in the following manner:
  • the silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian.
  • identity recognition module is used for identity recognition in the following ways:
  • an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor implements the computer program when the processor executes the computer program.
  • a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the gait-based identification method.
  • FIG. 1 is a flowchart of a gait-based identification method according to the first embodiment of the present application
  • FIG. 2 is a flowchart of steps of detecting and tracking and re-identifying a pedestrian in a gait-based identification method according to a second embodiment of the present application;
  • FIG. 3 is one of the schematic structural diagrams of a gait-based identification device according to Embodiment 3 of the present application.
  • FIG. 4 is a second schematic structural diagram of a gait-based identification device according to Embodiment 3 of the present application.
  • FIG. 5 is a schematic structural diagram of a sub-module of a gait-based identification device according to Embodiment 3 of the present application.
  • a gait-based identification method disclosed in this embodiment is shown in FIG. 1.
  • the method includes steps 110 to 140.
  • Step 110 Perform pedestrian detection, tracking, and pedestrian recognition on the video image sequence to determine a target pedestrian in the video image sequence.
  • the input video image sequence may be a real-time camera surveillance video sequence, or a video in a video stream that is played.
  • a video image sequence consists of a sequence of frame-by-frame video images.
  • the video images in the video image sequence include images of multiple target pedestrians.
  • every 20 frames of video images are used as a detection tracking cycle.
  • Target pedestrian detection is performed through the first frame of video images in each detection tracking cycle, and the pedestrian characteristics of the target pedestrian are extracted. Then, subsequent frames of video in each detection tracking cycle are used. Image to track detected pedestrians.
  • the target pedestrian tracking result in the previous detection and tracking period is updated by detecting the target pedestrian from the first frame of the video image of the subsequent detection and tracking period.
  • tracking continues in the next detection and tracking cycle; for those that were lost during the previous detection and tracking cycle, the first frame of video in the next detection and tracking cycle
  • the target pedestrians re-detected in the image will continue to be tracked in the next detection and tracking cycle; for the target pedestrians not detected in the previous detection and tracking cycle and detected in the later detection and tracking cycle, the next detection and tracking will be performed. Tracking continues in the cycle; target pedestrians detected in the previous detection and tracking cycle but not detected in the later detection and tracking cycle will be temporarily identified as lost target pedestrians, and will be judged in the subsequent detection and tracking cycle The lost target pedestrian was detected again.
  • each target pedestrian detected in the video image sequence and the area where the target pedestrian is in the frame video image can be obtained.
  • Step 120 Determine a silhouette image sequence of the target pedestrian.
  • a unique identifier is assigned to each detected target pedestrian, and the same target pedestrian detected by different detection frame images uses the same identifier. Therefore, the target pedestrians detected in the last detection and tracking cycle also have unique identifiers, and the target pedestrians who have confirmed tracking loss in the last detection and tracking cycle also have unique identifiers.
  • a detection frame for each target pedestrian detected is also determined, and the detection frame is used to indicate an image area where the target pedestrian is located in the detection frame image.
  • the tracker is initialized through the detection frame, and the area where the target pedestrian is located in each tracking frame image is further tracked by the tracker.
  • the image area of the target pedestrian in the detection frame image is further determined according to the detection frame of a target pedestrian, or the image area of the target pedestrian in the tracking frame image is further determined according to the tracking frame of the target pedestrian;
  • the image area in the detection frame image or in the tracking frame image is input to a pre-trained U-shaped network (Unity Networking, UNet for short) or a U-shaped network, a timing-based network model, and a silhouette image of the target pedestrian can be obtained .
  • UNet Unity Networking
  • the silhouette images corresponding to the same target pedestrian are arranged according to the sequence of the video image frames to which the silhouette image belongs to obtain the silhouette image sequence corresponding to the same target pedestrian.
  • the training data when training the U-shaped network, is color image data, and the labels are corresponding binary images.
  • the prepared training data set is sent to the U-shaped network, and then forward calculation is performed. Loss function method, and error back propagation to modify the weights, optimize the network, repeatedly train the network to minimize the loss, and finally get an accurate U-shaped network for pedestrian segmentation.
  • Step 130 Obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian.
  • the threshold Th 20 of the silhouette image sequence is set in the specific implementation of this application.
  • gait recognition can be further performed according to the silhouette image sequence .
  • the gait energy map of the target pedestrian is determined by the following formula:
  • ID is the identification of the target pedestrian
  • x and y are the silhouette image coordinates
  • Count ID represents the (x, The pixel values of y) are accumulated and sum
  • GEI (x, y) ID represents the gait energy map corresponding to the (x, y) points of the silhouette image sequence of the target pedestrian identified as ID.
  • Step 140 Identify the target pedestrian based on the gait energy map of the target pedestrian.
  • the gait energy map of the target pedestrian may be identified through a pre-trained neural network model to determine the gait characteristics of the target pedestrian.
  • the gait feature of the target pedestrian is matched with the gait feature in a preset database, and the identity information of the user matching the gait feature of the target pedestrian is determined as the identity information of the target user. So far, the target user is identified based on the gait information.
  • a convolutional neural network including 1 convolutional layer, 2 residual blocks, and 2 fully connected layers may be used to extract gait features.
  • gait energy maps of several pedestrians are selected as training samples, where the sample data is the user's gait energy map and the sample labels are user categories.
  • the training samples are first sent to a convolutional neural network, and then a conv operation is performed first, and then the convolution results are down-sampled. After that, two residual blocks and two fully connected The layer performs forward transfer to find the error loss, and finally, performs the back propagation error training network.
  • the gait energy map used during training may be a gait energy map in a preset database or a gait energy map in a public database.
  • the feature vector of a feature output layer of the convolutional neural network can be used as the gait feature of the input gait energy map.
  • the gait-based identification method disclosed in the embodiments of the present application determines a target pedestrian in the video image sequence by performing pedestrian detection, tracking, and pedestrian re-identification on the video image sequence; determining a silhouette image sequence of the target pedestrian; Gait energy maps of the target pedestrians are obtained based on the silhouette image sequences of the target pedestrians respectively; the target pedestrians are identified based on the gait energy maps of the target pedestrians, which solves the problem of The problem of low accuracy of gait recognition.
  • the identification of the same and different target pedestrians in the video image sequence is performed by combining pedestrian detection, tracking, and pedestrian re-identification technologies, which improves the accuracy of target pedestrian recognition in the video image sequence and helps to improve the multi-person scene The accuracy of gait-based identification.
  • the steps of performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence include: pre-corresponding to a video image frame corresponding to each detection and tracking cycle. Set the number to determine the video images corresponding to the consecutive detection and tracking periods in the video image sequence; in the order from front to back, based on the video images corresponding to each of the detection and tracking periods, target pedestrians in the video image sequence Performing detection, tracking, and pedestrian re-identification to determine the tracking result of the target pedestrian corresponding to each of the detection and tracking cycles; and determining the target in the video image sequence according to the tracking result of the target pedestrian corresponding to the last detection and tracking cycle pedestrian.
  • the input video image sequence includes several frames of video images, the time interval between shooting each frame of video images is short, and the content does not change much.
  • Video images are all detected by pedestrians, and pedestrian features are extracted, which will cause pedestrian data redundancy and reduce the efficiency of identity recognition. Therefore, this application performs pedestrian detection based on the detection and tracking cycle to improve the efficiency of identity recognition and avoid pedestrian features. redundancy.
  • each 20-frame video image corresponds to one detection and tracking period, and pedestrian detection is performed only on the first frame of video images in each detection and tracking period to determine a target pedestrian included therein.
  • the target pedestrian is lost due to the rapid movement of a detected target pedestrian.
  • This application is based on each detection The second and subsequent video image frames in the tracking cycle track the detected target pedestrian.
  • step of the result includes performing the operations of step 210 to step 240 for each of the detection tracking cycles.
  • Step 210 Based on the tracking frame image corresponding to the current detection tracking period, track a predetermined target pedestrian in the video image sequence to determine a tracking result corresponding to the current detection tracking period.
  • the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking period
  • the tracking frame image is a video image sequence corresponding to each detection tracking period. Video image except the first frame video image.
  • a video image sequence includes three detection and tracking periods, and each detection and tracking period corresponds to 20 frames of video images as an example.
  • the detailed description is based on the target pedestrian in the video image sequence based on the video image corresponding to each detection and tracking period. Detection, tracking, and pedestrian re-identification, and a specific implementation scheme for determining a tracking result of a target pedestrian corresponding to each detection and tracking cycle.
  • the predetermined target pedestrian is determined by at least one of the following methods: if the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period; if the current detection and tracking period is not the first The detection tracking period is determined according to the tracking result corresponding to the previous detection tracking period relative to the current detection tracking period and the detection result of the detection frame image of the current detection tracking period.
  • the target pedestrian is determined according to the detection result of the detection frame image of the detection and tracking period.
  • pedestrian detection is performed on a detection frame image corresponding to a first detection and tracking period, and a target pedestrian included in the detection frame image is determined.
  • a unique identifier is assigned to the target pedestrian detected in the detection frame image. For example, if three target pedestrians are detected in the detection frame image of the first detection tracking cycle, the identifiers of the three target pedestrians can be set to 1, 2, and 3 respectively.
  • the target pedestrian detected in the detection frame image is determined as the target pedestrian to be tracked.
  • a target information queue needs to be created to store the detected target pedestrian information, for example, to store the target pedestrian.
  • Information such as the identity of the pedestrian, pedestrian characteristics and silhouette images corresponding to the identity.
  • the determined target pedestrian 1 After pedestrian detection is performed on the detection frame image in the first detection and tracking cycle, for the determined target pedestrian 1, according to the image area of the target pedestrian 1 in the detection frame image, that is, according to the detection frame of the target pedestrian 1 The corresponding image area determines the image of the target pedestrian 1. Then, the image of the target pedestrian 1 is input to a pre-trained pedestrian re-identification feature extraction model, the pedestrian feature of the target pedestrian 1 is extracted based on the pedestrian re-identification technology, and the extracted pedestrian feature is stored in the target information queue corresponding to the target pedestrian 1 Information.
  • the image of the target pedestrian 1 can also be input to a pre-trained U-shaped network, the silhouette image of the first frame of the video image in the video image sequence corresponding to the target pedestrian 1 is determined, and the determined silhouette image is stored in the target information queue. In the information corresponding to the target pedestrian 1.
  • the detected pedestrian characteristics of the target pedestrian 1, target pedestrian 2, and target pedestrian 3 and the silhouette image of the first frame video image in the corresponding video image sequence can be obtained and stored in the target information queue.
  • Step 220 Perform a pedestrian detection on a detection frame image of a next detection tracking period relative to the current detection tracking period to determine a detection result.
  • a predetermined target pedestrian in the video image sequence is tracked to determine a tracking result corresponding to the detection tracking period.
  • the tracker For the first detection and tracking cycle, based on the 2nd to 20th tracking frame images, 3 target pedestrians detected by the first detection frame image are tracked.
  • the tracker is first initialized according to the detection frame, and then the target pedestrian in each tracking frame image is tracked by the tracker.
  • the area where the tracker of each target pedestrian in each tracking frame image is located that is, the image area where each target pedestrian is located in the corresponding tracking frame image. Further, according to an image region where each target pedestrian is located in the corresponding tracking frame image, an image of each target pedestrian in the corresponding tracking frame image may be determined.
  • the silhouette images of the second frame video to the 20th frame video image in the corresponding video image sequence of each target pedestrian are determined. And stored in the information queue of each target pedestrian.
  • a tracking loss queue may be created to store the information of the target pedestrian who lost track.
  • the information of the target pedestrian 2 is transferred from the target information queue to the tracking loss queue.
  • the tracker of the target pedestrian 2 is deleted.
  • the target new pedestrian 2 will no longer be tracked.
  • Target pedestrians tracked in the detection tracking frame will continue to be tracked.
  • the confidence scores of the tracking results of all target pedestrians to be tracked in the current tracking frame are scored. If there are certain target pedestrians whose confidence scores are lower than a preset confidence threshold, the target pedestrians are determined. Tracking is lost.
  • the confidence index is the average peak-to correlation energy (APCE), which reflects the degree of fluctuation of the response graph and the confidence level of the detection target.
  • ACE average peak-to correlation energy
  • the calculation formula of the confidence score is: When this score is greater than the preset confidence threshold, it is considered to be a tracking result with high confidence, where F max and F min respectively represent the maximum and minimum values of the pixel values in the response map; w and h represent the response map The number of horizontal and vertical pixels; F w, h represents the pixel value reflecting each position in the response map.
  • the tracking results include: a target pedestrian to be tracked in a normal tracking state, a tracker, pedestrian characteristics, at least one frame of a silhouette image, and a target pedestrian to be tracked in a tracking loss state, pedestrian characteristics, at least one Frame silhouette image.
  • Step 230 Perform pedestrian re-identification according to the above tracking result and detection result, and determine a target pedestrian to be tracked in the next detection and tracking cycle.
  • pedestrian detection is performed on the detection frame image of the second detection tracking cycle to determine the detection result.
  • the determined detection result includes: the target pedestrian included in the detection frame image, and a detection frame corresponding to each target pedestrian.
  • the second detection frame image that is, the 21st frame video image in the video image sequence
  • pedestrian detection is performed on the detection frame image of the second detection and tracking cycle, and it is determined that three target pedestrians are included, and the detected three target pedestrians are respectively assigned different identifiers from the target pedestrians detected in the previous detection and tracking cycle.
  • three target pedestrians detected in the detection frame image of the second detection tracking cycle are identified as target pedestrians -1, -2, and -3, respectively.
  • the pedestrian is re-identified according to the tracking result of the first detection and tracking cycle and the detection result of the detection frame image in the second detection and tracking cycle, and the target pedestrian to be tracked in the second detection and tracking cycle is determined.
  • the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state and a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;
  • the detection result includes: currently detected Detection frame for the target pedestrian.
  • the step of re-identifying pedestrians based on the tracking results and detection results to determine the target pedestrians to be tracked in the next detection and tracking cycle includes the following: the target pedestrians in the normal tracking state that need to be tracked and the currently detected targets Pedestrians are matched to determine the target pedestrian pair; for each target pedestrian pair, pedestrian re-identification is performed based on the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the required pedestrians.
  • Information of the tracked target pedestrians re-identifying each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the tracked target pedestrians in a tracking loss state to update the information of the tracked target pedestrians; For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state.
  • matching the area where the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian includes determining the tracking of the target pedestrian to be tracked in the normal tracking state.
  • the size of the overlap between the detector and the detection frame of the currently detected target pedestrian determines the ratio of the overlap between the area where the tracker is located and the area where the detection frame is located to the minimum area. It can be known from the tracking results of the first detection and tracking cycle that the target pedestrians in the normal tracking state include target pedestrians 1 and 3, and from the detection results of the second detection and tracking cycle that the currently detected target pedestrians include target pedestrians. -1. Target pedestrian-2 and target pedestrian-3.
  • the target pedestrians to be tracked and the currently detected target pedestrians with high overlap in their areas will be matched as target pedestrian pairs. Further, in order to improve the judgment accuracy rate of the same pedestrian, it is also necessary to re-identify the two target pedestrians in the target pedestrian pair based on the pedestrian characteristics.
  • the step of re-identifying the pedestrian according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes: According to the pedestrian characteristics of two target pedestrians included in the target pedestrian pair, determine the similarity between the two target pedestrians, where the two target pedestrians include: the target pedestrian to be tracked and the currently detected target pedestrian; if If the two target pedestrians are determined to be the same person based on the similarity, the tracker of the target pedestrians to be tracked is updated through the detection frame of the currently detected target pedestrians; if the two target pedestrians are not the same person based on the similarity, The target pedestrian to be tracked included in the target pedestrian pair is set to a lost state, and the tracker of the target pedestrian to be tracked is deleted, and the currently detected target pedestrian is added to the target pedestrian to be tracked; wherein, Pedestrian characteristics are obtained through pedestrian re-identification technology.
  • the target pedestrian 1 and the currently detected target pedestrian-1 further determine the target pedestrian 1 and the target by calculating the similarity distance between the pedestrian characteristics of the target pedestrian 1 and the target pedestrian-1. Similarity of Pedestrian-1. If the similarity satisfies the preset similarity condition, it is determined that the target pedestrian 1 and the target pedestrian-1 are the same person, and the tracker of the target pedestrian 1 to be tracked is updated through the detection frame of the currently detected target pedestrian-1, so that The target pedestrian 1 continues to be tracked during the two detection and tracking cycles.
  • the target pedestrian 1 and the target pedestrian-1 are not the same person, the target pedestrian 1 who believes that the tracking needs to be out of the video surveillance scope, sets the target pedestrian 1 to the missing state, and deletes the tracking required Tracker for target pedestrian 1.
  • the currently detected target pedestrian-1 is added to the target pedestrian to be tracked, and information such as the identification, pedestrian characteristics, and silhouette image of the target pedestrian-1 is stored in the target information queue.
  • the pedestrian characteristics in the embodiments of the present application are obtained through pedestrian re-identification technology.
  • each currently detected target pedestrian that does not constitute a target pedestrian pair is pedestrian-revised with the target pedestrian to be tracked in a tracking loss state.
  • the step of identifying and updating the information of the target pedestrians to be tracked includes: determining, according to the pedestrian characteristics obtained in advance, each target pedestrian currently detected that does not constitute a target pedestrian pair and each target to be tracked in a tracking loss state Pairwise similarity between pedestrians; if the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is determined to be the same person as the target pedestrian that needs to be tracked in the state of tracking loss based on the pairwise similarity, it will be in tracking loss
  • the state of the target pedestrian to be tracked is restored to the normal tracking state, and a tracker of the target pedestrian to be tracked is restored to the normal tracking state through the detection frame of the currently detected target pedestrian; if the current detection is determined according to the pairwise similarity
  • the target pedestrian is not the target pedestrian to be tracked in the state of tracking loss, that
  • target pedestrians -2 and -3 For example, for the currently detected target pedestrians -2 and -3, they are further re-identified with the target pedestrian 2 in the tracking loss queue.
  • the pedestrian characteristics of target pedestrian 2 and the pedestrian characteristics of target pedestrians 2 and -3 determine the similarity between target pedestrian 2 and target pedestrian-2, and the similarity between target pedestrian 2 and target pedestrian-3, respectively.
  • the currently detected target pedestrian is a target pedestrian who has been tracked and lost.
  • target pedestrian 2 and target pedestrian-2 satisfies a preset similarity condition
  • the target to be tracked will be in a state of tracking loss.
  • Pedestrian 2 returns to the normal tracking state, and a tracker of target pedestrian 2 is created by the detection frame of the currently detected target pedestrian.
  • target pedestrian 2 and target pedestrian-3 are not the same target pedestrian.
  • the currently detected target pedestrian is added to Among the target pedestrians to be tracked, the target pedestrian-3's identification, pedestrian characteristics, and silhouette images are saved to the target information queue. Among them, pedestrian characteristics are obtained through pedestrian re-identification technology.
  • a tracking loss state When matching the areas of the target pedestrians to be tracked and the currently detected target pedestrians, if all the target pedestrians to be tracked and the currently detected target pedestrians are matched as target pedestrian pairs, it can be determined that there is currently no Target pedestrians to be tracked in a lost state. Therefore, after matching the target pedestrians based on their area, there is no need to perform pedestrian re-identification of each currently detected target pedestrian that does not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update Steps to track the information of the target pedestrian.
  • the target pedestrian 3 to be tracked in a normal tracking state that does not constitute the target pedestrian pair is set to a lost state.
  • the tracker of the target pedestrian 3 is deleted, and the information of the target pedestrian 3 is transferred to the tracking loss queue.
  • the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number , Remove it from the targeted pedestrians to track. For example, if the currently detected target pedestrian is detected only in a few detection and tracking cycles, the target pedestrian is considered to be a pedestrian who temporarily broke into the video surveillance range, or a tracking error has occurred, and the target pedestrian will not be allowed to do so. For identification. If the currently detected target pedestrian is continuously detected in a subsequent preset number of detection and tracking cycles, the target pedestrian is considered to be a pedestrian newly appearing in the video surveillance range, and it is continuously tracked.
  • step 240 it is judged whether all the detection and tracking cycle processing ends, and if so, it ends; otherwise, go to step 210.
  • the above steps 210 to 230 are performed cyclically until the last detection and tracking cycle ends.
  • the pedestrian re-recognition feature extraction model used to extract pedestrian features from the image of each target pedestrian in each frame image can be trained by the following methods.
  • the convolutional neural network model structure used in the embodiment of the present application includes: three layers of convolutional layers (the size of the convolution kernel is 3 ⁇ 3), six Inception modules, and two fully connected layers. As shown in Table 1, the structure of the Inception module, where Conv represents the convolution layer, Pooling represents the pooling layer, and each row in the table represents a branch.
  • the number of single data sets is small and the sample types are relatively single.
  • multiple pedestrian re-identification data sets are selected for the network training data. , Such as CUHK03 data set, CUHK01 data set, PRID, VIPer, 3DPeS, iLIDS and Shinpuhkan, and then combine the pedestrian re-identification data set into a large data set as the network input, so that the network can learn more rich scenarios Feature information.
  • the sample data is an image, and the sample label is the identity or attribute of a pedestrian.
  • the convolutional neural network model is trained based on the generated training samples.
  • the embodiment of the present application improves the accuracy of identifying target pedestrians in a video image sequence by first performing pedestrian matching based on the area in which they are located, and then performing target pedestrian matching based on pedestrian characteristics to determine the same target pedestrian in different video image frames. Improve the accuracy of identity recognition based on gait.
  • the present application uses pedestrian re-identification technology to perform accurate pedestrian identification in the context of multiple pedestrians or across cameras, which is conducive to accurately extracting pedestrian silhouette image sequences.
  • the present application performs adaptive gait feature extraction based on a convolutional neural network, which makes up for the drawback that it is difficult for traditional gait feature extraction methods to accurately extract representative gait features.
  • the combination of the two well implements pedestrian identification based on gait under real-time camera surveillance conditions.
  • the step of determining the silhouette image sequence of the target pedestrian is specifically: determining the silhouette image sequence of the target pedestrian according to the obtained silhouette image of each frame of the video image in the video image sequence of the target pedestrian,
  • the method comprises: sorting the pre-obtained silhouette images of each target pedestrian according to the forward and backward positions of the video image frames corresponding to the silhouette images in the video image sequence to determine the silhouette image sequence of each target pedestrian; wherein each target pedestrian
  • the silhouette image of is obtained by: acquiring the image of each target pedestrian in the detection frame image according to the detection frame of each target pedestrian determined during the pedestrian detection of the detection frame image; and when pedestrian tracking is performed on the tracking frame image
  • the determined tracker of each target pedestrian obtains the images of the target pedestrians in the tracking frame images; the images of the target pedestrians in the video images of each frame are input to a pre-trained U-shaped network, respectively, and the identified The target pedestrian corresponds to a silhouette image of each frame of video image.
  • the target pedestrians to be tracked and the target pedestrians who have been tracked to be lost in the normal tracking state are determined.
  • Target pedestrians who have been lost to tracking are uniquely identified, and corresponding silhouette images are stored in either the target information queue or the tracking loss queue.
  • the silhouette image sequence of the target pedestrian corresponding to the same identifier is obtained.
  • the silhouette images of the target pedestrians corresponding to each identifier can be stored in the order of acquisition, and the silhouette image sequence of the target pedestrians can be obtained more quickly.
  • a gait-based identification device disclosed in this embodiment includes:
  • a target pedestrian determination module 310 configured to perform pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence;
  • a silhouette image sequence determination module 320 configured to determine a silhouette image sequence of the target pedestrian
  • Gait energy map determination module 330 is configured to obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian;
  • the identity recognition module 340 is configured to identify the target pedestrian based on the gait energy map of the target pedestrian.
  • the target pedestrian determination module 310 further includes:
  • the detection tracking period determination submodule 3101 is configured to determine video images corresponding to consecutive detection tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection tracking period;
  • a periodic target pedestrian determination sub-module 3102 configured to detect, track and re-identify a target pedestrian in the video image sequence based on a video image corresponding to each of the detection and tracking periods in a front-to-back sequence, Determining a tracking result of a target pedestrian corresponding to each of the detection and tracking periods;
  • the tracking result determination submodule 3103 is configured to determine a target pedestrian in the video image sequence according to a tracking result of the target pedestrian corresponding to the last detection and tracking cycle.
  • the periodic target pedestrian determination sub-module 3102 further includes:
  • a tracking unit 31021 is configured to track, for each of the detection and tracking cycles, a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection and tracking cycle, and determine a target corresponding to the current detection and tracking cycle. Tracking Results;
  • a detection unit 31022 configured to perform, for each of the detection and tracking periods, pedestrian detection on a detection frame image of a next detection and tracking period relative to the current detection and tracking period to determine a detection result;
  • a pedestrian re-identification unit 31023 configured to perform pedestrian re-identification according to the tracking result and the detection result for each of the detection and tracking cycles to determine a target pedestrian to be tracked in the next detection and tracking cycle;
  • the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle
  • the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle.
  • the predetermined target pedestrian is determined in at least one of the following ways:
  • the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;
  • the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period.
  • the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;
  • the detection result includes: the currently detected The detection frame of the target pedestrian, when the pedestrian re-identification is performed according to the tracking result and the detection result, and the target pedestrian to be tracked in the next detection and tracking cycle is determined, the pedestrian re-identification unit 31023 is further configured to:
  • For each of the target pedestrian pairs perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked;
  • the step of performing pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes: :
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • each of the currently detected target pedestrians that do not form a target pedestrian pair is re-identified with a target pedestrian that needs to be tracked in a tracking loss state to update the information of the target pedestrian that needs to be tracked Steps, including:
  • the demand in the tracking loss state is determined.
  • the tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;
  • the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, that is, the currently detected target pedestrian and each target row to be tracked in a tracking loss state If there is no match, add the currently detected target pedestrian to the target pedestrian to be tracked;
  • the pedestrian characteristics are obtained through pedestrian re-identification technology.
  • the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number , Remove it from the targeted pedestrians to track.
  • the gait-based identification device disclosed in this embodiment is used to implement the gait-based identification method described in Embodiment 1.
  • each module of the device refer to the specific implementation of corresponding steps in Embodiment 1. This embodiment will not repeat them.
  • the gait-based identity recognition device disclosed in the embodiments of the present application determines a target pedestrian in the video image sequence by performing pedestrian detection, tracking, and pedestrian re-identification on the video image sequence; according to the obtained target pedestrian in the video image,
  • the silhouette image in each frame of the video image in the sequence determines the silhouette image sequence of the target pedestrian; obtains the gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian; based on the gait energy map of the target pedestrian
  • the identity recognition of the target pedestrian solves the problem of low accuracy of identity recognition based on gait recognition in a multi-person scene in the prior art.
  • the identification of the same and different target pedestrians in the video image sequence is performed by combining pedestrian detection, tracking, and pedestrian re-identification technologies, which improves the accuracy of target pedestrian recognition in the video image sequence and helps to improve the multi-person scene The accuracy of gait-based identification.
  • the embodiment of the present application improves the accuracy of identifying target pedestrians in a video image sequence by first performing pedestrian matching based on the area in which they are located, and then performing target pedestrian matching based on pedestrian characteristics to determine the same target pedestrian in different video image frames. Improve the accuracy of identity recognition based on gait.
  • the present application uses pedestrian re-identification technology to perform accurate pedestrian identification in the context of multiple pedestrians or across cameras, which is conducive to accurately extracting pedestrian silhouette image sequences.
  • the present application performs adaptive gait feature extraction based on a convolutional neural network, which makes up for the drawback that it is difficult for traditional gait feature extraction methods to accurately extract representative gait features.
  • the combination of the two well implements pedestrian identification based on gait under real-time camera surveillance conditions.
  • the present application also discloses an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the processor is implemented as in the present application.
  • the gait-based identification method according to the first embodiment.
  • the electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, or the like.
  • the present application also discloses a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the steps of the gait-based identification method according to the first embodiment of the present application are implemented.
  • the embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, they can also be implemented by hardware.
  • the above-mentioned technical solution essentially or part that contributes to the existing technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic A disc, an optical disc, and the like include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the above definitions of the elements and methods are not limited to the various specific structures, shapes, or manners mentioned in the embodiments, and those skilled in the art can simply modify or replace them.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)

Abstract

A gait-based identity recognition method and apparatus, and an electronic device, relating to the technical field of identity recognition, and solving the problem in the prior art of the accuracy of gait-based identity recognition methods in multiple pedestrian scenarios. The method comprises: implementing pedestrian detection, tracking, and pedestrian re-recognition for a video image sequence to determine target pedestrians in the video image sequence (110); determining a silhouette image sequence of the target pedestrians (120); on the basis of the silhouette image sequence of each target pedestrian, respectively acquiring a gait energy map of the target pedestrian (130); and, on the basis of the gait energy map of the target pedestrians, implementing identity recognition of the target pedestrians (140). The present method incorporates pedestrian detection, tracking, and pedestrian re-recognition technology to implement recognition of the same or different target pedestrians in a video image sequence, increasing the accuracy of the recognition of target pedestrians in a video image sequence, and thereby increasing the accuracy of gait-based identity recognition in multi-person scenarios.

Description

基于步态的身份识别方法、装置、电子设备Gait-based identity recognition method, device and electronic equipment 技术领域Technical field

本申请涉及计算机视觉技术领域,特别是涉及一种基于步态的身份识别方法、装置、电子设备及存储介质。The present application relates to the field of computer vision technology, and in particular, to a gait-based identity recognition method, device, electronic device, and storage medium.

背景技术Background technique

生物特征识别是通过各种高科技信息检测手段、利用人体所固有的生理或行为特征来进行个人身份鉴定。生物特征主要包括生理特征和行为特征两种。行为特征是指从人所执行的运动中提取来的特征,如步态、笔迹等特征,这些特征多为后天形成的特性。近几年来,随着生物认证技术的快速发展,基于步态特征的身份识别技术在门禁系统、安全监控、人机交互、医疗诊断等领域的应用日益广泛。然而,发明人经过对现有技术的研究发现,安全监控环境通常为复杂的。因为人是非刚体,在移动时比车辆更具灵活性,其轮廓特征在不断变化,并且多人环境中,极易出现行人遮挡,行人步态特征不易提取,因此,在多行人场景下确定同一行人的步态信息的准确率较低,多人场景下基于步态的身份识别准确率仍然较低。Biometric identification is the identification of individuals through various high-tech information detection methods, using the inherent physiological or behavioral characteristics of the human body. Biological characteristics mainly include physiological characteristics and behavioral characteristics. Behavioral characteristics refer to the characteristics extracted from the movements performed by a person, such as gait, handwriting and other characteristics. These characteristics are mostly acquired characteristics. In recent years, with the rapid development of biometric authentication technology, gait-based identification technology has been widely used in access control systems, security monitoring, human-computer interaction, and medical diagnosis. However, the inventor's research on the prior art found that the security monitoring environment is usually complex. Because a person is a non-rigid body, it is more flexible than a vehicle when moving, its contour features are constantly changing, and pedestrian occlusion is easy to occur in a multi-person environment, and pedestrian gait features are not easy to extract. The accuracy of pedestrian gait information is low, and the accuracy of gait-based identification in multi-person scenarios is still low.

可见,现有技术中的多行人场景下基于步态的身份识别方法的准确率还有待提高。It can be seen that the accuracy of the gait-based identity recognition method in the multi-pedestrian scene in the prior art needs to be improved.

发明内容Summary of the Invention

本申请提供一种基于步态的身份识别方法,有助于提升多人场景下基于步态的身份识别的准确率。This application provides a gait-based identity recognition method, which helps to improve the accuracy of gait-based identity recognition in a multi-person scenario.

为了解决上述问题,根据本申请的一个方面,提供了一种基于步态的身份识别方法,包括:In order to solve the above problem, according to one aspect of the present application, a gait-based identity recognition method is provided, including:

对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;Performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence;

确定所述目标行人的剪影图像序列;Determining a silhouette image sequence of the target pedestrian;

分别基于各目标行人的所述剪影图像序列,获取所述目标行人的步态能量图;Obtaining a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian;

基于所述目标行人的步态能量图,对所述目标行人进行身份识别。Based on the gait energy map of the target pedestrian, the target pedestrian is identified.

进一步的,所述对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人的步骤,包括:Further, the steps of performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence include:

按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;Determining video images corresponding to consecutive detection and tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection and tracking period;

按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;In the order from front to back, based on the video images corresponding to each of the detection and tracking periods, the target pedestrian in the video image sequence is detected, tracked, and pedestrian re-identified, and the corresponding one of each of the detection and tracking periods is determined. Tracking results of target pedestrians;

根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。Determining the target pedestrian in the video image sequence according to the tracking result of the target pedestrian corresponding to the last detection and tracking cycle.

进一步的,所述基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果的步骤,包括:Further, based on the video image corresponding to each of the detection and tracking periods, detecting, tracking, and re-identifying a target pedestrian in the video image sequence, and determining a target pedestrian corresponding to each of the detection and tracking periods. Steps to track results, including:

针对每个所述检测跟踪周期执行以下操作:Do the following for each of the detection tracking cycles:

基于当前检测跟踪周期对应的跟踪帧图像,对所述视频图像序列中预先确定的目标行人进行跟踪,确定所述当前检测跟踪周期对应的跟踪结果;Tracking a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection tracking period, and determining a tracking result corresponding to the current detection tracking period;

对相对所述当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果;Performing pedestrian detection on a detection frame image of a next detection tracking period relative to the current detection tracking period to determine a detection result;

根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人;Perform pedestrian re-identification according to the tracking result and the detection result, and determine a target pedestrian to be tracked in the next detection and tracking cycle;

其中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。Wherein, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle, and the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle. Video images other than video images.

进一步的,所述预先确定的目标行人通过以下至少一种方式确定:Further, the predetermined target pedestrian is determined in at least one of the following ways:

若当前检测跟踪周期为首个检测跟踪周期,则根据所述检测跟踪周期的检测帧图像的检测结果确定;If the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;

若当前检测跟踪周期非首个检测跟踪周期,则根据相对所述当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和所述当前检测跟踪周 期的检测帧图像的检测结果确定。If the current detection tracking period is not the first detection tracking period, it is determined according to the tracking result corresponding to the previous detection tracking period with respect to the current detection tracking period and the detection result of the detection frame image of the current detection tracking period.

进一步的,所述跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;Further, the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;

所述检测结果包括:当前检测到的目标行人的检测框;The detection result includes: a detection frame of a currently detected target pedestrian;

所述根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人的步骤,包括:The step of re-identifying a pedestrian based on the tracking result and the detection result and determining a target pedestrian to be tracked in the next detection and tracking cycle includes:

对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;Matching the area of the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian to determine the target pedestrian pair;

对于每个所述目标行人对,根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息;For each of the target pedestrian pairs, perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked;

对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;Performing pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked;

对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state.

进一步的,所述根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:Further, the step of performing pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes:

根据所述目标行人对中包括的两个目标行人的行人特征,确定所述两个目标行人之间的相似度,其中,所述两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;Determine the similarity between the two target pedestrians according to the pedestrian characteristics of the two target pedestrians included in the target pedestrian pair, wherein the two target pedestrians include: the target pedestrian to be tracked and the currently detected Target pedestrian

若根据所述相似度确定所述两个目标行人为同一人,则通过所述当前检测到的目标行人的检测框更新所述需跟踪的目标行人的跟踪器;If the two target pedestrians are determined to be the same person according to the similarity, updating a tracker of the target pedestrian to be tracked through a detection frame of the currently detected target pedestrian;

若根据所述相似度确定所述两个目标行人非同一人,则将所述目标行人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至所述需跟踪的目标行人中;If it is determined that the two target pedestrians are not the same person according to the similarity, setting the target pedestrian to be tracked included in the target pedestrian pair to a lost state, and deleting the tracker of the target pedestrian to be tracked, and Adding the currently detected target pedestrian to the target pedestrian to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

进一步的,所述对未构成目标行人对的所述当前检测到的每个目标行 人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:Further, the currently detected target pedestrians that do not constitute a target pedestrian pair are re-identified with the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked. Steps, including:

根据预先获取的行人特征,确定未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;Determining the pairwise similarity between each of the currently detected target pedestrians that do not constitute a target pedestrian pair and each target pedestrian that needs to be tracked in a tracking loss state according to the pedestrian characteristics obtained in advance;

若根据所述两两相似度确定相应的未构成目标行人对的所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将所述处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过所述当前检测到的目标行人的检测框创建恢复为正常跟踪状态的所述需跟踪的目标行人的跟踪器;If it is determined according to the pairwise similarity that the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is the same person as the target pedestrian in the tracking loss state, the demand in the tracking loss state is determined. The tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;

若根据所述两两相似度确定所述当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,则将所述当前检测到的目标行人补充至需跟踪的目标行人中;If it is determined according to the pairwise similarity that the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, adding the currently detected target pedestrian to the target pedestrian to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

进一步的,在将所述当前检测到的目标行人补充至需跟踪的目标行人中的步骤之后,还包括:若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。Further, after the step of adding the currently detected target pedestrian to the target pedestrian to be tracked, the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number, then Remove from target pedestrians to be tracked.

进一步的,在所述对视频图像序列进行行人检测、跟踪的步骤中,分周期对视频图像序列中的目标行人进行检测和跟踪。Further, in the step of performing pedestrian detection and tracking on the video image sequence, the target pedestrians in the video image sequence are detected and tracked in cycles.

进一步的,在所述对视频图像序列进行行人检测、跟踪的步骤中,通过每个检测跟踪周期中第一帧视频图像进行目标行人检测,并提取目标行人的行人特征;通过每个检测跟踪周期的第二及后续帧视频图像,对检测到的目标行人进行跟踪。Further, in the step of performing pedestrian detection and tracking on the video image sequence, target pedestrian detection is performed through the first frame of video image in each detection and tracking cycle, and pedestrian characteristics of the target pedestrian are extracted; through each detection tracking cycle The second and subsequent frames of video images are used to track the detected target pedestrian.

进一步的,对于连续的两个检测跟踪周期,通过从后一个检测跟踪周期的第一帧视频图像中检测到的目标行人,更新前一个检测跟踪周期中的目标行人跟踪结果。Further, for two consecutive detection and tracking periods, the target pedestrian tracking result in the previous detection and tracking period is updated by detecting the target pedestrian from the first frame of the video image of the subsequent detection and tracking period.

进一步的,所述确定所述目标行人的剪影图像序列的步骤,包括:Further, the step of determining a silhouette image sequence of the target pedestrian includes:

根据目标行人的检测框确定该目标行人在检测帧图像中的图像区域,或根据目标行人的跟踪框确定该目标行人在跟踪帧图像中的图像区域;Determining the image area of the target pedestrian in the detection frame image according to the detection frame of the target pedestrian, or determining the image area of the target pedestrian in the tracking frame image according to the tracking frame of the target pedestrian;

将目标行人在检测帧图像中或在跟踪帧图像中的图像区域输入至预 先训练的网络模型,得到该目标行人的剪影图像;Input the image area of the target pedestrian in the detection frame image or the tracking frame image to the pre-trained network model to obtain the silhouette image of the target pedestrian;

将同一目标行人对应的剪影图像按照该剪影图像所属视频图像帧的先后顺序进行排列,得到该同一目标行人对应的剪影图像序列。The silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian.

进一步的,所述基于目标行人的步态能量图,对目标行人进行身份识别的步骤,包括:Further, the step of identifying the target pedestrian based on the gait energy map of the target pedestrian includes:

通过预先训练的神经网络模型对目标行人的步态能量图进行识别,确定该目标行人的步态特征;Identify the gait energy map of the target pedestrian through a pre-trained neural network model to determine the gait characteristics of the target pedestrian;

将该目标行人的步态特征与预设数据库中的步态特征进行匹配,确定与对该目标行人的步态特征匹配的用户的身份信息,作为该目标用户的身份信息。Match the gait characteristics of the target pedestrian with the gait characteristics in the preset database, and determine the identity information of the user who matches the gait characteristics of the target pedestrian as the identity information of the target user.

根据本公开的另一个方面,提供了一种基于步态的身份识别装置,包括:According to another aspect of the present disclosure, a gait-based identity recognition device is provided, including:

目标行人确定模块,用于对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;A target pedestrian determination module, configured to perform pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence;

剪影图像序列确定模块,用于确定所述目标行人的剪影图像序列;A silhouette image sequence determination module, configured to determine a silhouette image sequence of the target pedestrian;

步态能量图确定模块,用于分别基于各目标行人的所述剪影图像序列,获取所述目标行人的步态能量图;A gait energy map determination module, configured to obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian;

身份识别模块,用于基于所述目标行人的步态能量图,对所述目标行人进行身份识别。An identity recognition module is configured to identify the target pedestrian based on the gait energy map of the target pedestrian.

进一步的,在对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人时,所述目标行人确定模块进一步包括:Further, when performing pedestrian detection, tracking, and pedestrian recognition on a video image sequence to determine a target pedestrian in the video image sequence, the target pedestrian determination module further includes:

检测跟踪周期确定子模块,用于按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;The detection tracking period determination submodule is configured to determine video images corresponding to consecutive detection and tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection and tracking period;

周期目标行人确定子模块,用于按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;The periodic target pedestrian determination sub-module is configured to detect, track and re-identify the target pedestrian in the video image sequence based on the video images corresponding to each of the detection and tracking periods in the order from front to back. A tracking result of a target pedestrian corresponding to each of the detection and tracking periods;

跟踪结果确定子模块,用于根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。The tracking result determination submodule is configured to determine a target pedestrian in the video image sequence according to a tracking result of a target pedestrian corresponding to the last detection and tracking period.

进一步的,在基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果时,所述周期目标行人确定子模块,进一步包括:Further, based on the video image corresponding to each of the detection and tracking periods, the target pedestrian in the video image sequence is detected, tracked and re-identified, and the tracking of the target pedestrian corresponding to each of the detection and tracking periods is determined. In the event, the periodic target pedestrian determination sub-module further includes:

跟踪单元,用于针对每个所述检测跟踪周期,基于当前检测跟踪周期对应的跟踪帧图像,对所述视频图像序列中预先确定的目标行人进行跟踪,确定所述当前检测跟踪周期对应的跟踪结果;A tracking unit is configured to track, for each of the detection and tracking cycles, a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection and tracking cycle, and determine a tracking corresponding to the current detection and tracking cycle. result;

检测单元,用于针对每个所述检测跟踪周期,对相对所述当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果;A detection unit, configured to perform a pedestrian detection on a detection frame image of a next detection and tracking period relative to the current detection and tracking period for each of the detection and tracking periods to determine a detection result;

行人重识别单元,用于针对每个所述检测跟踪周期,根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人;A pedestrian re-identification unit, configured to perform pedestrian re-identification according to the tracking result and the detection result for each of the detection and tracking cycles, and determine a target pedestrian to be tracked in the next detection and tracking cycle;

其中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。Wherein, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle, and the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle. Video images other than video images.

进一步的,所述预先确定的目标行人通过以下至少一种方式确定:Further, the predetermined target pedestrian is determined in at least one of the following ways:

若当前检测跟踪周期为首个检测跟踪周期,则根据所述检测跟踪周期的检测帧图像的检测结果确定;If the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;

若当前检测跟踪周期非首个检测跟踪周期,则根据相对所述当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和所述当前检测跟踪周期的检测帧图像的检测结果确定。If the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period.

进一步的,所述跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;Further, the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state;

所述检测结果包括:当前检测到的目标行人的检测框;The detection result includes: a detection frame of a currently detected target pedestrian;

在根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人时,所述行人重识别单元进一步用于:When pedestrian re-identification is performed according to the tracking result and the detection result, and a target pedestrian to be tracked in the next detection and tracking cycle is determined, the pedestrian re-identification unit is further configured to:

对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;Matching the area of the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian to determine the target pedestrian pair;

对于每个所述目标行人对,根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需 跟踪的目标行人的信息;For each of the target pedestrian pairs, performing pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked;

对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;Performing pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked;

对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state.

进一步的,所述行人重识别单元用于根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度通过以下方式进行行人重识别,更新所述需跟踪的目标行人的信息:Further, the pedestrian re-identification unit is configured to perform pedestrian re-identification in the following manner according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian, and update the target to be tracked Pedestrian information:

根据所述目标行人对中包括的两个目标行人的行人特征,确定所述两个目标行人之间的相似度,其中,所述两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;Determine the similarity between the two target pedestrians according to the pedestrian characteristics of the two target pedestrians included in the target pedestrian pair, wherein the two target pedestrians include: the target pedestrian to be tracked and the currently detected Target pedestrian

若根据所述相似度确定所述两个目标行人为同一人,则通过所述当前检测到的目标行人的检测框更新所述需跟踪的目标行人的跟踪器;If the two target pedestrians are determined to be the same person according to the similarity, updating a tracker of the target pedestrian to be tracked through a detection frame of the currently detected target pedestrian;

若根据所述相似度确定所述两个目标行人非同一人,则将所述目标行人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至所述需跟踪的目标行人中;If it is determined that the two target pedestrians are not the same person according to the similarity, setting the target pedestrian to be tracked included in the target pedestrian pair to a lost state, and deleting the tracker of the target pedestrian to be tracked, and Adding the currently detected target pedestrian to the target pedestrian to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

进一步的,所述行人重识别单元用于通过以下方式对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,更新所述需跟踪的目标行人的信息:Further, the pedestrian re-identification unit is configured to perform pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians that need to be tracked in a tracking loss state, and update the Information of target pedestrians to be tracked:

根据预先获取的行人特征,确定未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;Determining the pairwise similarity between each of the currently detected target pedestrians that do not constitute a target pedestrian pair and each target pedestrian that needs to be tracked in a tracking loss state according to the pedestrian characteristics obtained in advance;

若根据所述两两相似度确定相应的未构成目标行人对的所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将所述处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过所述当前检测到的目标行人的检测框创建恢复为正常跟踪状态的所述需跟踪的目标行人的跟踪器;If it is determined according to the pairwise similarity that the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is the same person as the target pedestrian in the tracking loss state, the demand in the tracking loss state is determined. The tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;

若根据所述两两相似度确定所述当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,则将所述当前检测到的目标行人补充至需跟踪的目标行人中;If it is determined according to the pairwise similarity that the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, adding the currently detected target pedestrian to the target pedestrian to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

进一步的,在将所述当前检测到的目标行人补充至需跟踪的目标行人中之后,若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。Further, after the currently detected target pedestrian is added to the target pedestrians to be tracked, if the number of times that the currently detected target pedestrians are detected is less than a preset number, it is removed from the targets to be tracked. Removed from pedestrians.

进一步的,所述目标行人确定模块用于分周期对视频图像序列进行行人检测、跟踪。Further, the target pedestrian determination module is configured to perform pedestrian detection and tracking on a video image sequence in a periodical manner.

进一步的,所述目标行人确定模块通过每个检测跟踪周期中第一帧视频图像进行目标行人检测,并提取目标行人的行人特征;通过每个检测跟踪周期的第二及后续帧视频图像,对检测到的目标行人进行跟踪。Further, the target pedestrian determination module performs target pedestrian detection through the first frame video image in each detection and tracking cycle, and extracts pedestrian characteristics of the target pedestrian; through the second and subsequent frame video images in each detection and tracking cycle, Detected target pedestrians are tracked.

进一步的,对于连续的两个检测跟踪周期,所述目标行人确定模块通过从后一个检测跟踪周期的第一帧视频图像中检测到的目标行人,更新前一个检测跟踪周期中的目标行人跟踪结果。Further, for two consecutive detection and tracking cycles, the target pedestrian determination module updates the target pedestrian tracking result in the previous detection and tracking cycle by detecting the target pedestrian from the first frame of the video image in the subsequent detection and tracking cycle. .

进一步的,所述剪影图像序列确定模块用于通过以下方式确定所述目标行人的剪影图像序列:Further, the silhouette image sequence determination module is configured to determine the silhouette image sequence of the target pedestrian in the following manner:

根据目标行人的检测框确定该目标行人在检测帧图像中的图像区域,或根据目标行人的跟踪框确定该目标行人在跟踪帧图像中的图像区域;Determining the image area of the target pedestrian in the detection frame image according to the detection frame of the target pedestrian, or determining the image area of the target pedestrian in the tracking frame image according to the tracking frame of the target pedestrian;

将目标行人在检测帧图像中或在跟踪帧图像中的图像区域输入至预先训练的网络模型,得到该目标行人的剪影图像;Input the image area of the target pedestrian in the detection frame image or the tracking frame image to a pre-trained network model to obtain the silhouette image of the target pedestrian;

将同一目标行人对应的剪影图像按照该剪影图像所属视频图像帧的先后顺序进行排列,得到该同一目标行人对应的剪影图像序列。The silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian.

进一步的,所述身份识别模块用于通过以下方式进行身份识别:Further, the identity recognition module is used for identity recognition in the following ways:

通过预先训练的神经网络模型对目标行人的步态能量图进行识别,确定该目标行人的步态特征;Identify the gait energy map of the target pedestrian through a pre-trained neural network model to determine the gait characteristics of the target pedestrian;

将该目标行人的步态特征与预设数据库中的步态特征进行匹配,确定与对该目标行人的步态特征匹配的用户的身份信息,作为该目标用户的身份信息。Match the gait characteristics of the target pedestrian with the gait characteristics in the preset database, and determine the identity information of the user who matches the gait characteristics of the target pedestrian as the identity information of the target user.

根据本公开的又一个方面,提供了一种电子设备,包括存储器、处理 器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述的基于步态的身份识别方法。According to still another aspect of the present disclosure, there is provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements the computer program when the processor executes the computer program. The gait-based identification method described above.

根据本公开的再一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现所述的基于步态的身份识别方法的步骤。According to still another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the gait-based identification method.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some of the present application. For those of ordinary skill in the art, other embodiments may be obtained based on these drawings without paying creative labor.

图1是本申请实施例一的基于步态的身份识别方法流程图;FIG. 1 is a flowchart of a gait-based identification method according to the first embodiment of the present application; FIG.

图2是本申请实施例二的基于步态的身份识别方法中检测跟踪和行人重识别步骤的流程图;2 is a flowchart of steps of detecting and tracking and re-identifying a pedestrian in a gait-based identification method according to a second embodiment of the present application;

图3是本申请实施例三的基于步态的身份识别装置的结构示意图之一;FIG. 3 is one of the schematic structural diagrams of a gait-based identification device according to Embodiment 3 of the present application; FIG.

图4是本申请实施例三的基于步态的身份识别装置的结构示意图之二;4 is a second schematic structural diagram of a gait-based identification device according to Embodiment 3 of the present application;

图5是本申请实施例三的基于步态的身份识别装置的一个子模块结构示意图。FIG. 5 is a schematic structural diagram of a sub-module of a gait-based identification device according to Embodiment 3 of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

实施例一Example one

本实施例公开的一种基于步态的身份识别方法,如图1所示,该方法包括:步骤110至步骤140。A gait-based identification method disclosed in this embodiment is shown in FIG. 1. The method includes steps 110 to 140.

步骤110,对视频图像序列进行行人检测、跟踪和行人重识别,确定该视频图像序列中的目标行人。Step 110: Perform pedestrian detection, tracking, and pedestrian recognition on the video image sequence to determine a target pedestrian in the video image sequence.

在具体应用过程中,输入的视频图像序列可以为实时的摄像机监控视频序列,或播放的视频流中的一段视频。视频图像序列由一帧一帧的视频图像依序排列组成。通常视频图像序列中的视频图像中包括多个目标行人的影像。In the specific application process, the input video image sequence may be a real-time camera surveillance video sequence, or a video in a video stream that is played. A video image sequence consists of a sequence of frame-by-frame video images. Generally, the video images in the video image sequence include images of multiple target pedestrians.

对于输入的视频图像序列,为了提升行人识别的效率,优选的,分周期对视频图像序列中的目标行人进行检测和跟踪。For the input video image sequence, in order to improve the efficiency of pedestrian recognition, it is preferable to detect and track the target pedestrian in the video image sequence in cycles.

例如,每20帧视频图像作为一个检测跟踪周期,通过每个检测跟踪周期中第一帧视频图像进行目标行人检测,并提取目标行人的行人特征,然后,通过每个检测跟踪周期的后续帧视频图像,对检测到的目标行人进行跟踪。For example, every 20 frames of video images are used as a detection tracking cycle. Target pedestrian detection is performed through the first frame of video images in each detection tracking cycle, and the pedestrian characteristics of the target pedestrian are extracted. Then, subsequent frames of video in each detection tracking cycle are used. Image to track detected pedestrians.

进一步的,对于连续的两个检测跟踪周期,通过从后一个检测跟踪周期的第一帧视频图像中检测到的目标行人,更新前一个检测跟踪周期中的目标行人跟踪结果。Further, for two consecutive detection and tracking periods, the target pedestrian tracking result in the previous detection and tracking period is updated by detecting the target pedestrian from the first frame of the video image of the subsequent detection and tracking period.

例如,对于在两个检测跟踪周期中都检测到的目标行人,在后一个检测跟踪周期中继续进行跟踪;对于前一个检测跟踪周期中跟丢的,在后一个检测跟踪周期的第一帧视频图像中又重新检测到的目标行人,在后一个检测跟踪周期中继续进行跟踪;对于前一个检测跟踪周期中没有检测到,在后一个检测跟踪周期中检测到的目标行人,在后一个检测跟踪周期中继续进行跟踪;在前一个检测跟踪周期中检测到但在后一个检测跟踪周期中没有检测到的目标行人,将其暂时确定为跟丢的目标行人,在后续的检测跟踪周期中判断是否重新检测到跟丢的目标行人。For example, for a target pedestrian detected in both detection and tracking cycles, tracking continues in the next detection and tracking cycle; for those that were lost during the previous detection and tracking cycle, the first frame of video in the next detection and tracking cycle The target pedestrians re-detected in the image will continue to be tracked in the next detection and tracking cycle; for the target pedestrians not detected in the previous detection and tracking cycle and detected in the later detection and tracking cycle, the next detection and tracking will be performed. Tracking continues in the cycle; target pedestrians detected in the previous detection and tracking cycle but not detected in the later detection and tracking cycle will be temporarily identified as lost target pedestrians, and will be judged in the subsequent detection and tracking cycle The lost target pedestrian was detected again.

直至处理完输入的视频图像序列的最后一个检测跟踪周期中的视频图像,既可以得到在该视频图像序列中检测到的每个目标行人,以及该目标行人在该帧视频图像中的所处区域信息和行人特征,并且,又能够确定每个目标行人的最终跟踪状态,即正常跟踪状态或丢失状态。Until the video image in the last detection and tracking cycle of the input video image sequence is processed, each target pedestrian detected in the video image sequence and the area where the target pedestrian is in the frame video image can be obtained. Information and pedestrian characteristics, and can determine the final tracking status of each target pedestrian, that is, normal tracking status or missing status.

步骤120,确定该目标行人的剪影图像序列。Step 120: Determine a silhouette image sequence of the target pedestrian.

本申请具体实施时,在对检测帧图像进行行人检测时,会为每一个检测到的目标行人分配一个唯一标识,并且,不同检测帧图像检测到的同一个目标行人沿用相同的标识。因此,在最后一个检测跟踪周期中检测到的目标行人也具有唯一标识,并且,在最后一个检测跟踪周期中确认跟踪丢 失的目标行人也具有唯一标识。In the specific implementation of the present application, when pedestrian detection is performed on a detection frame image, a unique identifier is assigned to each detected target pedestrian, and the same target pedestrian detected by different detection frame images uses the same identifier. Therefore, the target pedestrians detected in the last detection and tracking cycle also have unique identifiers, and the target pedestrians who have confirmed tracking loss in the last detection and tracking cycle also have unique identifiers.

在对每个检测跟踪周期中的检测帧图像进行行人检测时,还会确定检测到的每个目标行人的检测框,检测框用于指示目标行人在该检测帧图像中所处的图像区域。在基于该检测跟踪周期的跟踪帧图像,对检测到的目标行人进行行人跟踪时,通过该检测框初始化跟踪器,进一步通过跟踪器跟踪目标行人在各跟踪帧图像中的所处区域。When pedestrian detection is performed on a detection frame image in each detection and tracking cycle, a detection frame for each target pedestrian detected is also determined, and the detection frame is used to indicate an image area where the target pedestrian is located in the detection frame image. When pedestrian detection is performed on the detected target pedestrian based on the tracking frame image of the detection tracking period, the tracker is initialized through the detection frame, and the area where the target pedestrian is located in each tracking frame image is further tracked by the tracker.

然后,根据某个目标行人的检测框进一步确定该目标行人在检测帧图像中的图像区域,或根据目标行人的跟踪框进一步确定该目标行人在跟踪帧图像中的图像区域;通过将目标行人在检测帧图像中或在跟踪帧图像中的图像区域输入至预先训练的U型网络(Unity Networking,简称UNet,或U型网络,一种基于时序的网络模型),可以得到该目标行人的剪影图像。Then, the image area of the target pedestrian in the detection frame image is further determined according to the detection frame of a target pedestrian, or the image area of the target pedestrian in the tracking frame image is further determined according to the tracking frame of the target pedestrian; The image area in the detection frame image or in the tracking frame image is input to a pre-trained U-shaped network (Unity Networking, UNet for short) or a U-shaped network, a timing-based network model, and a silhouette image of the target pedestrian can be obtained .

通过此方法,可以确定每个目标行人基于不同视频图像帧的剪影图像。Through this method, a silhouette image of each target pedestrian based on different video image frames can be determined.

最后,将同一个目标行人对应的剪影图像按照该剪影图像所属视频图像帧的先后顺序进行排列,得到该同一个目标行人对应的剪影图像序列。Finally, the silhouette images corresponding to the same target pedestrian are arranged according to the sequence of the video image frames to which the silhouette image belongs to obtain the silhouette image sequence corresponding to the same target pedestrian.

本申请的一个实施例中,在训练U型网络时,训练数据为彩色图像数据,标签是相应的二值图像,将制作好的训练数据集送入U型网络中,然后,通过前向计算损失函数的方法,并进行误差反向传播修改权重,进行网络优化,反复训练此网络使其损失达到最小,最后,得到一个准确的用于行人分割的U型网络。In an embodiment of the present application, when training the U-shaped network, the training data is color image data, and the labels are corresponding binary images. The prepared training data set is sent to the U-shaped network, and then forward calculation is performed. Loss function method, and error back propagation to modify the weights, optimize the network, repeatedly train the network to minimize the loss, and finally get an accurate U-shaped network for pedestrian segmentation.

在提取剪影图像时,由于每个目标行人的检测框或跟踪框大小不同、同一个目标行人在不同视频图像帧中对应的检测框和跟踪框大小也可能不同,因此,在将某一目标行人的检测框或跟踪框确定的图像区域的图像输入至U型网络之前,首先需要对输入的图像区域对应的图像进行归一化处理,将输入的图像归一化到指定大小,如473×473×3大小的图像。When extracting silhouette images, because the size of the detection frame or tracking frame of each target pedestrian is different, and the size of the corresponding detection frame and tracking frame of the same target pedestrian in different video image frames may also be different, Before inputting the image of the image area determined by the detection frame or tracking frame into the U-shaped network, you first need to normalize the image corresponding to the input image area and normalize the input image to a specified size, such as 473 × 473 × 3 size image.

步骤130,分别基于各目标行人的剪影图像序列,获取目标行人的步态能量图。Step 130: Obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian.

通常,20至25个不同的姿态序列可以很好地表征一个人的步态特征,因此,在本申请具体实施时设置剪影图像序列阈值Th=20。在对视频图像序列进行检测和跟踪的过程中,当确定的某一目标行人的剪影图像序列中 包括的剪影图像数量大于剪影图像序列阈值Th时,则可以进一步根据该剪影图像序列进行步态识别。Generally, 20 to 25 different pose sequences can well characterize the gait characteristics of a person. Therefore, the threshold Th = 20 of the silhouette image sequence is set in the specific implementation of this application. In the process of detecting and tracking the video image sequence, when the number of silhouette images included in the determined silhouette image sequence of a target pedestrian is greater than the threshold value Th of the silhouette image sequence, gait recognition can be further performed according to the silhouette image sequence .

例如,通过以下公式确定目标行人的步态能量图:For example, the gait energy map of the target pedestrian is determined by the following formula:

Figure PCTCN2018119766-appb-000001
Figure PCTCN2018119766-appb-000001

Figure PCTCN2018119766-appb-000002
其中,ID为目标行人的标识,x和y是剪影图像坐标,
Figure PCTCN2018119766-appb-000003
表示标识为ID的目标行人的剪影图像序列中第t个剪影图像的(x,y)点的像素值,Count ID表示标识为ID的目标行人的剪影图像序列中Th个剪影图像的(x,y)点的像素值累加和;GEI(x,y) ID表示标识为ID的目标行人的剪影图像序列(x,y)点对应的步态能量图。
Figure PCTCN2018119766-appb-000002
Among them, ID is the identification of the target pedestrian, x and y are the silhouette image coordinates,
Figure PCTCN2018119766-appb-000003
Represents the pixel value of the (x, y) point of the t-th silhouette image in the silhouette image sequence of the target pedestrian identified as ID, and Count ID represents the (x, The pixel values of y) are accumulated and sum; GEI (x, y) ID represents the gait energy map corresponding to the (x, y) points of the silhouette image sequence of the target pedestrian identified as ID.

步骤140,基于目标行人的步态能量图,对目标行人进行身份识别。Step 140: Identify the target pedestrian based on the gait energy map of the target pedestrian.

在本申请的一些实施例中,可以通过预先训练的神经网络模型对目标行人的步态能量图进行识别,确定该目标行人的步态特征。In some embodiments of the present application, the gait energy map of the target pedestrian may be identified through a pre-trained neural network model to determine the gait characteristics of the target pedestrian.

然后,将该目标行人的步态特征与预设数据库中的步态特征进行匹配,确定与对该目标行人的步态特征匹配的用户的身份信息,作为该目标用户的身份信息。至此,实现了对目标用户基于步态信息进行身份识别。Then, the gait feature of the target pedestrian is matched with the gait feature in a preset database, and the identity information of the user matching the gait feature of the target pedestrian is determined as the identity information of the target user. So far, the target user is identified based on the gait information.

在本申请的一些实施例中,可以采用包括1个卷积层,2个残差块以及2个全连接层的卷积神经网络用于提取步态特征。在训练阶段选择若干行人的步态能量图作为训练样本,其中,样本数据为用户的步态能量图,样本标签为用户类别。In some embodiments of the present application, a convolutional neural network including 1 convolutional layer, 2 residual blocks, and 2 fully connected layers may be used to extract gait features. During the training phase, gait energy maps of several pedestrians are selected as training samples, where the sample data is the user's gait energy map and the sample labels are user categories.

在训练过程中,首先将训练样本送入卷积神经网络,然后,先进行一次卷积(conv)操作,再对卷积结果进行降采样,之后,经过两个残差块以及两个全连接层进行前向传递求误差损失,最后,进行误差反传训练网络。其中,训练时采用的步态能量图可以为预设数据库中的步态能量图,也可以是公共数据库中的步态能量图。在识别过程中,可以将卷积神经网络的某个特征输出层的特征矢量作为输入步态能量图的步态特征。In the training process, the training samples are first sent to a convolutional neural network, and then a conv operation is performed first, and then the convolution results are down-sampled. After that, two residual blocks and two fully connected The layer performs forward transfer to find the error loss, and finally, performs the back propagation error training network. The gait energy map used during training may be a gait energy map in a preset database or a gait energy map in a public database. In the recognition process, the feature vector of a feature output layer of the convolutional neural network can be used as the gait feature of the input gait energy map.

本申请实施例公开的基于步态的身份识别方法,通过对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;确定所述目标行人的剪影图像序列;分别基于各目标行人的剪影图像序列,获取所述目标行人的步态能量图;基于目标行人的步态能量图,对所述目标行人进行身份识别,解决了现有技术中多人场景下基于步态识别的身份识别准确率较低的问题。本申请实施例中通过结合行人检测、跟踪和行人重识别技术进行视频图像序列中的相同和不同目标行人的识别,提升了视频图像序列中目标行人识别的准确率,有助于提升多人场景下基于步态的身份识别的准确率。The gait-based identification method disclosed in the embodiments of the present application determines a target pedestrian in the video image sequence by performing pedestrian detection, tracking, and pedestrian re-identification on the video image sequence; determining a silhouette image sequence of the target pedestrian; Gait energy maps of the target pedestrians are obtained based on the silhouette image sequences of the target pedestrians respectively; the target pedestrians are identified based on the gait energy maps of the target pedestrians, which solves the problem of The problem of low accuracy of gait recognition. In the embodiment of the present application, the identification of the same and different target pedestrians in the video image sequence is performed by combining pedestrian detection, tracking, and pedestrian re-identification technologies, which improves the accuracy of target pedestrian recognition in the video image sequence and helps to improve the multi-person scene The accuracy of gait-based identification.

实施例二Example two

基于前述实施例,本实施例公开的一种基于步态的身份识别方法的具体实施方案。Based on the foregoing embodiments, a specific implementation of a gait-based identity recognition method disclosed in this embodiment.

在本申请的一个实施例中,对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人的步骤,包括:按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。In an embodiment of the present application, the steps of performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence include: pre-corresponding to a video image frame corresponding to each detection and tracking cycle. Set the number to determine the video images corresponding to the consecutive detection and tracking periods in the video image sequence; in the order from front to back, based on the video images corresponding to each of the detection and tracking periods, target pedestrians in the video image sequence Performing detection, tracking, and pedestrian re-identification to determine the tracking result of the target pedestrian corresponding to each of the detection and tracking cycles; and determining the target in the video image sequence according to the tracking result of the target pedestrian corresponding to the last detection and tracking cycle pedestrian.

以将本申请公开的身份识别应用于视频监控领域为例,输入的视频图像序列中包括若干帧视频图像,拍摄每帧视频图像之间的时间间隔很短,内容变化不大,如果对每帧视频图像都进行行人检测,并提取行人特征,会造成行人数据冗余,同时也会降低身份识别的效率,因此,本申请基于检测跟踪周期进行行人检测,以提升身份识别的效率,避免行人特征冗余。Taking the identification disclosed in this application in the field of video surveillance as an example, the input video image sequence includes several frames of video images, the time interval between shooting each frame of video images is short, and the content does not change much. Video images are all detected by pedestrians, and pedestrian features are extracted, which will cause pedestrian data redundancy and reduce the efficiency of identity recognition. Therefore, this application performs pedestrian detection based on the detection and tracking cycle to improve the efficiency of identity recognition and avoid pedestrian features. redundancy.

例如,将每20帧视频图像对应一个检测跟踪周期,仅对各检测跟踪周期中的第一帧视频图像进行行人检测,确定其中包括的目标行人。For example, each 20-frame video image corresponds to one detection and tracking period, and pedestrian detection is performed only on the first frame of video images in each detection and tracking period to determine a target pedestrian included therein.

进一步的,为了避免仅对每个检测跟踪周期的第一帧视频图像进行行人检测时,由于某个检测到的目标行人快速运动,导致目标行人被跟丢的情况发生,本申请基于每个检测跟踪周期中第二帧及以后的视频图像帧对 检测到的目标行人进行跟踪。Further, in order to avoid that when the pedestrian detection is performed only on the first frame of the video image of each detection and tracking cycle, the target pedestrian is lost due to the rapid movement of a detected target pedestrian. This application is based on each detection The second and subsequent video image frames in the tracking cycle track the detected target pedestrian.

如图2所示,可选的,基于每个检测跟踪周期对应的视频图像,对视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个检测跟踪周期对应的目标行人的跟踪结果的步骤,包括针对每个所述检测跟踪周期执行步骤210至步骤240的操作。As shown in FIG. 2, optionally, based on the video image corresponding to each detection and tracking cycle, target pedestrians in the video image sequence are detected, tracked, and pedestrian re-identified to determine the tracking of the target pedestrian corresponding to each detection and tracking cycle The step of the result includes performing the operations of step 210 to step 240 for each of the detection tracking cycles.

步骤210,基于当前检测跟踪周期对应的跟踪帧图像,对视频图像序列中预先确定的目标行人进行跟踪,确定该当前检测跟踪周期对应的跟踪结果。Step 210: Based on the tracking frame image corresponding to the current detection tracking period, track a predetermined target pedestrian in the video image sequence to determine a tracking result corresponding to the current detection tracking period.

本申请的实施例中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。In the embodiment of the present application, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking period, and the tracking frame image is a video image sequence corresponding to each detection tracking period. Video image except the first frame video image.

本实施例中,以视频图像序列包括三个检测跟踪周期,每个检测跟踪周期对应20帧视频图像为例详细说明基于每个检测跟踪周期对应的视频图像,对视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个检测跟踪周期对应的目标行人的跟踪结果的具体实施方案。In this embodiment, a video image sequence includes three detection and tracking periods, and each detection and tracking period corresponds to 20 frames of video images as an example. The detailed description is based on the target pedestrian in the video image sequence based on the video image corresponding to each detection and tracking period. Detection, tracking, and pedestrian re-identification, and a specific implementation scheme for determining a tracking result of a target pedestrian corresponding to each detection and tracking cycle.

具体实施时,预先确定的目标行人通过以下至少一种方式确定:若当前检测跟踪周期为首个检测跟踪周期,则根据检测跟踪周期的检测帧图像的检测结果确定;若当前检测跟踪周期非首个检测跟踪周期,则根据相对当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和该当前检测跟踪周期的检测帧图像的检测结果确定。In specific implementation, the predetermined target pedestrian is determined by at least one of the following methods: if the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period; if the current detection and tracking period is not the first The detection tracking period is determined according to the tracking result corresponding to the previous detection tracking period relative to the current detection tracking period and the detection result of the detection frame image of the current detection tracking period.

对于检测跟踪周期为首个检测跟踪周期,根据检测跟踪周期的检测帧图像的检测结果确定目标行人。For the detection and tracking period being the first detection and tracking period, the target pedestrian is determined according to the detection result of the detection frame image of the detection and tracking period.

首先,对第一个检测跟踪周期对应的检测帧图像进行行人检测,确定所述检测帧图像中包括的目标行人。具体实施时,为了标识视频图像序列中检测到的目标行人,对于检测帧图像中检测到的目标行人分配一个唯一的标识。例如,第一个检测跟踪周期的检测帧图像中检测到3个目标行人,则这3个目标行人的标识可以分别设置为1、2、3。本申请实施例中,将检测帧图像中检测到的目标行人,确定为需跟踪的目标行人。First, pedestrian detection is performed on a detection frame image corresponding to a first detection and tracking period, and a target pedestrian included in the detection frame image is determined. In specific implementation, in order to identify the target pedestrian detected in the video image sequence, a unique identifier is assigned to the target pedestrian detected in the detection frame image. For example, if three target pedestrians are detected in the detection frame image of the first detection tracking cycle, the identifiers of the three target pedestrians can be set to 1, 2, and 3 respectively. In the embodiment of the present application, the target pedestrian detected in the detection frame image is determined as the target pedestrian to be tracked.

进一步的,为了后续进行目标行人比对,以及生成目标行人的剪影图像序列,本申请在具体实施时,还需要创建目标信息队列,用于存储检测 到的目标行人的信息,例如,存储目标行人的标识、与该标识对应的行人特征和剪影图像等信息。Further, in order to perform target pedestrian comparison and generate a silhouette image sequence of the target pedestrian in the subsequent implementation, when the present application is implemented, a target information queue needs to be created to store the detected target pedestrian information, for example, to store the target pedestrian. Information such as the identity of the pedestrian, pedestrian characteristics and silhouette images corresponding to the identity.

例如,在对第一个检测跟踪周期中的检测帧图像进行行人检测之后,对于确定的目标行人1,根据目标行人1在检测帧图像中所处的图像区域,即根据目标行人1的检测框对应的图像区域,确定目标行人1的图像。然后,将目标行人1的图像输入至预先训练好的行人重识别特征提取模型,基于行人重识别技术提取目标行人1的行人特征,将提取到的行人特征存储到目标信息队列中目标行人1对应的信息中。For example, after pedestrian detection is performed on the detection frame image in the first detection and tracking cycle, for the determined target pedestrian 1, according to the image area of the target pedestrian 1 in the detection frame image, that is, according to the detection frame of the target pedestrian 1 The corresponding image area determines the image of the target pedestrian 1. Then, the image of the target pedestrian 1 is input to a pre-trained pedestrian re-identification feature extraction model, the pedestrian feature of the target pedestrian 1 is extracted based on the pedestrian re-identification technology, and the extracted pedestrian feature is stored in the target information queue corresponding to the target pedestrian 1 Information.

进一步的,还可以将目标行人1的图像输入至预先训练好的U型网络,确定目标行人1对应视频图像序列中第一帧视频图像的剪影图像,并将确定的剪影图像存储目标信息队列中目标行人1对应的信息中。Further, the image of the target pedestrian 1 can also be input to a pre-trained U-shaped network, the silhouette image of the first frame of the video image in the video image sequence corresponding to the target pedestrian 1 is determined, and the determined silhouette image is stored in the target information queue. In the information corresponding to the target pedestrian 1.

按照上述方法,可以分别获取检测到的目标行人1、目标行人2和目标行人3的行人特征和对应视频图像序列中第一帧视频图像的剪影图像,并存储到目标信息队列中。According to the above method, the detected pedestrian characteristics of the target pedestrian 1, target pedestrian 2, and target pedestrian 3 and the silhouette image of the first frame video image in the corresponding video image sequence can be obtained and stored in the target information queue.

步骤220,对相对该当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果。Step 220: Perform a pedestrian detection on a detection frame image of a next detection tracking period relative to the current detection tracking period to determine a detection result.

然后,基于检测跟踪周期对应的跟踪帧图像,对视频图像序列中预先确定的目标行人进行跟踪,确定该检测跟踪周期对应的跟踪结果。Then, based on the tracking frame image corresponding to the detection tracking period, a predetermined target pedestrian in the video image sequence is tracked to determine a tracking result corresponding to the detection tracking period.

对于第一个检测跟踪周期,基于第2到第20个跟踪帧图像,对第一个检测帧图像检测到的3个目标行人进行跟踪。在对目标行人进行跟踪时,首先根据检测框初始化跟踪器,然后通过跟踪器对每一个跟踪帧图像中的目标行人进行跟踪。对目标进行跟踪的具体方法参见现有技术,本实施例不再赘述。For the first detection and tracking cycle, based on the 2nd to 20th tracking frame images, 3 target pedestrians detected by the first detection frame image are tracked. When tracking the target pedestrian, the tracker is first initialized according to the detection frame, and then the target pedestrian in each tracking frame image is tracked by the tracker. For a specific method for tracking the target, refer to the prior art, which is not described in this embodiment.

在对目标行人进行跟踪时,可以获取每一个跟踪帧图像中各目标行人的跟踪器的所处区域,即各目标行人在相应跟踪帧图像中所处的图像区域。进一步的,根据各目标行人在相应跟踪帧图像中所处的图像区域,可以确定各目标行人在相应跟踪帧图像中的图像。When tracking the target pedestrian, the area where the tracker of each target pedestrian in each tracking frame image is located, that is, the image area where each target pedestrian is located in the corresponding tracking frame image. Further, according to an image region where each target pedestrian is located in the corresponding tracking frame image, an image of each target pedestrian in the corresponding tracking frame image may be determined.

然后,通过将各目标行人在相应跟踪帧图像中的图像输入至预先训练好的U型网络,确定各目标行人对应视频图像序列中第2帧视频图像至第20帧视频图像的剪影图像。并存储到各目标行人的信息队列中。Then, by inputting the image of each target pedestrian in the corresponding tracking frame image into a pre-trained U-shaped network, the silhouette images of the second frame video to the 20th frame video image in the corresponding video image sequence of each target pedestrian are determined. And stored in the information queue of each target pedestrian.

具体实施过程中,如果检测到的某个目标行人,如目标行人2,走出了视频监控范围,则在相应的跟踪帧图像中,跟踪器将跟踪不到目标行人2,此时,确定目标行人2为跟踪丢失状态。在本申请的一些实施例中,可以创建跟踪丢失队列存储跟踪丢失的目标行人的信息。In the specific implementation process, if a detected pedestrian such as target pedestrian 2 is out of the video surveillance range, the tracker will not be able to track target pedestrian 2 in the corresponding tracking frame image. At this time, the target pedestrian is determined 2 is the tracking loss state. In some embodiments of the present application, a tracking loss queue may be created to store the information of the target pedestrian who lost track.

例如,当确定目标行人2跟踪丢失后,将目标行人2的信息从目标信息队列中转移到跟踪丢失队列中。同时,删除目标行人2的跟踪器。在当前检测跟踪周期中,将不再对目标新行人2进行跟踪。而对于在检测跟踪帧中跟踪到的目标行人,将持续对其进行跟踪。For example, when the tracking loss of the target pedestrian 2 is determined, the information of the target pedestrian 2 is transferred from the target information queue to the tracking loss queue. At the same time, the tracker of the target pedestrian 2 is deleted. In the current detection and tracking cycle, the target new pedestrian 2 will no longer be tracked. Target pedestrians tracked in the detection tracking frame will continue to be tracked.

在跟踪的过程中会对当前跟踪帧中的所有需跟踪的目标行人的跟踪结果进行置信度评分,若其中存在某些目标行人的置信度评分低于预设的置信度阈值则确定该目标行人跟踪丢失。During the tracking process, the confidence scores of the tracking results of all target pedestrians to be tracked in the current tracking frame are scored. If there are certain target pedestrians whose confidence scores are lower than a preset confidence threshold, the target pedestrians are determined. Tracking is lost.

具体实施时,跟踪算法需要能反映每一次跟踪结果的可靠程度,否则可能造成行人目标跟丢、跟错的情况。置信度指标是平均峰值相关能量(average peak-to correlation energy,APCE),反映响应图的波动程度和检测目标的置信水平。在本申请的一个实施例中,置信度评分的计算公式为:

Figure PCTCN2018119766-appb-000004
当这个评分大于预设的置信度阈值时,认为是高置信度的跟踪结果,其中,F max,F min分别表示反映响应图中的像素值最大值和最小值;w,h表示反映响应图的水平垂直像素数量;F w,h表示反映响应图中每一个位置的像素值。 In specific implementation, the tracking algorithm needs to be able to reflect the reliability of each tracking result, otherwise it may cause the pedestrian target to be lost or followed. The confidence index is the average peak-to correlation energy (APCE), which reflects the degree of fluctuation of the response graph and the confidence level of the detection target. In an embodiment of the present application, the calculation formula of the confidence score is:
Figure PCTCN2018119766-appb-000004
When this score is greater than the preset confidence threshold, it is considered to be a tracking result with high confidence, where F max and F min respectively represent the maximum and minimum values of the pixel values in the response map; w and h represent the response map The number of horizontal and vertical pixels; F w, h represents the pixel value reflecting each position in the response map.

基于第一个检测跟踪周期的19个跟踪帧图像,对视频图像序列中首次出现的3个目标行人进行跟踪后,将确定检测到的3个目标行人的跟踪结果。其中,跟踪结果包括:处于正常跟踪状态的需跟踪的目标行人的标识、跟踪器、行人特征、至少一帧剪影图像,以及处于跟踪丢失状态的需跟踪的目标行人的标识、行人特征、至少一帧剪影图像。Based on the 19 tracking frame images of the first detection tracking cycle, after tracking the 3 target pedestrians that first appeared in the video image sequence, the tracking results of the 3 target pedestrians will be determined. The tracking results include: a target pedestrian to be tracked in a normal tracking state, a tracker, pedestrian characteristics, at least one frame of a silhouette image, and a target pedestrian to be tracked in a tracking loss state, pedestrian characteristics, at least one Frame silhouette image.

步骤230,根据上述跟踪结果和检测结果进行行人重识别,确定该下一个检测跟踪周期需要跟踪的目标行人。Step 230: Perform pedestrian re-identification according to the above tracking result and detection result, and determine a target pedestrian to be tracked in the next detection and tracking cycle.

接下来对第二个检测跟踪周期的检测帧图像进行行人检测,确定检测结果。Next, pedestrian detection is performed on the detection frame image of the second detection tracking cycle to determine the detection result.

对视频图像帧进行行人检测的具体实施方式参见现有技术,本申请的实施例中不再赘述。通过对第二个检测跟踪周期的检测帧图像进行行人检测,确定的检测结果包括:检测帧图像中包括的目标行人、每个目标行人对应的检测框。For a specific implementation manner of performing pedestrian detection on a video image frame, refer to the prior art, which is not repeated in the embodiments of the present application. By performing pedestrian detection on the detection frame image of the second detection and tracking cycle, the determined detection result includes: the target pedestrian included in the detection frame image, and a detection frame corresponding to each target pedestrian.

进一步的,还可以采用与第一个检测跟踪周期中相同的方式,确定每个目标行人对应第二个检测帧图像(即视频图像序列中第21帧视频图像)的行人特征和剪影图像。假设对第二个检测跟踪周期的检测帧图像进行行人检测,确定其中包括3个目标行人,分别对检测到的3个目标行人分配与之前的检测跟踪周期中检测到的目标行人不同的标识。例如,将第二个检测跟踪周期的检测帧图像中检测到的3个目标行人分别标识为目标行人-1,-2和-3。Further, in the same manner as in the first detection and tracking cycle, it is also possible to determine pedestrian characteristics and silhouette images corresponding to the second detection frame image (that is, the 21st frame video image in the video image sequence) of each target pedestrian. Assume that pedestrian detection is performed on the detection frame image of the second detection and tracking cycle, and it is determined that three target pedestrians are included, and the detected three target pedestrians are respectively assigned different identifiers from the target pedestrians detected in the previous detection and tracking cycle. For example, three target pedestrians detected in the detection frame image of the second detection tracking cycle are identified as target pedestrians -1, -2, and -3, respectively.

之后,根据第一个检测跟踪周期的跟踪结果和第二个检测跟踪周期中检测帧图像的检测结果进行行人重识别,确定第二个检测跟踪周期需要跟踪的目标行人。After that, the pedestrian is re-identified according to the tracking result of the first detection and tracking cycle and the detection result of the detection frame image in the second detection and tracking cycle, and the target pedestrian to be tracked in the second detection and tracking cycle is determined.

在本申请的一些实施例中,跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;检测结果包括:当前检测到的目标行人的检测框。In some embodiments of the present application, the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state and a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state; the detection result includes: currently detected Detection frame for the target pedestrian.

具体实施时,根据跟踪结果和检测结果进行行人重识别,确定下一个检测跟踪周期需要跟踪的目标行人的步骤,包括:对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;对于每个目标行人对,根据目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新需跟踪的目标行人的信息;对未构成目标行人对的当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。In specific implementation, the step of re-identifying pedestrians based on the tracking results and detection results to determine the target pedestrians to be tracked in the next detection and tracking cycle includes the following: the target pedestrians in the normal tracking state that need to be tracked and the currently detected targets Pedestrians are matched to determine the target pedestrian pair; for each target pedestrian pair, pedestrian re-identification is performed based on the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the required pedestrians. Information of the tracked target pedestrians; re-identifying each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the tracked target pedestrians in a tracking loss state to update the information of the tracked target pedestrians; For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state.

在本申请的一些实施例中,对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配包括:确定处于正常跟 踪状态的需跟踪的目标行人的跟踪器与当前检测到的目标行人的检测框的重叠部分的大小,例如,确定跟踪器的所处区域与检测框的所处区域的重叠部分占上述最小所处区域的比例。由上述第一个检测跟踪周期的跟踪结果可知,处于正常跟踪状态的目标行人包括目标行人1和目标行人3,由上述第二个检测跟踪周期的检测结果可知当前检测到的目标行人包括目标行人-1、目标行人-2和目标行人-3,首先,根据目标行人1和目标行人3的跟踪器分别与目标行人-1、目标行人-2和目标行人-3的检测框的重叠部分的大小,确定目标行人对。假设目标行人1的跟踪器和目标行人-1的检测框的重叠部分的大小满足预设条件,则确定目标行人1和目标行人-1为目标行人对。再假设目标行人3的跟踪器和目标行人-1、目标行人-2,以及目标行人-3的检测框的重叠部分的大小均不满足预设条件,则确定目标行人3、目标行人-2、目标行人-3未构成目标行人对。In some embodiments of the present application, matching the area where the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian includes determining the tracking of the target pedestrian to be tracked in the normal tracking state. The size of the overlap between the detector and the detection frame of the currently detected target pedestrian, for example, determines the ratio of the overlap between the area where the tracker is located and the area where the detection frame is located to the minimum area. It can be known from the tracking results of the first detection and tracking cycle that the target pedestrians in the normal tracking state include target pedestrians 1 and 3, and from the detection results of the second detection and tracking cycle that the currently detected target pedestrians include target pedestrians. -1. Target pedestrian-2 and target pedestrian-3. First, according to the size of the overlap between the trackers of target pedestrian 1 and target pedestrian 3 and the detection frame of target pedestrian-1, target pedestrian-2 and target pedestrian-3, respectively , Determine the target pedestrian pair. Assuming that the size of the overlapping portion of the tracker of the target pedestrian 1 and the detection frame of the target pedestrian-1 satisfies a preset condition, it is determined that the target pedestrian 1 and the target pedestrian-1 are target pedestrian pairs. Assuming that the tracker of target pedestrian 3, the target pedestrian-1, target pedestrian-2, and the overlapping portion of the detection frame of target pedestrian-3 do not meet the preset conditions, determine target pedestrian 3, target pedestrian-2, Target pedestrian-3 does not constitute a target pedestrian pair.

在对目标行人基于所处区域进行匹配之后,所处区域重叠度较高的需跟踪的目标行人和当前检测到的目标行人将被匹配为目标行人对。进一步的,为了提升同一行人的判断准确率,还需要基于行人特征对目标行人对中的两个目标行人进行行人重识别。After matching the target pedestrians based on their areas, the target pedestrians to be tracked and the currently detected target pedestrians with high overlap in their areas will be matched as target pedestrian pairs. Further, in order to improve the judgment accuracy rate of the same pedestrian, it is also necessary to re-identify the two target pedestrians in the target pedestrian pair based on the pedestrian characteristics.

在本申请的一些实施例中,根据目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新需跟踪的目标行人的信息的步骤,包括:根据目标行人对中包括的两个目标行人的行人特征,确定该两个目标行人之间的相似度,其中,该两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;若根据相似度确定该两个目标行人为同一人,则通过当前检测到的目标行人的检测框更新需跟踪的目标行人的跟踪器;若根据相似度确定该两个目标行人非同一人,则将目标行人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至上述需跟踪的目标行人中;其中,行人特征为通过行人重识别技术获取。In some embodiments of the present application, the step of re-identifying the pedestrian according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes: According to the pedestrian characteristics of two target pedestrians included in the target pedestrian pair, determine the similarity between the two target pedestrians, where the two target pedestrians include: the target pedestrian to be tracked and the currently detected target pedestrian; if If the two target pedestrians are determined to be the same person based on the similarity, the tracker of the target pedestrians to be tracked is updated through the detection frame of the currently detected target pedestrians; if the two target pedestrians are not the same person based on the similarity, The target pedestrian to be tracked included in the target pedestrian pair is set to a lost state, and the tracker of the target pedestrian to be tracked is deleted, and the currently detected target pedestrian is added to the target pedestrian to be tracked; wherein, Pedestrian characteristics are obtained through pedestrian re-identification technology.

例如,对于目标行人对中需跟踪的目标行人的目标行人1和当前检测到的目标行人-1,进一步通过计算目标行人1和目标行人-1的行人特征的相似度距离确定目标行人1和目标行人-1的相似度。若相似度满足预设相似度条件,则确定目标行人1和目标行人-1是同一个人,通过当前检测到 的目标行人-1的检测框更新需跟踪的目标行人1的跟踪器,以便在第二个检测跟踪周期中继续跟踪目标行人1。若相似度不满足预设相似度条件,则确定目标行人1和目标行人-1不是同一个人,认为需跟踪的目标行人1走出了视频监控范围,将目标行人1设置为丢失状态,删除需跟踪的目标行人1的跟踪器。同时,将当前检测到的目标行人-1补充至需跟踪的目标行人中,并将目标行人-1的标识、行人特征以及剪影图像等信息保存到目标信息队列。优选的,本申请实施例中的行人特征为通过行人重识别技术获取的。For example, for the target pedestrian pair to be tracked, the target pedestrian 1 and the currently detected target pedestrian-1, further determine the target pedestrian 1 and the target by calculating the similarity distance between the pedestrian characteristics of the target pedestrian 1 and the target pedestrian-1. Similarity of Pedestrian-1. If the similarity satisfies the preset similarity condition, it is determined that the target pedestrian 1 and the target pedestrian-1 are the same person, and the tracker of the target pedestrian 1 to be tracked is updated through the detection frame of the currently detected target pedestrian-1, so that The target pedestrian 1 continues to be tracked during the two detection and tracking cycles. If the similarity does not satisfy the preset similarity conditions, it is determined that the target pedestrian 1 and the target pedestrian-1 are not the same person, the target pedestrian 1 who believes that the tracking needs to be out of the video surveillance scope, sets the target pedestrian 1 to the missing state, and deletes the tracking required Tracker for target pedestrian 1. At the same time, the currently detected target pedestrian-1 is added to the target pedestrian to be tracked, and information such as the identification, pedestrian characteristics, and silhouette image of the target pedestrian-1 is stored in the target information queue. Preferably, the pedestrian characteristics in the embodiments of the present application are obtained through pedestrian re-identification technology.

在本申请的另一些实例中,在对目标行人基于所处区域进行匹配之后,对未构成目标行人对的当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新需跟踪的目标行人的信息的步骤,包括:根据预先获取的行人特征,确定未构成目标行人对的当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;若根据两两相似度确定相应的未构成目标行人对的当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过当前检测到的目标行人的检测框创建恢复为正常跟踪状态的该需跟踪的目标行人的跟踪器;若根据两两相似度确定当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,即当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人均不匹配,则将当前检测到的目标行人补充至需跟踪的目标行人中;其中,行人特征为通过行人重识别技术获取的。In some other examples of the present application, after matching the target pedestrians based on their location, each currently detected target pedestrian that does not constitute a target pedestrian pair is pedestrian-revised with the target pedestrian to be tracked in a tracking loss state. The step of identifying and updating the information of the target pedestrians to be tracked includes: determining, according to the pedestrian characteristics obtained in advance, each target pedestrian currently detected that does not constitute a target pedestrian pair and each target to be tracked in a tracking loss state Pairwise similarity between pedestrians; if the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is determined to be the same person as the target pedestrian that needs to be tracked in the state of tracking loss based on the pairwise similarity, it will be in tracking loss The state of the target pedestrian to be tracked is restored to the normal tracking state, and a tracker of the target pedestrian to be tracked is restored to the normal tracking state through the detection frame of the currently detected target pedestrian; if the current detection is determined according to the pairwise similarity The target pedestrian is not the target pedestrian to be tracked in the state of tracking loss, that is, the current Pedestrian detected target and the target track in the track pedestrians have lost state does not match, then the current detected target complementary to the target pedestrian pedestrians have tracked; wherein pedestrian pedestrians characterized by a weight acquired recognition technology.

例如,对于当前检测到的目标行人-2和-3,将其进一步和跟踪丢失队列中的目标行人2进行行人重识别。首先跟据目标行人2的行人特征和目标行人-2和-3的行人特征,分别确定目标行人2和目标行人-2的相似度、目标行人2和目标行人-3的相似度。For example, for the currently detected target pedestrians -2 and -3, they are further re-identified with the target pedestrian 2 in the tracking loss queue. First, according to the pedestrian characteristics of target pedestrian 2 and the pedestrian characteristics of target pedestrians 2 and -3, determine the similarity between target pedestrian 2 and target pedestrian-2, and the similarity between target pedestrian 2 and target pedestrian-3, respectively.

然后,根据确定的相似度进一步确定当前检测到的目标行人是否为曾经跟踪丢失的目标行人。Then, according to the determined similarity, it is further determined whether the currently detected target pedestrian is a target pedestrian who has been tracked and lost.

例如,若目标行人2和目标行人-2的相似度满足预设相似度条件,则确定目标行人2和目标行人-2为同一个目标行人,此时,将处于跟踪丢失状态的需跟踪的目标行人2恢复为正常跟踪状态,并通过当前检测到的目 标行人的检测框创建目标行人2的跟踪器。For example, if the similarity between target pedestrian 2 and target pedestrian-2 satisfies a preset similarity condition, it is determined that target pedestrian 2 and target pedestrian-2 are the same target pedestrian. At this time, the target to be tracked will be in a state of tracking loss. Pedestrian 2 returns to the normal tracking state, and a tracker of target pedestrian 2 is created by the detection frame of the currently detected target pedestrian.

再例如,目标行人2和目标行人-3的相似度不满足预设相似度条件,则确定目标行人2和目标行人-3不是同一个目标行人,此时,将当前检测到的目标行人补充至需跟踪的目标行人中,并将目标行人-3的标识、行人特征以及剪影图像等信息保存到目标信息队列。其中,行人特征为通过行人重识别技术获取的。For another example, if the similarity between target pedestrian 2 and target pedestrian-3 does not meet the preset similarity condition, it is determined that target pedestrian 2 and target pedestrian-3 are not the same target pedestrian. At this time, the currently detected target pedestrian is added to Among the target pedestrians to be tracked, the target pedestrian-3's identification, pedestrian characteristics, and silhouette images are saved to the target information queue. Among them, pedestrian characteristics are obtained through pedestrian re-identification technology.

在本申请的一些实施例中,处于跟踪丢失状态的需跟踪的目标行人可能为0个、1个或多个。在对需跟踪的目标行人和当前检测到的目标行人的所处区域进行匹配时,如果需跟踪的目标行人和当前检测到的目标行人全部被匹配为目标行人对,则可以确定当前不存在处于跟踪丢失状态的需跟踪的目标行人。因此,在对目标行人基于所处区域进行匹配之后,不需要执行对未构成目标行人对的当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新需跟踪的目标行人的信息的步骤。In some embodiments of the present application, there may be zero, one, or more target pedestrians to be tracked in a tracking loss state. When matching the areas of the target pedestrians to be tracked and the currently detected target pedestrians, if all the target pedestrians to be tracked and the currently detected target pedestrians are matched as target pedestrian pairs, it can be determined that there is currently no Target pedestrians to be tracked in a lost state. Therefore, after matching the target pedestrians based on their area, there is no need to perform pedestrian re-identification of each currently detected target pedestrian that does not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update Steps to track the information of the target pedestrian.

在本申请的另一些实施例中,在对目标行人基于所处区域进行匹配之后,对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人3,将其设置为丢失状态。删除目标行人3的跟踪器,并将目标行人3的信息转移至跟踪丢失队列中。In other embodiments of the present application, after the target pedestrian is matched based on the area in which it is located, the target pedestrian 3 to be tracked in a normal tracking state that does not constitute the target pedestrian pair is set to a lost state. The tracker of the target pedestrian 3 is deleted, and the information of the target pedestrian 3 is transferred to the tracking loss queue.

在本申请的另一些实施例中,将所述当前检测到的目标行人补充至需跟踪的目标行人中之后,还包括:若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。例如,若所述当前检测到的目标行人,仅在少数几个检测跟踪周期中被检测到,则认为该目标行人为临时闯入视频监控范围的行人,或发生了跟踪错误,不予对其进行身份识别。若所述当前检测到的目标行人在后续的预设数量的检测跟踪周期中持续被检测到,则认为该目标行人为新出现在视频监控范围的行人,持续对其进行跟踪。In other embodiments of the present application, after adding the currently detected target pedestrian to the target pedestrian to be tracked, the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number , Remove it from the targeted pedestrians to track. For example, if the currently detected target pedestrian is detected only in a few detection and tracking cycles, the target pedestrian is considered to be a pedestrian who temporarily broke into the video surveillance range, or a tracking error has occurred, and the target pedestrian will not be allowed to do so. For identification. If the currently detected target pedestrian is continuously detected in a subsequent preset number of detection and tracking cycles, the target pedestrian is considered to be a pedestrian newly appearing in the video surveillance range, and it is continuously tracked.

步骤240,判断是否所有检测跟踪周期处理结束,若是,则结束;否则,跳转至步骤210。In step 240, it is judged whether all the detection and tracking cycle processing ends, and if so, it ends; otherwise, go to step 210.

本申请具体实施时,针对连续的检测跟踪周期,循环执行上述步骤210至步骤230,直至最后一个检测跟踪周期结束。In the specific implementation of this application, for the continuous detection and tracking cycle, the above steps 210 to 230 are performed cyclically until the last detection and tracking cycle ends.

本申请实施例中,对各检帧图像中每个目标行人的图像提取行人特征所采用的行人重识别特征提取模型可以通过以下方法训练。In the embodiment of the present application, the pedestrian re-recognition feature extraction model used to extract pedestrian features from the image of each target pedestrian in each frame image can be trained by the following methods.

首先,构建网络结构。First, build a network structure.

由于目标行人的图像通常比较小,而且目标行人图像不是方形的,因此不适合直接使用具有高分辨率和丰富细节的ImageNet(ImageNet项目是一个用于视觉对象识别软件研究的大型可视化数据库)预训练的卷积神经网络,本申请实施例采用的卷积神经网络模型结构包括:3层卷积层(卷积核大小3×3),6个Inception模块和两个全连接层。如表1所示Inception模块结构,其中Conv表示卷积层,Pooling表示池化层,表格中每一行代表一个支路。Because the image of the target pedestrian is usually small, and the target pedestrian image is not square, it is not suitable to directly use ImageNet with high resolution and rich details (the ImageNet project is a large visualization database for visual object recognition software research) pre-training The convolutional neural network model structure used in the embodiment of the present application includes: three layers of convolutional layers (the size of the convolution kernel is 3 × 3), six Inception modules, and two fully connected layers. As shown in Table 1, the structure of the Inception module, where Conv represents the convolution layer, Pooling represents the pooling layer, and each row in the table represents a branch.

其次,构建训练样本。Second, construct training samples.

现有技术中的单个数据集的数量较少且样本种类较单一,为了保证训练所得到的Reid-CNN网络具有很好的泛化能力,因此网络训练的数据选择了多个行人重识别数据集,如CUHK03数据集、CUHK01数据集、PRID、VIPeR、3DPeS、iLIDS和Shinpuhkan,然后将上述行人重识别数据集合并成一个大的数据集作为网络的输入,这样保证网络可以学习到更多丰富场景特征信息。In the prior art, the number of single data sets is small and the sample types are relatively single. In order to ensure that the Reid-CNN network obtained by training has a good generalization ability, multiple pedestrian re-identification data sets are selected for the network training data. , Such as CUHK03 data set, CUHK01 data set, PRID, VIPer, 3DPeS, iLIDS and Shinpuhkan, and then combine the pedestrian re-identification data set into a large data set as the network input, so that the network can learn more rich scenarios Feature information.

样本数据为图像,样本标签为行人的标识或者属性。The sample data is an image, and the sample label is the identity or attribute of a pedestrian.

最后,基于生成的训练样本训练卷积神经网络模型。Finally, the convolutional neural network model is trained based on the generated training samples.

本申请实施例通过首先根据所处区域进行行人匹配,然后进一步根据行人特征进行目标行人匹配,确定不同视频图像帧中的同一个目标行人,提升了识别视频图像序列中目标行人的准确率,进一步提升基于步态进行身份识别的准确率。The embodiment of the present application improves the accuracy of identifying target pedestrians in a video image sequence by first performing pedestrian matching based on the area in which they are located, and then performing target pedestrian matching based on pedestrian characteristics to determine the same target pedestrian in different video image frames. Improve the accuracy of identity recognition based on gait.

通过根据后续视频检测周期中检测到的目标行人与跟踪丢失的目标行人进行匹配,可以避免跟踪错误导致的视频图像序列中拍摄的行人识别不准确。By matching target pedestrians detected in subsequent video detection cycles with target pedestrians with missing tracking, it is possible to avoid inaccurate pedestrian recognition in the video image sequence caused by tracking errors.

本申请在进行目标行人检测与跟踪的同时,使用行人重识别技术能够在多行人背景下或者跨摄像头条件下进行准确的行人标识,有利于准确的提取行人的剪影图像序列。此外,本申请基于卷积神经网络进行自适应的步态特征提取,弥补了传统步态特征提取方法很难准确提取具有代表性的 步态特征的缺陷。两者相结合很好地实现了在实时的摄像机监控条件下基于步态进行行人的身份识别。While performing target pedestrian detection and tracking, the present application uses pedestrian re-identification technology to perform accurate pedestrian identification in the context of multiple pedestrians or across cameras, which is conducive to accurately extracting pedestrian silhouette image sequences. In addition, the present application performs adaptive gait feature extraction based on a convolutional neural network, which makes up for the drawback that it is difficult for traditional gait feature extraction methods to accurately extract representative gait features. The combination of the two well implements pedestrian identification based on gait under real-time camera surveillance conditions.

在本申请的一些实施例中,确定该目标行人的剪影图像序列的步骤具体为:根据获取的目标行人在视频图像序列中每帧视频图像中的剪影图像,确定该目标行人的剪影图像序列,包括:按照剪影图像对应的视频图像帧在所述视频图像序列中的前后位置对每个目标行人的预先获取的剪影图像分别排序,确定每个目标行人的剪影图像序列;其中,每个目标行人的剪影图像通过以下方式获取:根据对检测帧图像进行行人检测时确定的每个目标行人的检测框,获取各目标行人在检测帧图像中的图像;以及,根据对跟踪帧图像进行行人跟踪时确定的每个目标行人的跟踪器,获取各所述目标行人在跟踪帧图像中的图像;将所述目标行人在各帧视频图像中的图像分别输入至预先训练的U型网络,分别确定所述目标行人对应各帧视频图像的剪影图像。In some embodiments of the present application, the step of determining the silhouette image sequence of the target pedestrian is specifically: determining the silhouette image sequence of the target pedestrian according to the obtained silhouette image of each frame of the video image in the video image sequence of the target pedestrian, The method comprises: sorting the pre-obtained silhouette images of each target pedestrian according to the forward and backward positions of the video image frames corresponding to the silhouette images in the video image sequence to determine the silhouette image sequence of each target pedestrian; wherein each target pedestrian The silhouette image of is obtained by: acquiring the image of each target pedestrian in the detection frame image according to the detection frame of each target pedestrian determined during the pedestrian detection of the detection frame image; and when pedestrian tracking is performed on the tracking frame image The determined tracker of each target pedestrian obtains the images of the target pedestrians in the tracking frame images; the images of the target pedestrians in the video images of each frame are input to a pre-trained U-shaped network, respectively, and the identified The target pedestrian corresponds to a silhouette image of each frame of video image.

例如,在对最后一个检测跟踪周期对应的视频图像进行检测跟踪之后,确定了处于正常跟踪状态的需跟踪的目标行人和跟踪丢失的目标行人,每个处于正常跟踪状态的需跟踪的目标行人和跟踪丢失的目标行人都被唯一标识,并且在目标信息队列或跟踪丢失队列中都存储有相应的剪影图像。通过将同一个标识对应的所有剪影图像按照该剪影图像所属视频图像帧在视频图像队列中的先后顺序进行排列,就得到了该同一标识对应的目标行人的剪影图像序列。具体实施时,在获取剪影图像时,可以对每个标识对应的目标行人的剪影图像,按照获取的先后顺序分别依次存储,则可以更快速的获取目标行人的剪影图像序列。For example, after detecting and tracking the video image corresponding to the last detection and tracking cycle, the target pedestrians to be tracked and the target pedestrians who have been tracked to be lost in the normal tracking state are determined. Target pedestrians who have been lost to tracking are uniquely identified, and corresponding silhouette images are stored in either the target information queue or the tracking loss queue. By arranging all the silhouette images corresponding to the same identifier in the order of the video image frames to which the silhouette image belongs in the video image queue, the silhouette image sequence of the target pedestrian corresponding to the same identifier is obtained. In specific implementation, when obtaining silhouette images, the silhouette images of the target pedestrians corresponding to each identifier can be stored in the order of acquisition, and the silhouette image sequence of the target pedestrians can be obtained more quickly.

实施例三Example three

本实施例公开的一种基于步态的身份识别装置,如图3所示,所述装置包括:A gait-based identification device disclosed in this embodiment, as shown in FIG. 3, the device includes:

目标行人确定模块310,用于对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;A target pedestrian determination module 310, configured to perform pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence;

剪影图像序列确定模块320,用于确定所述目标行人的剪影图像序列;A silhouette image sequence determination module 320, configured to determine a silhouette image sequence of the target pedestrian;

步态能量图确定模块330,用于分别基于各目标行人的剪影图像序列,获取所述目标行人的步态能量图;Gait energy map determination module 330 is configured to obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian;

身份识别模块340,用于基于目标行人的步态能量图,对所述目标行人进行身份识别。The identity recognition module 340 is configured to identify the target pedestrian based on the gait energy map of the target pedestrian.

可选的,在对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人时,如图4所示,所述目标行人确定模块310进一步包括:Optionally, when pedestrian detection, tracking, and pedestrian recognition are performed on the video image sequence to determine a target pedestrian in the video image sequence, as shown in FIG. 4, the target pedestrian determination module 310 further includes:

检测跟踪周期确定子模块3101,用于按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;The detection tracking period determination submodule 3101 is configured to determine video images corresponding to consecutive detection tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection tracking period;

周期目标行人确定子模块3102,用于按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;A periodic target pedestrian determination sub-module 3102, configured to detect, track and re-identify a target pedestrian in the video image sequence based on a video image corresponding to each of the detection and tracking periods in a front-to-back sequence, Determining a tracking result of a target pedestrian corresponding to each of the detection and tracking periods;

跟踪结果确定子模块3103,用于根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。The tracking result determination submodule 3103 is configured to determine a target pedestrian in the video image sequence according to a tracking result of the target pedestrian corresponding to the last detection and tracking cycle.

可选的,在基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果时,如图5所示,所述周期目标行人确定子模块3102,进一步包括:Optionally, based on the video image corresponding to each of the detection and tracking periods, the target pedestrian in the video image sequence is detected, tracked and re-recognized to determine the target pedestrian corresponding to each of the detection and tracking periods. When tracking results, as shown in FIG. 5, the periodic target pedestrian determination sub-module 3102 further includes:

跟踪单元31021,用于针对每个所述检测跟踪周期,基于当前检测跟踪周期对应的跟踪帧图像,对所述视频图像序列中预先确定的目标行人进行跟踪,确定所述当前检测跟踪周期对应的跟踪结果;A tracking unit 31021 is configured to track, for each of the detection and tracking cycles, a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection and tracking cycle, and determine a target corresponding to the current detection and tracking cycle. Tracking Results;

检测单元31022,用于针对每个所述检测跟踪周期,对相对所述当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果;A detection unit 31022, configured to perform, for each of the detection and tracking periods, pedestrian detection on a detection frame image of a next detection and tracking period relative to the current detection and tracking period to determine a detection result;

行人重识别单元31023,用于针对每个所述检测跟踪周期,根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人;A pedestrian re-identification unit 31023, configured to perform pedestrian re-identification according to the tracking result and the detection result for each of the detection and tracking cycles to determine a target pedestrian to be tracked in the next detection and tracking cycle;

其中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。Wherein, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle, and the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle. Video images other than video images.

可选的,所述预先确定的目标行人通过以下至少一种方式确定:Optionally, the predetermined target pedestrian is determined in at least one of the following ways:

若当前检测跟踪周期为首个检测跟踪周期,则根据所述检测跟踪周期的检测帧图像的检测结果确定;If the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period;

若当前检测跟踪周期非首个检测跟踪周期,则根据相对所述当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和所述当前检测跟踪周期的检测帧图像的检测结果确定。If the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period.

可选的,所述跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;所述检测结果包括:当前检测到的目标行人的检测框,在根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人时,所述行人重识别单元31023进一步用于:Optionally, the tracking result includes at least: a target pedestrian to be tracked in a normal tracking state, a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state; the detection result includes: the currently detected The detection frame of the target pedestrian, when the pedestrian re-identification is performed according to the tracking result and the detection result, and the target pedestrian to be tracked in the next detection and tracking cycle is determined, the pedestrian re-identification unit 31023 is further configured to:

对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;Matching the area of the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian to determine the target pedestrian pair;

对于每个所述目标行人对,根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息;For each of the target pedestrian pairs, perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked;

对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;Performing pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked;

对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state.

可选的,所述根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:Optionally, the step of performing pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked includes: :

根据所述目标行人对中包括的两个目标行人的行人特征,确定所述两个目标行人之间的相似度,其中,所述两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;Determine the similarity between the two target pedestrians according to the pedestrian characteristics of the two target pedestrians included in the target pedestrian pair, wherein the two target pedestrians include: the target pedestrian to be tracked and the currently detected Target pedestrian

若根据所述相似度确定所述两个目标行人为同一人,则通过所述当前检测到的目标行人的检测框更新所述需跟踪的目标行人的跟踪器;If the two target pedestrians are determined to be the same person according to the similarity, updating a tracker of the target pedestrian to be tracked through a detection frame of the currently detected target pedestrian;

若根据所述相似度确定所述两个目标行人非同一人,则将所述目标行 人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至上述需跟踪的目标行人中;If it is determined that the two target pedestrians are not the same person according to the similarity, setting the target pedestrian to be tracked included in the target pedestrian pair to a lost state, and deleting the tracker of the target pedestrian to be tracked, and Adding the currently detected target pedestrians to the target pedestrians to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

可选的,所述对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:Optionally, each of the currently detected target pedestrians that do not form a target pedestrian pair is re-identified with a target pedestrian that needs to be tracked in a tracking loss state to update the information of the target pedestrian that needs to be tracked Steps, including:

根据预先获取的行人特征,确定未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;Determining the pairwise similarity between each of the currently detected target pedestrians that do not constitute a target pedestrian pair and each target pedestrian that needs to be tracked in a tracking loss state according to the pedestrian characteristics obtained in advance;

若根据所述两两相似度确定相应的未构成目标行人对的所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将所述处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过所述当前检测到的目标行人的检测框创建恢复为正常跟踪状态的所述需跟踪的目标行人的跟踪器;If it is determined according to the pairwise similarity that the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is the same person as the target pedestrian in the tracking loss state, the demand in the tracking loss state is determined. The tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian;

若根据所述两两相似度确定所述当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,即所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的各目标行人均不匹配,则将所述当前检测到的目标行人补充至需跟踪的目标行人中;If it is determined according to the pairwise similarity that the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, that is, the currently detected target pedestrian and each target row to be tracked in a tracking loss state If there is no match, add the currently detected target pedestrian to the target pedestrian to be tracked;

其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology.

在本申请的另一些实施例中,将所述当前检测到的目标行人补充至需跟踪的目标行人中之后,还包括:若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。In other embodiments of the present application, after adding the currently detected target pedestrian to the target pedestrian to be tracked, the method further includes: if the number of times that the currently detected target pedestrian is detected is less than a preset number , Remove it from the targeted pedestrians to track.

本实施例公开的基于步态的身份识别装置用于实现实施例一所述的基于步态的身份识别方法,所述装置的各个模块的具体实施方式参见实施例一中相应步骤的具体实施方式,本实施例不再赘述。The gait-based identification device disclosed in this embodiment is used to implement the gait-based identification method described in Embodiment 1. For specific implementations of each module of the device, refer to the specific implementation of corresponding steps in Embodiment 1. This embodiment will not repeat them.

本申请实施例公开的基于步态的身份识别装置,通过对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;根据获取的所述目标行人在视频图像序列中每帧视频图像中的剪影图像,确定所述目标行人的剪影图像序列;分别基于各目标行人的剪影图像序列, 获取所述目标行人的步态能量图;基于目标行人的步态能量图,对所述目标行人进行身份识别,解决了现有技术中多人场景下基于步态识别的身份识别准确率较低的问题。本申请实施例中通过结合行人检测、跟踪和行人重识别技术进行视频图像序列中的相同和不同目标行人的识别,提升了视频图像序列中目标行人识别的准确率,有助于提升多人场景下基于步态的身份识别的准确率。The gait-based identity recognition device disclosed in the embodiments of the present application determines a target pedestrian in the video image sequence by performing pedestrian detection, tracking, and pedestrian re-identification on the video image sequence; according to the obtained target pedestrian in the video image, The silhouette image in each frame of the video image in the sequence determines the silhouette image sequence of the target pedestrian; obtains the gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian; based on the gait energy map of the target pedestrian The identity recognition of the target pedestrian solves the problem of low accuracy of identity recognition based on gait recognition in a multi-person scene in the prior art. In the embodiment of the present application, the identification of the same and different target pedestrians in the video image sequence is performed by combining pedestrian detection, tracking, and pedestrian re-identification technologies, which improves the accuracy of target pedestrian recognition in the video image sequence and helps to improve the multi-person scene The accuracy of gait-based identification.

本申请实施例通过首先根据所处区域进行行人匹配,然后进一步根据行人特征进行目标行人匹配,确定不同视频图像帧中的同一个目标行人,提升了识别视频图像序列中目标行人的准确率,进一步提升基于步态进行身份识别的准确率。The embodiment of the present application improves the accuracy of identifying target pedestrians in a video image sequence by first performing pedestrian matching based on the area in which they are located, and then performing target pedestrian matching based on pedestrian characteristics to determine the same target pedestrian in different video image frames. Improve the accuracy of identity recognition based on gait.

通过根据后续视频检测周期中检测到的目标行人与跟踪丢失的目标行人进行匹配,可以避免跟踪错误导致的视频图像序列中拍摄的行人识别不准确。By matching target pedestrians detected in subsequent video detection cycles with target pedestrians with missing tracking, it is possible to avoid inaccurate pedestrian recognition in the video image sequence caused by tracking errors.

本申请在进行目标行人检测与跟踪的同时,使用行人重识别技术能够在多行人背景下或者跨摄像头条件下进行准确的行人标识,有利于准确的提取行人的剪影图像序列。此外,本申请基于卷积神经网络进行自适应的步态特征提取,弥补了传统步态特征提取方法很难准确提取具有代表性的步态特征的缺陷。两者相结合很好地实现了在实时的摄像机监控条件下基于步态进行行人的身份识别。While performing target pedestrian detection and tracking, the present application uses pedestrian re-identification technology to perform accurate pedestrian identification in the context of multiple pedestrians or across cameras, which is conducive to accurately extracting pedestrian silhouette image sequences. In addition, the present application performs adaptive gait feature extraction based on a convolutional neural network, which makes up for the drawback that it is difficult for traditional gait feature extraction methods to accurately extract representative gait features. The combination of the two well implements pedestrian identification based on gait under real-time camera surveillance conditions.

相应的,本申请还公开了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例一所述的基于步态的身份识别方法。所述电子设备可以为PC机、移动终端、个人数字助理、平板电脑等。Correspondingly, the present application also discloses an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the processor is implemented as in the present application. The gait-based identification method according to the first embodiment. The electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, or the like.

本申请还公开了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例一所述的基于步态的身份识别方法的步骤。The present application also discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the gait-based identification method according to the first embodiment of the present application are implemented.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments may refer to each other. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the related parts, refer to the description of the method embodiment.

以上对本申请提供的一种基于步态的身份识别方法及装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The gait-based identification method and device provided in this application have been described in detail above. Specific examples are used in this article to explain the principle and implementation of this application. The description of the above embodiments is only used to help understand this. The method of application and its core ideas; at the same time, for those of ordinary skill in the art, according to the ideas of this application, there will be changes in the specific implementation and application scope. In summary, the contents of this specification should not be understood Is a limitation on this application.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件实现。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。此外,上述对各元件和方法的定义并不仅限于实施例中提到的各种具体结构、形状或方式,本领域普通技术人员可对其进行简单地更改或替换。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, they can also be implemented by hardware. Based on such an understanding, the above-mentioned technical solution essentially or part that contributes to the existing technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic A disc, an optical disc, and the like include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments. In addition, the above definitions of the elements and methods are not limited to the various specific structures, shapes, or manners mentioned in the embodiments, and those skilled in the art can simply modify or replace them.

类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it should be understood that, in order to streamline the present disclosure and help understand one or more of the various disclosed aspects, in the above description of exemplary embodiments of the present disclosure, various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or description of it. However, this disclosed method should not be construed as reflecting the intention that the claimed present disclosure claims more features than are expressly recited in each claim. Rather, as reflected in the following claims, the disclosure aspect is less than all features of the single embodiment disclosed previously. Thus, claims following a specific embodiment are hereby expressly incorporated into that specific embodiment, with each claim standing on its own as a separate embodiment of the present disclosure.

以上所述的具体实施例,对本公开的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本公开的具体实施例而已,并不用于限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions, and beneficial effects of the present disclosure in detail. It should be understood that the above are only specific embodiments of the present disclosure and are not intended to limit the present disclosure. Any modification, equivalent replacement, or improvement made within the spirit and principle of this disclosure shall be included in the protection scope of this disclosure.

Claims (28)

一种基于步态的身份识别方法,其特征在于,包括:A gait-based identification method includes: 对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;Performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence; 确定所述目标行人的剪影图像序列;Determining a silhouette image sequence of the target pedestrian; 分别基于各目标行人的所述剪影图像序列,获取所述目标行人的步态能量图;Obtaining a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian; 基于所述目标行人的步态能量图,对所述目标行人进行身份识别。Based on the gait energy map of the target pedestrian, the target pedestrian is identified. 根据权利要求1所述的方法,其特征在于,所述对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人的步骤,包括:The method according to claim 1, wherein the steps of performing pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence include: 按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;Determining video images corresponding to consecutive detection and tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection and tracking period; 按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;In the order from front to back, based on the video images corresponding to each of the detection and tracking periods, the target pedestrian in the video image sequence is detected, tracked, and pedestrian re-identified, and the corresponding one of each of the detection and tracking periods is determined. Tracking results of target pedestrians; 根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。Determining the target pedestrian in the video image sequence according to the tracking result of the target pedestrian corresponding to the last detection and tracking cycle. 根据权利要求2所述的方法,其特征在于,所述基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果的步骤,包括:The method according to claim 2, characterized in that, based on the video image corresponding to each of the detection and tracking periods, the target pedestrian in the video image sequence is detected, tracked, and pedestrian re-identified to determine each The step of detecting a tracking result of a target pedestrian corresponding to a tracking cycle includes: 针对每个所述检测跟踪周期执行以下操作:Do the following for each of the detection tracking cycles: 基于当前检测跟踪周期对应的跟踪帧图像,对所述视频图像序列中预先确定的目标行人进行跟踪,确定所述当前检测跟踪周期对应的跟踪结果;Tracking a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection tracking period, and determining a tracking result corresponding to the current detection tracking period; 对相对所述当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果;Performing pedestrian detection on a detection frame image of a next detection tracking period relative to the current detection tracking period to determine a detection result; 根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人;Perform pedestrian re-identification according to the tracking result and the detection result, and determine a target pedestrian to be tracked in the next detection and tracking cycle; 其中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。Wherein, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle, and the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle. Video images other than video images. 根据权利要求3所述的方法,其特征在于,所述预先确定的目标行人通过以下至少一种方式确定:The method according to claim 3, wherein the predetermined target pedestrian is determined in at least one of the following ways: 若当前检测跟踪周期为首个检测跟踪周期,则根据所述检测跟踪周期的检测帧图像的检测结果确定;If the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period; 若当前检测跟踪周期非首个检测跟踪周期,则根据相对所述当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和所述当前检测跟踪周期的检测帧图像的检测结果确定。If the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period. 根据权利要求3所述的方法,其特征在于,所述跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;The method according to claim 3, wherein the tracking result comprises at least: a target pedestrian to be tracked in a normal tracking state and a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state; 所述检测结果包括:当前检测到的目标行人的检测框;The detection result includes: a detection frame of a currently detected target pedestrian; 所述根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人的步骤,包括:The step of re-identifying a pedestrian based on the tracking result and the detection result and determining a target pedestrian to be tracked in the next detection and tracking cycle includes: 对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;Matching the area of the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian to determine the target pedestrian pair; 对于每个所述目标行人对,根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息;For each of the target pedestrian pairs, perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked; 对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;Performing pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked; 对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state. 根据权利要求5所述的方法,其特征在于,所述根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:The method according to claim 5, wherein the pedestrian re-identification is performed according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the tracked to be tracked Steps to target pedestrian information, including: 根据所述目标行人对中包括的两个目标行人的行人特征,确定所述两个目标行人之间的相似度,其中,所述两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;Determine the similarity between the two target pedestrians according to the pedestrian characteristics of the two target pedestrians included in the target pedestrian pair, wherein the two target pedestrians include: the target pedestrian to be tracked and the currently detected Target pedestrian 若根据所述相似度确定所述两个目标行人为同一人,则通过所述当前检测到的目标行人的检测框更新所述需跟踪的目标行人的跟踪器;If the two target pedestrians are determined to be the same person according to the similarity, updating a tracker of the target pedestrian to be tracked through a detection frame of the currently detected target pedestrian; 若根据所述相似度确定所述两个目标行人非同一人,则将所述目标行人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至所述需跟踪的目标行人中;If it is determined that the two target pedestrians are not the same person according to the similarity, setting the target pedestrian to be tracked included in the target pedestrian pair to a lost state, and deleting the tracker of the target pedestrian to be tracked, and Adding the currently detected target pedestrian to the target pedestrian to be tracked; 其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology. 根据权利要求5所述的方法,其特征在于,所述对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息的步骤,包括:The method according to claim 5, wherein each of the currently detected target pedestrians that do not constitute a target pedestrian pair is re-identified with a target pedestrian that needs to be tracked in a tracking loss state to update The step of tracking the information of the target pedestrian includes: 根据预先获取的行人特征,确定未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;Determining the pairwise similarity between each of the currently detected target pedestrians that do not constitute a target pedestrian pair and each target pedestrian that needs to be tracked in a tracking loss state according to the pedestrian characteristics obtained in advance; 若根据所述两两相似度确定相应的未构成目标行人对的所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将所述处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过所述当前检测到的目标行人的检测框创建恢复为正常跟踪状态的所述需跟踪的目标行人的跟踪器;If it is determined according to the pairwise similarity that the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is the same person as the target pedestrian in the tracking loss state, the demand in the tracking loss state is determined. The tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian; 若根据所述两两相似度确定所述当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,则将所述当前检测到的目标行人补充至需跟踪的目标行人中;If it is determined according to the pairwise similarity that the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, adding the currently detected target pedestrian to the target pedestrian to be tracked; 其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology. 根据权利要求6或7所述的方法,其特征在于,在将所述当前检测到的目标行人补充至需跟踪的目标行人中的步骤之后,还包括:若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。The method according to claim 6 or 7, wherein after the step of adding the currently detected target pedestrian to the target pedestrian to be tracked, further comprising: if the currently detected target pedestrian is If the number of detections is less than the preset number, it is removed from the target pedestrians to be tracked. 根据权利要求1所述的方法,其特征在于,在所述对视频图像序列进行行人检测、跟踪的步骤中,分周期对视频图像序列中的目标行人进行检测和跟踪。The method according to claim 1, characterized in that in the step of detecting and tracking a video image sequence, the target pedestrians in the video image sequence are detected and tracked in cycles. 根据权利要求9所述的方法,其特征在于,在所述对视频图像序列进行行人检测、跟踪的步骤中,通过每个检测跟踪周期中第一帧视频图像进行目标行人检测,并提取目标行人的行人特征;通过每个检测跟踪周期的第二及后续帧视频图像,对检测到的目标行人进行跟踪。The method according to claim 9, wherein in the step of detecting and tracking a video image sequence, target pedestrian detection is performed by using the first frame of video images in each detection and tracking cycle, and target pedestrians are extracted Pedestrian characteristics; track the detected target pedestrian through the second and subsequent frame video images of each detection and tracking cycle. 根据权利要求10所述的方法,其特征在于,对于连续的两个检测跟踪周期,通过从后一个检测跟踪周期的第一帧视频图像中检测到的目标行人,更新前一个检测跟踪周期中的目标行人跟踪结果。The method according to claim 10, characterized in that, for two consecutive detection and tracking periods, the target pedestrians detected in the first frame of the video image of the subsequent detection and tracking period are updated in the previous detection and tracking period. Target pedestrian tracking results. 根据权利要求1所述的方法,其特征在于,所述确定所述目标行人的剪影图像序列的步骤,包括:The method according to claim 1, wherein the step of determining a silhouette image sequence of the target pedestrian comprises: 根据目标行人的检测框确定该目标行人在检测帧图像中的图像区域,或根据目标行人的跟踪框确定该目标行人在跟踪帧图像中的图像区域;Determining the image area of the target pedestrian in the detection frame image according to the detection frame of the target pedestrian, or determining the image area of the target pedestrian in the tracking frame image according to the tracking frame of the target pedestrian; 将目标行人在检测帧图像中或在跟踪帧图像中的图像区域输入至预先训练的网络模型,得到该目标行人的剪影图像;Input the image area of the target pedestrian in the detection frame image or the tracking frame image to a pre-trained network model to obtain the silhouette image of the target pedestrian; 将同一目标行人对应的剪影图像按照该剪影图像所属视频图像帧的先后顺序进行排列,得到该同一目标行人对应的剪影图像序列。The silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian. 根据权利要求1所述的方法,其特征在于,所述基于目标行人的步态能量图,对目标行人进行身份识别的步骤,包括:The method according to claim 1, wherein the step of identifying the target pedestrian based on the gait energy map of the target pedestrian includes: 通过预先训练的神经网络模型对目标行人的步态能量图进行识别,确定该目标行人的步态特征;Identify the gait energy map of the target pedestrian through a pre-trained neural network model to determine the gait characteristics of the target pedestrian; 将该目标行人的步态特征与预设数据库中的步态特征进行匹配,确定与对该目标行人的步态特征匹配的用户的身份信息,作为该目标用户的身份信息。Match the gait characteristics of the target pedestrian with the gait characteristics in the preset database, and determine the identity information of the user who matches the gait characteristics of the target pedestrian as the identity information of the target user. 一种基于步态的身份识别装置,其特征在于,包括:A gait-based identity recognition device, comprising: 目标行人确定模块,用于对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人;A target pedestrian determination module, configured to perform pedestrian detection, tracking, and pedestrian re-identification on a video image sequence to determine a target pedestrian in the video image sequence; 剪影图像序列确定模块,用于确定所述目标行人的剪影图像序列;A silhouette image sequence determination module, configured to determine a silhouette image sequence of the target pedestrian; 步态能量图确定模块,用于分别基于各目标行人的所述剪影图像序列,获取所述目标行人的步态能量图;A gait energy map determination module, configured to obtain a gait energy map of the target pedestrian based on the silhouette image sequence of each target pedestrian; 身份识别模块,用于基于所述目标行人的步态能量图,对所述目标行人进行身份识别。An identity recognition module is configured to identify the target pedestrian based on the gait energy map of the target pedestrian. 根据权利要求14所述的装置,其特征在于,在对视频图像序列进行行人检测、跟踪和行人重识别,确定所述视频图像序列中的目标行人时,所述目标行人确定模块进一步包括:The device according to claim 14, characterized in that when performing pedestrian detection, tracking and pedestrian recognition on a video image sequence to determine a target pedestrian in the video image sequence, the target pedestrian determination module further comprises: 检测跟踪周期确定子模块,用于按照每个检测跟踪周期对应视频图像帧的预设数量,确定视频图像序列中连续的检测跟踪周期分别对应的视频图像;The detection tracking period determination submodule is configured to determine video images corresponding to consecutive detection and tracking periods in a video image sequence according to a preset number of video image frames corresponding to each detection and tracking period; 周期目标行人确定子模块,用于按照从前向后的顺序,分别基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果;The periodic target pedestrian determination sub-module is configured to detect, track and re-identify the target pedestrian in the video image sequence based on the video images corresponding to each of the detection and tracking periods in the order from front to back. A tracking result of a target pedestrian corresponding to each of the detection and tracking periods; 跟踪结果确定子模块,用于根据最后一个所述检测跟踪周期对应的目标行人的跟踪结果,确定所述视频图像序列中的目标行人。The tracking result determination submodule is configured to determine a target pedestrian in the video image sequence according to a tracking result of a target pedestrian corresponding to the last detection and tracking period. 根据权利要求15所述的装置,其特征在于,在基于每个所述检测跟踪周期对应的视频图像,对所述视频图像序列中的目标行人进行检测、跟踪和行人重识别,确定每个所述检测跟踪周期对应的目标行人的跟踪结果时,所述周期目标行人确定子模块,进一步包括:The device according to claim 15, characterized in that, based on a video image corresponding to each of the detection and tracking periods, a target pedestrian in the video image sequence is detected, tracked, and pedestrian re-identified to determine each pedestrian. When the tracking result of detecting the target pedestrian corresponding to the tracking period is described, the period target pedestrian determination sub-module further includes: 跟踪单元,用于针对每个所述检测跟踪周期,基于当前检测跟踪周期对应的跟踪帧图像,对所述视频图像序列中预先确定的目标行人进行跟踪,确定所述当前检测跟踪周期对应的跟踪结果;A tracking unit is configured to track, for each of the detection and tracking cycles, a predetermined target pedestrian in the video image sequence based on a tracking frame image corresponding to the current detection and tracking cycle, and determine a tracking corresponding to the current detection and tracking cycle. result; 检测单元,用于针对每个所述检测跟踪周期,对相对所述当前检测跟踪周期的下一个检测跟踪周期的检测帧图像进行行人检测,确定检测结果;A detection unit, configured to perform a pedestrian detection on a detection frame image of a next detection and tracking period relative to the current detection and tracking period for each of the detection and tracking periods to determine a detection result; 行人重识别单元,用于针对每个所述检测跟踪周期,根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人;A pedestrian re-identification unit, configured to perform pedestrian re-identification according to the tracking result and the detection result for each of the detection and tracking cycles, and determine a target pedestrian to be tracked in the next detection and tracking cycle; 其中,所述检测帧图像为每个检测跟踪周期对应预设数量的视频图像序列中的第一帧视频图像,所述跟踪帧图像为每个检测跟踪周期对应的视频图像序列中除第一帧视频图像以外的视频图像。Wherein, the detection frame image is a first frame video image in a preset number of video image sequences corresponding to each detection tracking cycle, and the tracking frame image is a first frame video image in a video image sequence corresponding to each detection and tracking cycle. Video images other than video images. 根据权利要求16所述的装置,其特征在于,所述预先确定的目标行人通过以下至少一种方式确定:The device according to claim 16, wherein the predetermined target pedestrian is determined in at least one of the following ways: 若当前检测跟踪周期为首个检测跟踪周期,则根据所述检测跟踪周期的检测帧图像的检测结果确定;If the current detection and tracking period is the first detection and tracking period, it is determined according to the detection result of the detection frame image of the detection and tracking period; 若当前检测跟踪周期非首个检测跟踪周期,则根据相对所述当前检测跟踪周期的前一个检测跟踪周期对应的跟踪结果和所述当前检测跟踪周期的检测帧图像的检测结果确定。If the current detection tracking period is not the first detection tracking period, it is determined according to a tracking result corresponding to a previous detection tracking period with respect to the current detection tracking period and a detection result of a detection frame image of the current detection tracking period. 根据权利要求16所述的装置,其特征在于,所述跟踪结果至少包括:处于正常跟踪状态的需跟踪的目标行人及该目标行人的跟踪器、处于跟踪丢失状态的需跟踪的目标行人;The device according to claim 16, wherein the tracking result comprises at least: a target pedestrian to be tracked in a normal tracking state and a tracker of the target pedestrian, and a target pedestrian to be tracked in a tracking loss state; 所述检测结果包括:当前检测到的目标行人的检测框;The detection result includes: a detection frame of a currently detected target pedestrian; 在根据所述跟踪结果和所述检测结果进行行人重识别,确定所述下一个检测跟踪周期需要跟踪的目标行人时,所述行人重识别单元进一步用于:When pedestrian re-identification is performed according to the tracking result and the detection result, and a target pedestrian to be tracked in the next detection and tracking cycle is determined, the pedestrian re-identification unit is further configured to: 对所述处于正常跟踪状态的需跟踪的目标行人与当前检测到的目标行人的所处区域进行匹配,确定目标行人对;Matching the area of the target pedestrian to be tracked in the normal tracking state with the currently detected target pedestrian to determine the target pedestrian pair; 对于每个所述目标行人对,根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度进行行人重识别,以更新所述需跟踪的目标行人的信息;For each of the target pedestrian pairs, perform pedestrian re-identification according to the similarity between the target pedestrian to be tracked included in the target pedestrian pair and the currently detected target pedestrian to update the information of the target pedestrian to be tracked; 对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,以更新所述需跟踪的目标行人的信息;Performing pedestrian re-identification on each of the currently detected target pedestrians that do not constitute a target pedestrian pair and the target pedestrians to be tracked in a tracking loss state to update the information of the target pedestrians to be tracked; 对于未构成目标行人对的处于正常跟踪状态的需跟踪的目标行人,将其设置为丢失状态。For a target pedestrian that needs to be tracked in a normal tracking state that does not constitute a target pedestrian pair, set it to a lost state. 根据权利要求18所述的装置,其特征在于,所述行人重识别单元用于根据所述目标行人对中包括的需跟踪的目标行人和当前检测到的目标行人的相似度通过以下方式进行行人重识别,更新所述需跟踪的目标行人的信息:The device according to claim 18, wherein the pedestrian re-identification unit is configured to perform a pedestrian in the following manner according to a similarity between a target pedestrian to be tracked included in the target pedestrian pair and a currently detected target pedestrian. Re-identify and update the information of the target pedestrians to be tracked: 根据所述目标行人对中包括的两个目标行人的行人特征,确定所述两个目标行人之间的相似度,其中,所述两个目标行人包括:需跟踪的目标行人和当前检测到的目标行人;Determine the similarity between the two target pedestrians according to the pedestrian characteristics of the two target pedestrians included in the target pedestrian pair, wherein the two target pedestrians include: the target pedestrian to be tracked and the currently detected Target pedestrian 若根据所述相似度确定所述两个目标行人为同一人,则通过所述当前检测到的目标行人的检测框更新所述需跟踪的目标行人的跟踪器;If the two target pedestrians are determined to be the same person according to the similarity, updating a tracker of the target pedestrian to be tracked through a detection frame of the currently detected target pedestrian; 若根据所述相似度确定所述两个目标行人非同一人,则将所述目标行人对中包括的需跟踪的目标行人设置为丢失状态,并删除该需跟踪的目标行人的跟踪器,以及将所述当前检测到的目标行人补充至所述需跟踪的目标行人中;If it is determined that the two target pedestrians are not the same person according to the similarity, setting the target pedestrian to be tracked included in the target pedestrian pair to a lost state, and deleting the tracker of the target pedestrian to be tracked, and Adding the currently detected target pedestrian to the target pedestrian to be tracked; 其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology. 根据权利要求18所述的装置,其特征在于,所述行人重识别单元用于通过以下方式对未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的目标行人进行行人重识别,更新所述需跟踪的目标行人的信息:The device according to claim 18, wherein the pedestrian re-identification unit is configured to identify each of the currently detected target pedestrians that do not constitute a target pedestrian pair and those that need to be tracked in a tracking loss state. The target pedestrian performs pedestrian re-identification and updates the information of the target pedestrian to be tracked: 根据预先获取的行人特征,确定未构成目标行人对的所述当前检测到的每个目标行人与处于跟踪丢失状态的需跟踪的每个目标行人之间的两两相似度;Determining the pairwise similarity between each of the currently detected target pedestrians that do not constitute a target pedestrian pair and each target pedestrian that needs to be tracked in a tracking loss state according to the pedestrian characteristics obtained in advance; 若根据所述两两相似度确定相应的未构成目标行人对的所述当前检测到的目标行人与处于跟踪丢失状态的需跟踪的目标行人为同一人,则将所述处于跟踪丢失状态的需跟踪的目标行人恢复为正常跟踪状态,并通过所述当前检测到的目标行人的检测框创建恢复为正常跟踪状态的所述需跟踪的目标行人的跟踪器;If it is determined according to the pairwise similarity that the corresponding currently detected target pedestrian that does not constitute a target pedestrian pair is the same person as the target pedestrian in the tracking loss state, the demand in the tracking loss state is determined. The tracked target pedestrian is restored to a normal tracking state, and a tracker of the tracked target pedestrian to be restored to a normal tracking state is created by using a detection frame of the currently detected target pedestrian; 若根据所述两两相似度确定所述当前检测到的目标行人非处于跟踪丢失状态的需跟踪的目标行人,则将所述当前检测到的目标行人补充至需跟踪的目标行人中;If it is determined according to the pairwise similarity that the currently detected target pedestrian is not a target pedestrian to be tracked in a tracking loss state, adding the currently detected target pedestrian to the target pedestrian to be tracked; 其中,所述行人特征为通过行人重识别技术获取的。Wherein, the pedestrian characteristics are obtained through pedestrian re-identification technology. 根据权利要求18所述的装置,其特征在于,在将所述当前检测到的目标行人补充至需跟踪的目标行人中之后,若所述当前检测到的目标行人被检测到的次数小于预设数量,则将其从需跟踪的目标行人中移除。The device according to claim 18, wherein after adding the currently detected target pedestrian to the target pedestrian to be tracked, if the number of times that the currently detected target pedestrian is detected is less than a preset Quantity, it is removed from the target pedestrians to be tracked. 根据权利要求14所述的装置,其特征在于,所述目标行人确定模块用于分周期对视频图像序列进行行人检测、跟踪。The device according to claim 14, wherein the target pedestrian determination module is configured to perform pedestrian detection and tracking on a video image sequence in a periodical manner. 根据权利要求22所述的装置,其特征在于,所述目标行人确定模块通过每个检测跟踪周期中第一帧视频图像进行目标行人检测,并提取目标行人的行人特征;通过每个检测跟踪周期的第二及后续帧视频图像,对检测到的目标行人进行跟踪。The device according to claim 22, wherein the target pedestrian determination module performs target pedestrian detection by using the first frame of video images in each detection and tracking cycle, and extracts pedestrian characteristics of the target pedestrian; through each detection and tracking cycle The second and subsequent frames of video images are used to track the detected target pedestrian. 根据权利要求23所述的装置,其特征在于,对于连续的两个检测跟踪周期,所述目标行人确定模块通过从后一个检测跟踪周期的第一帧视频图像中检测到的目标行人,更新前一个检测跟踪周期中的目标行人跟踪结果。The device according to claim 23, wherein, for two consecutive detection and tracking cycles, the target pedestrian determination module updates the target pedestrians by detecting the target pedestrians from the first frame of the video image of the latter detection and tracking cycle. Target pedestrian tracking results during a detection tracking cycle. 根据权利要求14所述的装置,其特征在于,所述剪影图像序列确定模块用于通过以下方式确定所述目标行人的剪影图像序列:The apparatus according to claim 14, wherein the silhouette image sequence determination module is configured to determine a silhouette image sequence of the target pedestrian in the following manner: 根据目标行人的检测框确定该目标行人在检测帧图像中的图像区域,或根据目标行人的跟踪框确定该目标行人在跟踪帧图像中的图像区域;Determining the image area of the target pedestrian in the detection frame image according to the detection frame of the target pedestrian, or determining the image area of the target pedestrian in the tracking frame image according to the tracking frame of the target pedestrian; 将目标行人在检测帧图像中或在跟踪帧图像中的图像区域输入至预先训练的网络模型,得到该目标行人的剪影图像;Input the image area of the target pedestrian in the detection frame image or the tracking frame image to a pre-trained network model to obtain the silhouette image of the target pedestrian; 将同一目标行人对应的剪影图像按照该剪影图像所属视频图像帧的先后顺序进行排列,得到该同一目标行人对应的剪影图像序列。The silhouette images corresponding to the same target pedestrian are arranged in the sequence of the video image frames to which the silhouette image belongs, to obtain the silhouette image sequence corresponding to the same target pedestrian. 根据权利要求14所述的装置,其特征在于,所述身份识别模块用于通过以下方式进行身份识别:The device according to claim 14, wherein the identity recognition module is configured to perform identity recognition in the following manner: 通过预先训练的神经网络模型对目标行人的步态能量图进行识别,确定该目标行人的步态特征;Identify the gait energy map of the target pedestrian through a pre-trained neural network model to determine the gait characteristics of the target pedestrian; 将该目标行人的步态特征与预设数据库中的步态特征进行匹配,确定与对该目标行人的步态特征匹配的用户的身份信息,作为该目标用户的身份信息。Match the gait characteristics of the target pedestrian with the gait characteristics in the preset database, and determine the identity information of the user who matches the gait characteristics of the target pedestrian as the identity information of the target user. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至13任意一项所述的基于步态的身份识别方法。An electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the computer program, any one of claims 1 to 13 is implemented The gait-based identity recognition method described in item 6. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至13任意一项所述的基于步态的身份识别方法的步骤。A computer-readable storage medium having stored thereon a computer program, characterized in that when the program is executed by a processor, the steps of the gait-based identification method according to any one of claims 1 to 13 are implemented.
PCT/CN2018/119766 2018-08-29 2018-12-07 Gait-based identity recognition method and apparatus, and electronic device Ceased WO2020042419A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810998094.4A CN109271888A (en) 2018-08-29 2018-08-29 Personal identification method, device, electronic equipment based on gait
CN201810998094.4 2018-08-29

Publications (1)

Publication Number Publication Date
WO2020042419A1 true WO2020042419A1 (en) 2020-03-05

Family

ID=65154459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/119766 Ceased WO2020042419A1 (en) 2018-08-29 2018-12-07 Gait-based identity recognition method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN109271888A (en)
WO (1) WO2020042419A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111553234A (en) * 2020-04-22 2020-08-18 上海锘科智能科技有限公司 Pedestrian tracking method and device integrating human face features and Re-ID feature sorting
CN111597887A (en) * 2020-04-08 2020-08-28 北京大学 Pedestrian re-identification method and system
CN112101176A (en) * 2020-09-09 2020-12-18 元神科技(杭州)有限公司 User identity recognition method and system combining user gait information
CN112686178A (en) * 2020-12-30 2021-04-20 中国电子科技集团公司信息科学研究院 Multi-view target track generation method and device and electronic equipment
CN112766057A (en) * 2020-12-30 2021-05-07 浙江大学 Complex scene-oriented fine-grained attribute-driven gait data set forming method
CN113139521A (en) * 2021-05-17 2021-07-20 中国大唐集团科学技术研究院有限公司中南电力试验研究院 Pedestrian boundary crossing monitoring method for electric power monitoring
CN113283362A (en) * 2021-06-04 2021-08-20 中国矿业大学 Cross-modal pedestrian re-identification method
CN113420679A (en) * 2021-06-26 2021-09-21 南京搜文信息技术有限公司 Artificial intelligent cross-camera multi-target tracking system and tracking algorithm
CN113537121A (en) * 2021-07-28 2021-10-22 浙江大华技术股份有限公司 Identity recognition method and device, storage medium and electronic equipment
CN113657169A (en) * 2021-07-19 2021-11-16 浙江大华技术股份有限公司 Gait recognition method, device, system and computer readable storage medium
CN114067299A (en) * 2020-07-31 2022-02-18 郑州信大先进技术研究院 A kind of license plate recognition method
CN114612934A (en) * 2022-03-14 2022-06-10 银河水滴科技(北京)有限公司 Gait sequence evaluation method and system based on quality dimension
CN116469050A (en) * 2023-04-23 2023-07-21 深圳吉光汽车科技有限公司 Visual close-range pedestrian detection method for intelligent unmanned vehicle
CN118298515A (en) * 2024-06-06 2024-07-05 山东科技大学 Gait data expansion method for generating gait clip diagram based on skeleton data
US12175684B2 (en) * 2020-12-04 2024-12-24 Boe Technology Group Co., Ltd. Pedestrian tracking method, computing device, pedestrian tracking system and storage medium

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046599A (en) * 2019-04-23 2019-07-23 东北大学 Intelligent control method based on depth integration neural network pedestrian weight identification technology
CN111950321B (en) * 2019-05-14 2023-12-05 杭州海康威视数字技术股份有限公司 Gait recognition method, device, computer equipment and storage medium
CN112016353B (en) * 2019-05-30 2024-05-21 普天信息技术有限公司 Method and device for carrying out identity recognition on face image based on video
CN110245609A (en) * 2019-06-13 2019-09-17 深圳力维智联技术有限公司 Pedestrian track generation method, device and readable storage medium storing program for executing
CN111565225B (en) * 2020-04-27 2023-08-04 银河水滴科技(宁波)有限公司 Character action track determining method and device
CN111626242A (en) * 2020-05-30 2020-09-04 哈尔滨理工大学 Gait recognition system based on deep learning
CN111914690B (en) * 2020-07-15 2023-11-10 西安米克斯智能技术有限公司 Target object medium-long-term tracking method in video identification
CN112200022A (en) * 2020-09-23 2021-01-08 上海联影医疗科技股份有限公司 Image processing method, medical imaging apparatus, and storage medium
CN112163499A (en) * 2020-09-23 2021-01-01 电子科技大学 Small target pedestrian detection method based on fusion features
CN112132873B (en) * 2020-09-24 2024-12-03 天津锋物科技有限公司 A multi-lens pedestrian recognition and tracking method based on computer vision
CN112307979A (en) * 2020-10-31 2021-02-02 成都新潮传媒集团有限公司 Personnel attribute identification method and device and computer equipment
CN112668493B (en) * 2020-12-30 2022-11-11 上海交通大学 GAN and deep learning based re-identification and location tracking system for dressed pedestrians
CN113312953B (en) * 2021-01-05 2022-10-04 武汉大学 Humanoid robot identification method and system based on gait recognition
CN112906466B (en) * 2021-01-15 2024-07-05 深圳云天励飞技术股份有限公司 Image association method, system and device, and image searching method and system
CN113344975A (en) * 2021-06-24 2021-09-03 西安天和防务技术股份有限公司 Multi-target tracking method and device and electronic equipment
CN113963437B (en) * 2021-10-15 2024-11-15 武汉众智数字技术有限公司 A gait recognition sequence acquisition method and system based on deep learning
CN114012742B (en) * 2022-01-05 2022-03-29 北京动思创新科技有限公司 Control system of hip joint power assisting device
CN114394063B (en) * 2022-01-18 2023-04-07 北京邮电大学 Automobile keyless entry safety protection system based on gait analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587541A (en) * 2009-06-18 2009-11-25 上海交通大学 Character recognition method based on human body contour outline
CN105518744A (en) * 2015-06-29 2016-04-20 北京旷视科技有限公司 Pedestrian re-identification method and equipment
CN106203260A (en) * 2016-06-27 2016-12-07 南京邮电大学 Pedestrian's recognition and tracking method based on multiple-camera monitoring network
CN107563313A (en) * 2017-08-18 2018-01-09 北京航空航天大学 Multiple target pedestrian detection and tracking based on deep learning

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354543A (en) * 2015-10-29 2016-02-24 小米科技有限责任公司 Video processing method and apparatus
CN105760835B (en) * 2016-02-17 2018-03-06 银河水滴科技(北京)有限公司 A kind of gait segmentation and Gait Recognition integral method based on deep learning
CN106919921B (en) * 2017-03-06 2020-11-06 重庆邮电大学 Gait recognition method and system combining subspace learning and tensor neural network
CN107766819B (en) * 2017-10-18 2021-06-18 陕西国际商贸学院 A video surveillance system and its real-time gait recognition method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587541A (en) * 2009-06-18 2009-11-25 上海交通大学 Character recognition method based on human body contour outline
CN105518744A (en) * 2015-06-29 2016-04-20 北京旷视科技有限公司 Pedestrian re-identification method and equipment
CN106203260A (en) * 2016-06-27 2016-12-07 南京邮电大学 Pedestrian's recognition and tracking method based on multiple-camera monitoring network
CN107563313A (en) * 2017-08-18 2018-01-09 北京航空航天大学 Multiple target pedestrian detection and tracking based on deep learning

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597887A (en) * 2020-04-08 2020-08-28 北京大学 Pedestrian re-identification method and system
CN111597887B (en) * 2020-04-08 2023-02-03 北京大学 A pedestrian re-identification method and system
CN111553234B (en) * 2020-04-22 2023-06-06 上海锘科智能科技有限公司 Pedestrian tracking method and device integrating facial features and Re-ID feature ordering
CN111553234A (en) * 2020-04-22 2020-08-18 上海锘科智能科技有限公司 Pedestrian tracking method and device integrating human face features and Re-ID feature sorting
CN114067299A (en) * 2020-07-31 2022-02-18 郑州信大先进技术研究院 A kind of license plate recognition method
CN112101176B (en) * 2020-09-09 2024-04-05 元神科技(杭州)有限公司 User identity recognition method and system combining user gait information
CN112101176A (en) * 2020-09-09 2020-12-18 元神科技(杭州)有限公司 User identity recognition method and system combining user gait information
US12175684B2 (en) * 2020-12-04 2024-12-24 Boe Technology Group Co., Ltd. Pedestrian tracking method, computing device, pedestrian tracking system and storage medium
CN112686178B (en) * 2020-12-30 2024-04-16 中国电子科技集团公司信息科学研究院 Multi-view target track generation method and device and electronic equipment
CN112766057A (en) * 2020-12-30 2021-05-07 浙江大学 Complex scene-oriented fine-grained attribute-driven gait data set forming method
CN112766057B (en) * 2020-12-30 2022-05-13 浙江大学 A fine-grained attribute-driven gait dataset synthesis method for complex scenes
CN112686178A (en) * 2020-12-30 2021-04-20 中国电子科技集团公司信息科学研究院 Multi-view target track generation method and device and electronic equipment
CN113139521A (en) * 2021-05-17 2021-07-20 中国大唐集团科学技术研究院有限公司中南电力试验研究院 Pedestrian boundary crossing monitoring method for electric power monitoring
CN113139521B (en) * 2021-05-17 2022-10-11 中国大唐集团科学技术研究院有限公司中南电力试验研究院 Pedestrian boundary crossing monitoring method for electric power monitoring
CN113283362B (en) * 2021-06-04 2024-03-22 中国矿业大学 A cross-modal person re-identification method
CN113283362A (en) * 2021-06-04 2021-08-20 中国矿业大学 Cross-modal pedestrian re-identification method
CN113420679A (en) * 2021-06-26 2021-09-21 南京搜文信息技术有限公司 Artificial intelligent cross-camera multi-target tracking system and tracking algorithm
CN113420679B (en) * 2021-06-26 2024-04-26 南京搜文信息技术有限公司 Artificial intelligence cross-camera multi-target tracking system and tracking method
CN113657169B (en) * 2021-07-19 2023-06-20 浙江大华技术股份有限公司 Gait recognition method, device and system and computer readable storage medium
CN113657169A (en) * 2021-07-19 2021-11-16 浙江大华技术股份有限公司 Gait recognition method, device, system and computer readable storage medium
CN113537121A (en) * 2021-07-28 2021-10-22 浙江大华技术股份有限公司 Identity recognition method and device, storage medium and electronic equipment
CN114612934A (en) * 2022-03-14 2022-06-10 银河水滴科技(北京)有限公司 Gait sequence evaluation method and system based on quality dimension
CN116469050A (en) * 2023-04-23 2023-07-21 深圳吉光汽车科技有限公司 Visual close-range pedestrian detection method for intelligent unmanned vehicle
CN118298515A (en) * 2024-06-06 2024-07-05 山东科技大学 Gait data expansion method for generating gait clip diagram based on skeleton data

Also Published As

Publication number Publication date
CN109271888A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
WO2020042419A1 (en) Gait-based identity recognition method and apparatus, and electronic device
US12175684B2 (en) Pedestrian tracking method, computing device, pedestrian tracking system and storage medium
CN108509859B (en) Non-overlapping area pedestrian tracking method based on deep neural network
CN114220176A (en) Human behavior recognition method based on deep learning
CN109934848B (en) A method for precise positioning of moving objects based on deep learning
CN109949341B (en) Pedestrian target tracking method based on human skeleton structural features
CN104573652B (en) Determine the method, apparatus and terminal of the identity of face in facial image
CN110782483A (en) Multi-view multi-target tracking method and system based on distributed camera network
CN111753747B (en) Violent motion detection method based on monocular camera and three-dimensional attitude estimation
CN109584213B (en) A Tracking Method for Multi-Target Number Selection
CN106845385A (en) The method and apparatus of video frequency object tracking
CN114639117B (en) Cross-border specific pedestrian tracking method and device
CN110008867A (en) A kind of early warning method, device and storage medium based on abnormal behavior of people
CN112989889B (en) Gait recognition method based on gesture guidance
CN111310728B (en) Pedestrian re-identification system based on monitoring camera and wireless positioning
CN109325471A (en) A dual-stream network pedestrian re-identification method combining appearance features and spatiotemporal distribution
CN108537181A (en) A kind of gait recognition method based on the study of big spacing depth measure
CN110688980B (en) Human body posture classification method based on computer vision
CN116342645A (en) Multi-target tracking method for natatorium scene
Tan et al. A multiple object tracking algorithm based on YOLO detection
CN111931654A (en) Intelligent monitoring method, system and device for personnel tracking
CN114663835A (en) A pedestrian tracking method, system, device and storage medium
Batool et al. Telemonitoring of daily activities based on multi-sensors data fusion
Zhou et al. A study on attention-based LSTM for abnormal behavior recognition with variable pooling
CN107463873A (en) A kind of real-time gesture analysis and evaluation methods and system based on RGBD depth transducers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18931322

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18931322

Country of ref document: EP

Kind code of ref document: A1