Person Reidentification
CS517 Mini-Project
Arnav Kharbanda(2021CSB1072)
Yashasav Prajapati(2021CSB1143)
References
Boston Marathon Bombing on April 15, 2013
This investigation could’ve been faster, if they had the right technology.
This clearly shows the reason we need Person Re-identification
Problem Statement
Person re-identification is a computer vision task that involves identifying an individual in a series of images or video frames captured from one or more cameras. The goal is to match images of a person captured in different camera views or at different times, even if their appearance may have changed due to variations in lighting, pose, or occlusion.
Sample
Source: Science Direct
Source: Prid Webpage
INPUTS
Query Image
The person re-identification engine takes a single image as input and utilizes the dataset's gallery of images to identify all possible sets of images that may correspond to the same person.
ILLUSTRATION
INPUTS
Engine
OUTPUTS
Set of Images
ILLUSTRATION
OUTPUTS
Some More Illustrations
DataSets Used
Evaluation Metrics Used
Mean of this over m queries gives mAP
What was the solution approach?
The general solution is a 2 step process.
We use deep learning to improve upon this technique.
Progress in person Reidentification
State of the art solutions - Metric Learning(uses deep learning)
Our current solution uses softmax loss or metric learning with triplet loss.
SoftMax Loss
Triplet Loss
Works on the fact that if two images are similar, we bring them closer and if they’re not similar, we take them far apart
Using these losses in code to train a model
Using these losses in code to build the engine
Building Engine
Engine using SoftMax loss
Engine using Triplet Loss
Resnet50
Residual Network - A very powerful type of convolution neural network. It’s pretrained model is used in training of the person re-identification model using the losses discussed.
Result Evaluation Metrics Obtained from our training and testing
Comparison with NVIDIA Labs
Our Results
NVIDIA Labs Results(DG-Net NVIDIA’s own)
Almost similar results on Market-1501 dataset
ONE OF OUR RESULTS
Method Based
on Multi-Attribute Feature Generation
The proposed method consists of two main steps: multi-attribute feature generation and similarity score calculation. In the multi-attribute feature generation step, the input image is processed by multiple attribute classifiers, which generate features related to the color, texture, and shape of the person. Then, the features are combined into a single representation using a feature fusion method. In the similarity score calculation step, the Euclidean distance between the feature representations of the query and gallery images is calculated to obtain the similarity scores.
Alternate method
Comparison with Multi-Attribute Feature Generation Method
Our Results
MAFG Result
Learnings
Thanks