Code Monkey home page Code Monkey logo

2018aicity_laspalmas's Introduction

2018AICITY_LasPalmas

Unsupervised Vehicle Re-Identification using Triplet Networks

This repository contains the code of track3 in the NVIDIA AI City Challenge at CVPRW 2018, in which the sixth place was obtained. This project was developed by Las Palmas de Gran Canaria University and Modena and Reggio Emilia University.

Introduction

This repository contains our implementation to vehicle re-identification. We use a SSD detector to detect the different vehicles and then, a triplet architecture based on VGG to generate an embedded feature space. After that, a quadruple strategy is used to match the vehicles.

Code structure

  1. In data_parser is the code to generate the dataset of one video. After in utils/preProcesedDataSets.py is the code to remove wrong detections.
  2. In utils, you have utilities to shuffle the dataset (shuffleDataSet.py), concatenate different datasets generated by the data_parser (concatDataSets.py) and in the case that you have cropped the video, a script to store the true bounding box of the detection (correctBoundingboxDataSet.py).
  3. trainTriplet.py generates a model that is used in reduced_dataSet_generator.py to transform the detections to a new feature vector generating a new reduced dataset with only one frame per vehicle ID.
  4. The re-id strategy is comprised in sorted_quadrupla_list_generation.py script.
  5. To output the results in the format of the challenge, you can use k_top_output-template.py.

Resources

  1. Pretrained SSD model. detector_model
  2. Trained triplet network model, dimension of 100 to feature embedding. triplet_model

Reference

Pedro A. Marín-Reyes, Andrea Palazzi, Luca Bergamini, Simone Calderara, Javier Lorenzo-Navarro, Rita Cucchiara. Unsupervised Vehicle Re-Identification using Triplet Networks, in Proc. IEEE/CVF International Conference on Computer Vision and Pattern Recognition Workshops (CVPRW). Salt Lake City, EEUU, June 2018.

2018aicity_laspalmas's People

Contributors

anujsgithub avatar pedromarinreyes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.