Giter Site home page Giter Site logo

aicity's Introduction

Implementation of Multi-camera vehicle tracking and re-identification based on visual and spatial-temporal features for 2019 AICity Challenge

This repository contains the source codes of detection, single camera tracking and vehicle reid of our implementation for 2019 AICity Challenge, and we achieve the top 1 in the vehicle reid task.

Dependencies

python 2.7
pytorch 1.0
refer to our source codes for other dependencies

Datasets

Datasets used in our implementation are avialable at datasets (extract code: k1m4) which includes aicity_attribute.tar.gz (used for vehicle type classification), aicity_train_direction.tar.gz (used for vehicle orientation classification), complete_aicity_car196.tar.gz (used for training vehicle reid models), gao_crop_train.tar.gz (the crop image by applying our detector on our training set), gao_crop_query.tar.gz and gao_crop_gallery.tar.gz (the crop image by applying our detector on aicity_2019 testing set). Please refer to our paper for more details about the datasets. The images for training base vehicle reid models contain data for commercial usage, which will not be open source.

Some Important Pickle Files

Several important pickle files are also available at pickle_file (extract code: p3fg). These files will be introduced in different sub-folders.

Code Structure

Each part has its own README file.

  • SingleCameraTracking contains source codes of single camera tracking.

  • Track2(ReID)/part1_model contains source codes of training vehicle type classification model, vehicle orientation classification model and three vehicle reid models including se_resnext101, resnet101 and se_resnet152.

  • Track2(ReID)/part2_model contains the source codes of training three vehicle reid models including resnet50_sac, hrnet and MGN.

  • Track2(ReID)/part3_model contains the source codes of training key-point based reid model.

  • Track2(ReID)/utility_and_constraint_related_codes contain utility codes and constraint related codes.

Qualitative Results

Some qualitative results of our method are listed below. The first column shows query images, the remaining columns demonstrate the corresponding top 7 ranking results. Images in red box are false positives and images in green box are true positives.

  • Results generated by baseline mehtod (Resnet50 trained by softmax cross entropy loss and triplet loss).
    image

  • Results generated by our method. image

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.