Skip to content

Locating a particular person in a given surveillance video using a set of soft-biometric queries such as height,color and gender.

Notifications You must be signed in to change notification settings

kenil-shah/Description-Based-Person-Identification

Repository files navigation

Person-Retrieval-AVSS-2018

Implementation of our IEEE AVSS 2018 paper "Person Retrieval in Surveillance Video using Height, Color, and Gender". If you find this code useful in your research, please consider citing:

  title={Person retrieval in surveillance video using height, color and gender},
  author={Galiyawala, Hiren and Shah, Kenil and Gajjar, Vandit and Raval, Mehul S},
  booktitle={2018 15th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS)},
  pages={1--6},
  year={2018},
  organization={IEEE}
}

This code was initially tested on an Ubuntu 16.04 system using Keras 2.0.8 with Tensorflow 1.12 backend.

Alt Text

The paper proposes a deep learning-based linear filtering approach for person retrieval using height, cloth color, and gender.

Installation

  1. Clone this repository.
git clone https://github.com/Vanditg/Person-Retrieval-AVSS-2018.git  
  1. In the repository, execute pip install -r requirements.txt to install all the necessary libraries.

  2. Three deep learning models are used inorder to filter out the desired person.

    1. Mask_RCNN:- Used to determine the coordinates of the person and fetch the pixelwise segmentation
    2. gender_model:- Used to determine gender of the person
    3. color_model:- Used to determine torso color of the person
  3. Download the pretrained weights.

    1. Mask_RCNN pretrained weights and save it in root directory
    2. gender_model pretrained weights and save it in /modalities/gender/
    3. color_model pretrained weight and save it in /modalities/torso_color/

Usage

To use run

python Video_demo_person_identification.py

This will read the input video file and based on the queries produces the Bounding-Box and Person Coordinates text file under the output folder.

Many thanks to Matterport for the Mask R-CNN code.

Output Frames

Alt Text

Retrieving a person using torso color blue and gender female.

Media Coverage

New Scientist, The Next Web, Digital Trends, Make Tech Easier, Tech The Lead, Outerplaces, IMPORT AI by Jack Clark, Business Recorder, Inshorts, and RT

About

Locating a particular person in a given surveillance video using a set of soft-biometric queries such as height,color and gender.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages