All Projects → myfavouritekk → T Cnn

myfavouritekk / T Cnn

Licence: mit
ImageNet 2015 Object Detection from Video (VID)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to T Cnn

Tf deformable net
Deformable convolution net on Tensorflow
Stars: ✭ 173 (-51.94%)
Mutual labels:  object-detection, detection
Vdetlib
Video detection library
Stars: ✭ 177 (-50.83%)
Mutual labels:  object-detection, detection
Dockerface
Face detection using deep learning.
Stars: ✭ 173 (-51.94%)
Mutual labels:  object-detection, detection
Rectlabel Support
RectLabel - An image annotation tool to label images for bounding box object detection and segmentation.
Stars: ✭ 338 (-6.11%)
Mutual labels:  object-detection, detection
Sipmask
SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation (ECCV2020)
Stars: ✭ 255 (-29.17%)
Mutual labels:  object-detection, detection
A Pytorch Tutorial To Object Detection
SSD: Single Shot MultiBox Detector | a PyTorch Tutorial to Object Detection
Stars: ✭ 2,398 (+566.11%)
Mutual labels:  object-detection, detection
Vip
Video Platform for Action Recognition and Object Detection in Pytorch
Stars: ✭ 175 (-51.39%)
Mutual labels:  object-detection, detection
Deep Learning For Tracking And Detection
Collection of papers, datasets, code and other resources for object tracking and detection using deep learning
Stars: ✭ 1,920 (+433.33%)
Mutual labels:  object-detection, detection
Real time object detection and tracking
YOLOv2 and MobileNet_SSD detection algorithms used along with KCF object tracker
Stars: ✭ 241 (-33.06%)
Mutual labels:  object-detection, detection
Com.unity.perception
Perception toolkit for sim2real training and validation
Stars: ✭ 208 (-42.22%)
Mutual labels:  object-detection, detection
Map
mean Average Precision - This code evaluates the performance of your neural net for object recognition.
Stars: ✭ 2,324 (+545.56%)
Mutual labels:  object-detection, detection
Vott
Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
Stars: ✭ 3,684 (+923.33%)
Mutual labels:  object-detection, detection
Derpn
A novel region proposal network for more general object detection ( including scene text detection ).
Stars: ✭ 155 (-56.94%)
Mutual labels:  object-detection, detection
Object Detection
Object detection with ssd_mobilenet and tiny-yolo (Add: YOLOv3, tflite)
Stars: ✭ 173 (-51.94%)
Mutual labels:  object-detection, detection
Synthdet
SynthDet - An end-to-end object detection pipeline using synthetic data
Stars: ✭ 148 (-58.89%)
Mutual labels:  object-detection, detection
Vision3d
Research platform for 3D object detection in PyTorch.
Stars: ✭ 177 (-50.83%)
Mutual labels:  object-detection, detection
Yolo label
GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2 https://github.com/AlexeyAB/darknet, https://github.com/pjreddie/darknet
Stars: ✭ 128 (-64.44%)
Mutual labels:  object-detection, detection
Make Sense
Free to use online tool for labelling photos. https://makesense.ai
Stars: ✭ 2,087 (+479.72%)
Mutual labels:  object-detection, detection
Pine
🌲 Aimbot powered by real-time object detection with neural networks, GPU accelerated with Nvidia. Optimized for use with CS:GO.
Stars: ✭ 202 (-43.89%)
Mutual labels:  object-detection, detection
Gfocalv2
Generalized Focal Loss V2: Learning Reliable Localization Quality Estimation for Dense Object Detection, CVPR2021
Stars: ✭ 270 (-25%)
Mutual labels:  object-detection, detection

T-CNN: Tubelets with Convolution Neural Networks

Introduction

The TCNN framework is a deep learning framework for object detection in videos. This framework was orginally designed for the ImageNet VID chellenge in ILSVRC2015.

Citing T-CNN

If you are using the T-CNN code in you project, please cite the following works.

@inproceedings{kang2016object,
  Title = {Object Detection from Video Tubelets with Convolutional Neural Networks},
  Author = {Kang, Kai and Ouyang, Wanli and Li, Hongsheng and Wang, Xiaogang},
  Booktitle = {CVPR},
  Year = {2016}
}
@article{kang2016tcnn,
  title={T-CNN: Tubelets with Convolutional Neural Networks for Object Detection from Videos},
  author={Kang, Kai and Li, Hongsheng and Yan, Junjie and Zeng, Xingyu and Yang, Bin and Xiao, Tong and Zhang, Cong and Wang, Zhe and Wang, Ruohui and Wang, Xiaogang and Ouyang, Wanli},
  journal={arXiv preprint},
  year={2016}
}

License

T-CNN is released under the MIT License.

ImageNet 2015 VID detection results

Track Validation Set Test Set Rank in ILSVRC2015
Provided 73.8 67.8 #1
Additional 77.0 69.7 #2

Installations

Prerequisites

  1. caffe with Python layer and pycaffe
  2. GNU Parallel
  3. matutils
  4. FCN tracker
  5. Matlab with python engine

Instructions

  1. Clone the repository and sub-repositories from GitHub, let $TCNN_ROOT represents the root directory of the repository.

        $ # clone the repository
        $ git clone --recursive https://github.com/myfavouritekk/T-CNN.git
        $ cd $TCNN_ROOT
        $ # checkout the ImageNet 2015 VID branch
        $ git checkout ilsvrc2015vid
    
  2. Compilation for vdetlib

        $ cd $TCNN_ROOT/vdetlib
        $ make
        $ export PYTHONPATH=$TCNN_ROOT/vdetlib:$PYTHONPATH
    
  3. Download and install caffe in the External directory

        $ git clone https://github.com/BVLC/caffe.git External/caffe
        $ # modify `Makefile.config` and build with Python layer and pycaffe
        $ # detailed instruction, please follow http://caffe.berkeleyvision.org/installation.html
        $ export PYTHONPATH=$TCNN_ROOT/External/caffe/python:$PYTHONPATH
    
  4. Download a modified version of FCN Tracker originally developed by Lijun Wang et. al.

        $ git clone --recursive -b T-CNN https://github.com/myfavouritekk/FCNT External/fcn_tracker_matlab
        $ # compile the caffe-fcn_tracking and configure FCNT
    

Demo

  1. Extract the sample data and still-image detection results

        $ cd $TCNN_ROOT
        $ unzip sample_data.zip -d data/
    
  2. Generate optical flow for the videos

        $ mkdir ./data/opt_flow
        $ ls ./data/frames |
            parallel python tools/data_proc/gen_optical_flow.py ./data/frames/{} ./data/opt_flow/{} --merge
    
  3. Multi-context suppression and motion-guided propagation in Matlab

        >> addpath(genpath('tools/mcs_mgp'));
        >> mcs_mgp('data/opt_flow', 'data/scores', 'data/mcs_mgp')
    
  4. Tubelet tracking and re-scoring

        $ # generate .vid protocol files
        $ ls data/frames | parallel python vdetlib/tools/gen_vid_proto_file.py {} $PWD/data/frames/{} data/vids/{}.vid
        $ # tracking from raw detection files
        $ find data/vids -type f -name *.vid | parallel -j1 python tools/tracking/greedy_tracking_from_raw_dets.py {} data/mcs_mgp/window_size_7_time_step_1_top_ratio_0.000300_top_bonus_0.400000_optflow/{/.} data/tracks/{/.} --thres 3.15 --max_frames 100 --num 30
        $ # spatial max-pooling
        $ find data/vids -type f | parallel python tools/scoring/tubelet_raw_dets_max_pooling.py {} data/tracks/{/.} data/mcs_mgp/window_size_7_time_step_1_top_ratio_0.000300_top_bonus_0.400000_optflow/{/.} data/score_proto/window_size_7_time_step_1_top_ratio_0.000300_top_bonus_0.400000_optflow_max_pooling/{/.} --overlap_thres 0.5
    
  5. Tubelet visualization

        $ python tools/visual/show_score_proto.py data/vids/ILSVRC2015_val_00007011.vid data/score_proto/window_size_7_time_step_1_top_ratio_0.000300_top_bonus_0.400000_optflow_max_pooling/ILSVRC2015_val_00007011/ILSVRC2015_val_00007011.airplane.score
    

Beyond demo

  1. Optical flow extraction

        $ python tools data_proc/gen_optical_flow.py -h
    
  2. vdetlib for tracking and rescoring

  3. Visualization tools in tools/visual.

Known Issues

  1. Matlab engines may stall after long periods of tracking. Please consider to kill the certain matlab session to continue.

To-do list

  • [ ] Tubelet Bayesian classifier
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].