README.md

June 24, 2021 ยท View on GitHub

This repo is the implementation for Detecting and Matching Related Objects with One Proposal Multiple Predictions in CVPR 2021.

In this paper, we propose a simple yet efficient way to detect and match players and related objects at once without extra cost, by considering an implicit association for prediction of multiple objects through the same proposal box.

Illustration of the proposed network architecture for one proposal multiple prediction, applied to the ice hockey application.

This repo cantains:

Demo

To visual validate the result for you can use demo.py to test the model in sample images.

usage: demo.py [-h] -m {fpn,fpn+mp} -c CHECKPOINT -i DEMO_FILE [-d]

optional arguments:
  -h, --help            show this help message and exit
  -m {fpn,fpn+mp}, --model {fpn,fpn+mp}
                        the model name
  -c CHECKPOINT, --checkpoint CHECKPOINT
                        optional checkpoint file
  -i DEMO_FILE, --demo-file DEMO_FILE
                        the address of the demo file
  -d, --display         whether display the detection result

For example,

# for regular detector
python -m demo -m fpn -c checkpoints/coco+torso/FPN_ResNet18_COCO_Torso_easy.pth -i images/COCO_val2014_000000022935.jpg

# for proposed detector with multiple prediction and matching
python -m demo -m fpn+mp -c checkpoints/coco+torso/FPN_MP_ResNet18_COCO_Torso_easy.pth -i images/COCO_val2014_000000022935.jpg

Sample Results

original imagenormal detectorproposed detector
originaloriginaloriginal
originaloriginaloriginal

Citation

@inproceedings{liu2021detecting,
  title={Detecting and Matching Related Objects with One Proposal Multiple Predictions},
  author={Liu, Yang and Hafemann, Luiz G and Jamieson, Michael and Javan, Mehrsan},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={4520--4527},
  year={2021}
}