IP Library Granted Patent US 12,394,239
Granted Patent B2
US 12,394,239 · App. 18/013,795 · Granted Aug 19, 2025

Pedestrian re-identification method and device

Inventors: Lingxiao He (Beijing, CN); Boqiang Xu (Beijing, CN); Xingyu Liao (Beijing, CN); Wu Liu (Beijing, CN); Tao Mei (Beijing, CN); Bowen Zhou (Beijing, CN)
Assignees: Beijing Jingdong Shangke Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
G06V40/10G06V10/42G06V10/44G06V10/70G06V10/751
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,394,239
App. No.
18/013,795
Granted
Aug 19, 2025
Kind
B2
Abstract

A method and an electronic device for pedestrian re-identification are provided. The method may include: collecting a target image set including at least two target images, where each target image includes at least one person; extracting a global feature and a head-shoulder feature of each person in each target image in the target image set, where the global feature is an overall appearance feature, and the head-shoulder feature is a feature of a head part and a shoulder part determining a representation feature of each person in each target image based on the global feature and the head-shoulder feature of each person in each target image; and determining a given person in different target images based on the representation feature of each person in each target image.

Claims (67)

1. A computer-implemented method for pedestrian re-identification, comprising:

collecting a target image set comprising at least two target images, wherein each target image comprises at least one person;

extracting, using respective pre-trained models, a global feature and a head-shoulder feature of each person in the each target image in the target image set, wherein the global feature is an overall appearance feature, and the head-shoulder feature is a feature of a head part and a shoulder part;

determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image; and

determining whether a given person in different target images is the same person by assessing similarity between the respective representation feature of the each person in the each target image;

wherein the determining a representation feature of the each person in the each target image based on the global feature and head-shoulder feature of the each person in the each target image comprises:

acquiring, for the each person in the each target image, a weight value of the global feature and a weight value of the head-shoulder feature that correspond to a reference identification feature in the global feature of the person, wherein the weight value of the global feature that corresponds to the reference identification feature is less than the weight value of the head-shoulder feature that corresponds to the reference identification feature, and the weight value of the global feature and the weight value of the head-shoulder feature that correspond to the reference identification feature vary with the global feature; and

connecting the weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person.

2. The method according to claim 1 , wherein the connecting, for the each person in the each target image, weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person further comprises:

acquiring a preset weight value of the global feature and a preset weight value of the head-shoulder feature if the reference identification feature does not exist in the global feature of the person; and

connecting the weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person.

3. The method according to claim 1 , wherein the reference identification feature comprises: brightness of an image of a person in the target image being less than a preset brightness value, and/or a color of clothing of the or each person in the target image being black, and/or each target image is blurred.

4. The method according to claim 1 , wherein the determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image comprises:

inputting, for the each person in the each target image, the global feature of the person into a trained weight adaptive model, to obtain a weight value of the global feature of the person, the weight value being outputted by the weight adaptive model;

calculating a weight value of the head-shoulder feature of the person based on the weight value of the global feature of the person; and

connecting the weighted features of both the head-shoulder feature of the person and the global feature of the person to obtain the representation feature of the person.

5. The method according to claim 1 , wherein the determining a given person in different target images based on the representation feature of the each person in the each target image comprises:

calculating a distance between representation features of any two people in the different target images to form a distance matrix; and

determining the given person in the different target images based on the distance matrix.

6. The method according to claim 1 , wherein extracting the global feature of the each person in the each target image in the target image set comprises:

inputting an image of the each person in the each target image into a trained global deep learning model to obtain the global feature of the each person in the each target image, the global feature being outputted by the trained global deep learning model.

7. The method according to claim 1 , wherein extracting the head-shoulder feature of the each person in the each target image in the target image set comprises:

inputting the image of the each person in the each target image into a trained head-shoulder positioning model to obtain a head-shoulder area image in the image of the each person in the each target image, the head-shoulder area image being outputted by the trained head-shoulder positioning model; and

inputting the head-shoulder area image in the image of the each person in the each target image into a trained head-shoulder deep learning model to obtain the head-shoulder feature of the each person in the each target image, the head-shoulder feature being outputted by the trained head-shoulder deep learning model.

8. The method according to claim 1 , wherein the head-shoulder feature comprises one or more of: a gender, a face, a hairstyle, glasses, a shoulder shape, a scarf, a neck thickness.

9. An electronic device, comprising:

one or more processors; and

a storage apparatus, configured to store one or more programs,

wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform operations comprising:

collecting a target image set comprising at least two target images, wherein each target image comprises at least one person;

extracting, using respective pre-trained models, a global feature and a head-shoulder feature of each person in the each target image in the target image set, wherein the global feature is an overall appearance feature, and the head-shoulder feature is a feature of a head part and a shoulder part;

determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image; and

determining whether a given person in different target images is the same person by assessing similarity between the respective representation feature of the each person in the each target image;

wherein the determining a representation feature of the each person in the each target image based on the global feature and head-shoulder feature of the each person in the each target image comprises:

acquiring, for the each person in the each target image, a weight value of the global feature and a weight value of the head-shoulder feature that correspond to a reference identification feature in the global feature of the person, wherein the weight value of the global feature that corresponds to the reference identification feature is less than the weight value of the head-shoulder feature that corresponds to the reference identification feature, and the weight value of the global feature and the weight value of the head-shoulder feature that correspond to the reference identification feature vary with the global feature; and

connecting the weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person.

10. The electronic device according to claim 9 , wherein the connecting, for the each person in the each target image, weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person further comprises:

acquiring a preset weight value of the global feature and a preset weight value of the head-shoulder feature if the reference identification feature does not exist in the global feature of the person; and

connecting the weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person.

11. The electronic device according to claim 10 , wherein the reference identification feature comprises: brightness of an image of a person in the target image being less than a preset brightness value, and/or a color of clothing of the or each person in the target image being black, and/or each target image is blurred.

12. The electronic device according to claim 9 , wherein the determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image comprises:

inputting, for the each person in the each target image, the global feature of the person into a trained weight adaptive model, to obtain a weight value of the global feature of the person, the weight value being outputted by the weight adaptive model;

calculating a weight value of the head-shoulder feature of the person based on the weight value of the global feature of the person; and

connecting the weighted features of both the head-shoulder feature of the person and the global feature of the person to obtain the representation feature of the person.

13. The electronic device according to claim 9 , wherein the determining a given person in different target images based on the representation feature of the each person in the each target image comprises:

calculating a distance between representation features of any two people in the different target images to form a distance matrix; and

determining the given person in the different target images based on the distance matrix.

14. The electronic device according to claim 9 , wherein extracting the global feature of the each person in the each target image in the target image set comprises:

inputting an image of the each person in the each target image into a trained global deep learning model to obtain the global feature of the each person in the each target image, the global feature being outputted by the trained global deep learning model.

15. The electronic device according to claim 9 , wherein extracting the head-shoulder feature of the each person in the each target image in the target image set comprises:

inputting the image of the each person in the each target image into a trained head-shoulder positioning model to obtain a head-shoulder area image in the image of the each person in the each target image, the head-shoulder area image being outputted by the trained head-shoulder positioning model; and

inputting the head-shoulder area image in the image of the each person in the each target image into a trained head-shoulder deep learning model to obtain the head-shoulder feature of the each person in the each target image, the head-shoulder feature being outputted by the trained head-shoulder deep learning model.

16. The electronic device according to claim 9 , wherein the head-shoulder feature comprises one or more of: a gender, a face, a hairstyle, glasses, a shoulder shape, a scarf, a neck thickness.

17. A non-transitory computer readable medium, storing a computer program, wherein the program, when executed by a processor, implements operations comprising:

collecting a target image set comprising at least two target images, wherein each target image comprises at least one person;

extracting, using respective pre-trained models, a global feature and a head-shoulder feature of each person in the each target image in the target image set, wherein the global feature is an overall appearance feature, and the head-shoulder feature is a feature of a head part and a shoulder part;

determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image; and

determining whether a given person in different target images is the same person by assessing similarity between the respective representation feature of the each person in the each target image;

wherein the determining a representation feature of the each person in the each target image based on the global feature and head-shoulder feature of the each person in the each target image comprises:

acquiring, for the each person in the each target image, a weight value of the global feature and a weight value of the head-shoulder feature that correspond to a reference identification feature in the global feature of the person, wherein the weight value of the global feature that corresponds to the reference identification feature is less than the weight value of the head-shoulder feature that corresponds to the reference identification feature, and the weight value of the global feature and the weight value of the head-shoulder feature that correspond to the reference identification feature vary with the global feature; and

connecting the weighted features of both the global feature and the head-shoulder feature of the person to obtain the representation feature of the person.

18. The non-transitory computer readable medium according to claim 17 , wherein the reference identification feature comprises: brightness of an image of a person in the target image being less than a preset brightness value, and/or a color of clothing of the or each person in the target image being black, and/or each target image is blurred.

19. The non-transitory computer readable medium according to claim 18 , wherein the determining a representation feature of the each person in the each target image based on the global feature and the head-shoulder feature of the each person in the each target image comprises:

inputting, for the each person in the each target image, the global feature of the person into a trained weight adaptive model, to obtain a weight value of the global feature of the person, the weight value being outputted by the weight adaptive model;

calculating a weight value of the head-shoulder feature of the person based on the weight value of the global feature of the person; and

connecting the weighted features of both the head-shoulder feature of the person and the global feature of the person to obtain the representation feature of the person.

20. The non-transitory computer readable medium according to claim 18 , wherein the head-shoulder feature comprises one or more of: a gender, a face, a hairstyle, glasses, a shoulder shape, a scarf, a neck thickness.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2022
From: HE, LINGXIAO; XU, BOQIANG; LIAO, XINGYU; LIU, WU; MEI, TAO; ZHOU, BOWEN
To: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.; BEIJING JINGDONG CENTURY TRADING CO., LTD.
Reel/Frame 062238/0327 →
Priority Claims (1)
CN 202010863443.9 · Aug 25, 2020 · national
Continuity (1)
Related Publication 20230334890A1 · Oct 19, 2023
References Cited (25)
US 10796154B2 · Ostrovsky · 2020 [cited by examiner]
US 11049008B2 · Mnih et al. · 2021 [cited by applicant]
US 11232294B1 · Banerjee · 2022 [cited by examiner]
US 12257478B1 · Yao · 2025 [cited by examiner]
US 12260450B2 · Berger · 2025 [cited by examiner]
US 12260530B2 · Kumar Singh · 2025 [cited by examiner]
US 20160229631A1 · Kimura et al. · 2016 [cited by applicant]
US 20190392201A1 · Ostrovsky · 2019 [cited by examiner]
US 20210150194A1 · Wang · 2021 [cited by examiner]
US 20220198816A1 · Bao · 2022 [cited by examiner]
CN 104142682A · 2014 [cited by applicant]
CN 105637540A · 2016 [cited by applicant]
CN 105858045A · 2016 [cited by applicant]
CN 107628404A · 2018 [cited by applicant]
CN 109389589A · 2019 [cited by applicant]
CN 109784166A · 2019 [cited by examiner]
CN 110070073A · 2019 [cited by examiner]
CN 110543841A · 2019 [cited by examiner]
CN 112307886A · 2021 [cited by applicant]
Xu et al. “Black re-id: A head-shoulder descriptor for the challenging problem of person re-identification.” arXiv, Aug. 19, 2020. [cited by examiner]
Li, Dangwei, et al. “Learning deep context-aware features over body and latent parts for person re-identification.” Proceedings of the IEEE conference on computer vision and pattern recognition. 2017. (Year: 2017). [cited by examiner]
Xu et al. “Black Re-ID: A Head-shoulder Descriptor for the Challenging Problem of Person Re-Identification”; https://doi.org/10.48550/arXiv.2008.08528 ; Aug. 2020. (Year: 2020). [cited by examiner]
International Search Report for PCT/CN2021/092020, dated Jul. 19, 2021, 4 pgs. [cited by applicant]
Chinese Office Action for CN 2020108634439, dated Mar. 11, 2022, 9 pgs. [cited by applicant]
B. Xu, et al., “Black Re-ID: A Head-shoulder Descriptor for the Challenging Problem of Person Re-Identification”, arXiv, Aug. 19, 2020, pp. 1-9. [cited by applicant]