Skip to content

foreverYoungGitHub/detect-and-match-related-objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detecting and Matching Related Objects with One Proposal Multiple Predictions

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 image normal detector proposed detector
original original original
original original original

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}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages