Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Vehicle re-identification method and system based on double attention mechanisms

An attention and re-identification technology, applied in the field of vehicle re-identification, can solve the problems of data overfitting, increase computing resources, reduce practicability, etc., and achieve fast convergence, robust fine-grained features, and accelerated model training. Effect

Active Publication Date: 2021-08-06
SOUTH CHINA UNIV OF TECH
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above method researches and extracts local features from different directions, enhances the distinguishing ability of features to a certain extent, and improves the performance of vehicle re-identification, but in When extracting local features, a sub-network is used alone, which increases computing resources, and is prone to over-fitting problems for specific data, reducing practicability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Vehicle re-identification method and system based on double attention mechanisms
  • Vehicle re-identification method and system based on double attention mechanisms
  • Vehicle re-identification method and system based on double attention mechanisms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] The data in this embodiment adopts the Veri-776 data set. The images in the data set come from urban surveillance videos. 20 cameras cover an area of ​​one square kilometer, and the monitoring time is 24 hours. There are 776 vehicles in this dataset, and the total number of images is 49357, of which the number of training images is 37778, the number of query images is 1678, and the number of test images is 11579. The detailed information of the data set is shown in Table 1 below. This embodiment is mainly implemented based on the framework Pytorch1.5.1. The graphics card used in the experiment is GEFORCERTX 2080Ti, the system is Ubuntu 20.04, the CUDA version is 10.2, and the cudnn version is 8.0.1.

[0082] Table 1 Detailed information table of vehicle re-identification dataset

[0083]

[0084] Such as figure 1 As shown, the present embodiment provides a vehicle re-identification method based on a dual attention mechanism, comprising the following steps:

[0085]...

Embodiment 2

[0121] This embodiment provides a vehicle re-identification system based on a dual attention mechanism, including: a convolutional neural network building block, a channel attention mechanism component building block, a granular attention mechanism component building block, a batch image building block, real-time data Enhancement modules, loss function building blocks, convolutional neural network training modules, and reranking modules;

[0122] The convolutional neural network building block is used to build a convolutional neural network, and the convolutional neural network is used for vehicle feature extraction; the channel attention component building block is used to build a channel attention component, and assign different weights to different channels; the granular attention component building block Used to build granular attention components, focusing on the most suitable granular representation of features; the batch image building module is used to randomly select m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a vehicle re-identification method and system based on a double attention mechanism. The method comprises the following steps: constructing a convolutional neural network for vehicle feature extraction; constructing channel attention parts for paying attention to different channels; constructing a granularity attention component used for paying attention to the feature suitable granularity; randomly selecting multiple types of vehicles in each training batch, and randomly selecting multiple images in each type of vehicles to construct batch images; carrying out real-time data enhancement on the batch images and then inputting the batch images into a convolutional neural network; constructing a cross entropy loss function and a triple loss function after smooth regularization of the batch labels, and adding the cross entropy loss function and the triple loss function to obtain an integral loss function; and carrying out feature extraction on the trained convolutional neural network, calculating Euclidean distances between the features, and reordering the distances to obtain a vehicle re-identification result. According to the invention, the fine-grained features of the vehicle image can be better obtained, and the precision and stability of the model are improved.

Description

technical field [0001] The invention relates to the technical field of vehicle re-identification, in particular to a vehicle re-identification method and system based on a dual attention mechanism. Background technique [0002] Vehicle re-identification is a vehicle search method, which refers to inputting a query vehicle image and searching for a vehicle with the same identity as the query vehicle in the database. Vehicle re-identification is generally used in large-scale urban video surveillance networks, which can help traffic management departments quickly, accurately and conveniently discover, locate, and track target vehicles in massive traffic monitoring data. However, the unconstrained urban traffic scene has brought many difficulties to the vehicle re-identification technology, such as the variability of ambient lighting, the arbitrariness of the shooting angle, the complexity of the shooting background, the occlusion of foreground objects, etc., using the license p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/42G06K9/34G06K9/32G06K9/62G08G1/017G06N3/04
CPCG08G1/0175G06V10/243G06V10/267G06V10/32G06V2201/08G06N3/045G06F18/23G06F18/214Y02T10/40
Inventor 胡永健甘豪刘琲贝
Owner SOUTH CHINA UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products