# US 2021/0287015 A1 · Method and apparatus for vehicle re-identification, training method and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287015 A1
- Document ID: US20210287015A1
- Status: Published application
- Kind: A1
- Application number: 17/336,641
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2020-10-20
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Minyue JIANG; Xiao TAN; Hao SUN
- Web page: https://patentgrep.com/patent/US20210287015A1

## CPC

- G06V 20/647: {by matching two-dimensional images to three-dimensional objects}
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/2413: based on distances to training or reference patterns
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06T 7/149: involving deformable models, e.g. active contour models
- G06T 11/60: Creating or editing images; Combining images with text
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/764: using classification, e.g. of video objects
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G08G 1/0175: {by photographing vehicles, e.g. when violating traffic rules}
- G06V 2201/08: Detecting or categorising vehicles
- Y02T 10/40: Engine management systems
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})
- Y02T: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION

## Abstract

The present application discloses a method and an apparatus for vehicle re-identification, a training method, an electronic device and a storage medium, relating to the field of artificial intelligence, in particular, to technologies of computer vision, deep learning and intelligent transport. A specific implementation is: acquiring a picture of a target vehicle to be re-identified, determining a target two-dimensional image of the target vehicle based on the picture and a preset initial three-dimensional model, the initial three-dimensional model being generated based on sample three-dimensional information of a sample vehicle, and re-identifying the target two-dimensional image to generate and output an identification result.

## Claims

### Claim 1

A method for vehicle re-identification, comprising:
acquiring a picture of a target vehicle to be re-identified;
determining a target two-dimensional image of the target vehicle based on the picture and a preset initial three-dimensional model, the initial three-dimensional model being generated based on sample three-dimensional information of a sample vehicle;
re-identifying the target two-dimensional image to generate and output an identification result.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining a target two-dimensional image of the target vehicle based on the picture and a preset initial three-dimensional model comprises:
adjusting, based on the picture, the initial three-dimensional model;
determining the adjusted initial three-dimensional model that satisfies a preset adjusting condition as a target three-dimensional model, wherein the adjusting condition comprises: a similarity between the adjusted initial three-dimensional model and the picture is greater than a preset similarity threshold;
determining the target two-dimensional image according to the target three-dimensional model.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining the target two-dimensional image according to the target three-dimensional model comprises:
determining attribute information of respective target components of the target vehicle according to the target three-dimensional model;
splicing the respective components according to the attribute information to generate the target two-dimensional image.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the attribute information comprises:
identifications of the target components and three-dimensional parameters of the target components; the splicing the respective components according to the attribute information to generate the target two-dimensional image comprises:
determining a connecting relationship among the respective target components according to the identifications of the target components;
splicing the respective components according to the connecting relationship and the three-dimensional parameters of the respective target components to generate the target two-dimensional image.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
collecting sample information of a sample two-dimensional image;
training a preset initial network model according to the sample two-dimensional image to generate a re-identifying network model; and
the re-identifying the target two-dimensional image to generate and output an identification result comprises: inputting the target two-dimensional image into the re-identifying network model to generate and output the identification result.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
collecting sample information of the sample vehicle, the sample information of the sample vehicle comprises: the sample three-dimensional information and a number of samples;
constructing the initial three-dimensional model according to the sample three-dimensional information and the number of samples.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the constructing the initial three-dimensional model according to the sample three-dimensional information and the number of samples comprises:
determining average three-dimensional information according to the sample three-dimensional information and the number of samples.
training a preset basic model framework according to the average three-dimensional information to generate the initial three-dimensional model.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the sample three-dimensional information comprises: three-dimensional parameters of the respective sample components of the sample vehicle and identifications of the respective sample components.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the three-dimensional parameters of the respective sample components are three-dimensional parameters corresponding to preset calibration points of the respective sample components.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
determining tracking and positioning information of the target vehicle according to the identification result.

### Claim 11

An apparatus for vehicle re-identification, comprising:
a memory, a processor, a computer program stored on the memory and executable on the processor,
wherein the processor, when running the computer program, is configured to:
acquire a picture of a target vehicle to be re-identified;
determine a target two-dimensional image of the target vehicle based on the picture and a preset initial three-dimensional model, the initial three-dimensional model being generated based on sample three-dimensional information of a sample vehicle;
re-identify the target two-dimensional image to generate and output an identification result.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the processor is configured to adjust the initial three-dimensional model according to the picture, determine the adjusted initial three-dimensional model that satisfies a preset adjusting condition as a target three-dimensional model, wherein the adjusting condition comprises: a similarity between the adjusted initial three-dimensional model and the picture is greater than a preset similarity threshold, and determine the target two-dimensional image according to the target three-dimensional model.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the processor is configured to determine attribute information of respective target components of the target vehicle according to the target three-dimensional model, splice the respective target components according to the attribute information to generate the target two-dimensional image.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the attribute information comprises: identifications of the target components and the three-dimensional parameters of the target components; the processor is configured to determine a connecting relationship among the respective target components according to the identifications of the target components, and splice the respective target components according to the connecting relationship and the three-dimensional parameters of the respective target components to generate the target two-dimensional image.

### Claim 15 (depends on 11)

The apparatus according to claim 11, wherein the processor is further configured to:
collect sample information of a sample two-dimensional image;
train a preset initial network model according to the sample two-dimensional image to generate a re-identifying network model; and,
input the target two-dimensional image into the re-identifying network model to generate and output the identification result.

### Claim 16 (depends on 11)

The apparatus according to claim 11, wherein the processor is further configured to:
collect sample information of the sample vehicle, the sample information of the sample vehicle comprising: the sample three-dimensional information and a number of samples;
construct the initial three-dimensional model according to the sample three-dimensional information and the number of samples.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the processor is configured to determine average three-dimensional information according to the sample three-dimensional information and the number of samples;
train a preset basic model framework according to the average three-dimensional information to generate the initial three-dimensional model.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the sample three-dimensional information comprises: three-dimensional parameters of respective sample components of the sample vehicle and identifications of the respective sample components.

### Claim 19 (depends on 1)

A non-transitory computer-readable storage medium, having computer instructions stored thereon, the computer instructions being configured to cause a computer to execute the method according to claim 1.

### Claim 20

A method for model training, comprising:
collecting sample information of a sample vehicle, the sample information of the sample vehicle comprising: sample three-dimensional information and a number of samples;
constructing an initial three-dimensional model according to the sample three-dimensional information and the number of samples, the initial three-dimensional model being configured to re-identify a target vehicle based on a picture of the target vehicle.
