Pedestrian flow funnel generation method and apparatus, storage medium and electronic device

US11210795B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11210795-B2
Application numberUS-201816758958-A
CountryUS
Kind codeB2
Filing dateOct 24, 2018
Priority dateOct 24, 2017
Publication dateDec 28, 2021
Grant dateDec 28, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The disclosure relates to the technical field of data processing. Disclosed are a pedestrian flow funnel generation method and apparatus, a storage medium and an electronic device. The method can comprise: acquiring a current frame of image, and tracking and updating, according to a multi-target tracking algorithm, a head and shoulder area in a tracking sequence set in the current frame of image; acquiring, according to a head and shoulder recognition model, a head and shoulder area in the current frame of image, and updating, according to the head and shoulder area in the current frame of image, the tracking sequence set; analysing a motion track of each head and shoulder area in the tracking sequence set so as to count pedestrians, and when the current frame of image is the last frame of image, generating a pedestrian flow funnel based on a counting result of pedestrians.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for generating a pedestrian flow funnel, comprising: obtaining a current frame image, and tracking and updating head-shoulder regions in a tracking sequence set in the current frame image according to a multi-target tracking algorithm; obtaining head-shoulder regions in the current frame image according to a head-shoulder recognition model, and updating the tracking sequence set according to the head-shoulder regions in the current frame image; and analyzing a motion trajectory of each head-shoulder region in the tracking sequence set to count pedestrians, and when the current frame image is a last frame image, generating the pedestrian flow funnel based on a counting result of the pedestrians, wherein tracking and updating head-shoulder regions in a tracking sequence set in the current frame image according to a multi-target tracking algorithm comprises: tracking and updating the head-shoulder regions in the tracking sequence set in the current frame image according to a kernel correlation filter tracking algorithm, respectively, wherein tracking and updating the head-shoulder regions in the tracking sequence set in the current frame image according to a kernel correlation filter tracking algorithm respectively comprises: obtaining candidate tracking targets corresponding to each head-shoulder region in the tracking sequence set in the current frame image based on a position of each head-shoulder region in the tracking sequence set in a previous frame image, respectively; correspondingly calculating response values of the candidate tracking targets corresponding to each head-shoulder region according to a tracker corresponding to each head-shoulder region, respectively; determining a candidate tracking target with a largest response value among the candidate tracking targets corresponding to each head-shoulder region as a tracking target of the corresponding head-shoulder region in the current frame image; and correspondingly updating each head-shoulder region in the tracking sequence set according to the tracking target of each head-shoulder region in the current frame image. 2. The method for generating a pedestrian flow funnel according to claim 1 , before obtaining a current frame image, the method further comprises: obtaining a first frame image, obtaining head-shoulder regions in the first frame image according to the head-shoulder recognition model, and initializing the tracking sequence set through the head-shoulder regions. 3. The method for generating a pedestrian flow funnel according to claim 2 , wherein generating the pedestrian flow funnel based on a counting result of the pedestrians comprises: generating the pedestrian flow funnel based on the counting result of the pedestrians and in combination with the age groups and gender of each head-shoulder region in the tracking sequence set. 4. The method for generating a pedestrian flow funnel according to claim 1 , wherein the method further comprises: identifying age groups and gender of each head-shoulder region in the tracking sequence set according to a gender-age recognition model. 5. The method for generating a pedestrian flow funnel according to claim 4 , wherein the method further comprises: constructing the gender-age recognition model, comprising: obtaining a third training sample set marking gender and age in a LFW dataset and a social network site; and training a gender-age network by using the third training sample set to obtain the gender-age recognition model, wherein the gender-age network comprises three convolutional layers and three fully connected layers. 6. The method for generating a pedestrian flow funnel according to claim 1 , wherein the method further comprises: calculating the tracker corresponding to each head-shoulder region, comprising: obtaining a first training sample set corresponding to each head-shoulder region in the tracking sequence set in the previous frame image based on the position of each head-shoulder region in the tracking sequence set in the previous frame image, respectively; and training a regression model according to the first training sample set corresponding to each head-shoulder region respectively, to obtain the tracker corresponding to each head-shoulder region. 7. The method for generating a pedestrian flow funnel according to claim 1 , wherein the method further comprises: generating the head-shoulder recognition model according to a convolutional neural network, comprising: training a MobileNet network according to an ImageNet categorical dataset to obtain a weight value of the MobileNet network; adding convolutional layers with a preset number of layers above the MobileNet network to obtain a head-shoulder detection network, wherein a size of the convolutional layers decreases layer by layer; and obtaining a second training sample set marked with the head-shoulder regions, and training the head-shoulder detection network retaining the weight value of the MobileNet network according to the second training sample set, to obtain the head-shoulder recognition model. 8. The method for generating a pedestrian flow funnel according to claim 1 , wherein updating the tracking sequence set according to the head-shoulder regions in the current frame image comprises: calculating similarity between each head-shoulder region in the current frame image and each head-shoulder region in the tracking sequence set; and updating the tracking sequence set according to the similarity. 9. The method for generating a pedestrian flow funnel according to claim 8 , wherein calculating similarity between each head-shoulder region in the current frame image and each head-shoulder region in the tracking sequence set comprises: calculating similarity between each head-shoulder region in the current frame image and each head-shoulder region in the tracking sequence set according to a following equation: sim ⁡ ( Q i , Q j ) = Q i ⁢ area ⋂ Q j ⁢ area Q i ⁢ area ⋃ Q j ⁢ area wherein, sim(Q i , Q j ) is similarity between the i-th head-shoulder region Q i the current frame image and the j-th head-shoulder region Q j in the tracking target set, Q i area is an area of the i-th head-shoulder region Q i in the current frame image, and Q j area is an area of the j-th head-shoulder region Q j in the tracking sequence set. 10. The method for generating a

Assignees

Inventors

Classifications

  • relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking · CPC title

  • G06T7/246Primary

    using feature-based methods, e.g. the tracking of corners or segments · CPC title

  • G06T7/248Primary

    involving reference images or patches · CPC title

  • Matching criteria, e.g. proximity measures · CPC title

  • Generating training patterns; Bootstrap methods, e.g. bagging or boosting · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11210795B2 cover?
The disclosure relates to the technical field of data processing. Disclosed are a pedestrian flow funnel generation method and apparatus, a storage medium and an electronic device. The method can comprise: acquiring a current frame of image, and tracking and updating, according to a multi-target tracking algorithm, a head and shoulder area in a tracking sequence set in the current frame of imag…
Who is the assignee on this patent?
Beijing Jingdong Shangke Information Technology Co Ltd, Beijing Jingdong Century Trading Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06T7/246. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 28 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).