QueryDet: Cascaded Sparse Query for Accelerating High-Resolution Small Object Detection

Chenhongyi Yang, Zehao Huang, Naiyan Wang
3/16/2021
cs.CV

Official code: ChenhongyiYang/QueryDet-PyTorch (488 stars, Python, MIT, last commit 2024-03-22).

Abstract

While general object detection with deep learning has achieved great success in the past few years, the performance and efficiency of detecting small objects are far from satisfactory. The most common and effective way to promote small object detection is to use high-resolution images or feature maps.

Show full abstract

However, both approaches induce costly computation since the computational cost grows squarely as the size of images and features increases. To get the best of two worlds, we propose QueryDet that uses a novel query mechanism to accelerate the inference speed of feature-pyramid based object detectors. The pipeline composes two steps: it first predicts the coarse locations of small objects on low-resolution features and then computes the accurate detection results using high-resolution features sparsely guided by those coarse positions. In this way, we can not only harvest the benefit of high-resolution feature maps but also avoid useless computation for the background area. On the popular COCO dataset, the proposed method improves the detection mAP by 1.0 and mAP-small by 2.0, and the high-resolution inference speed is improved to 3.0x on average. On VisDrone dataset, which contains more small objects, we create a new state-of-the-art while gaining a 2.3x high-resolution acceleration on average. Code is available at https://github.com/ChenhongyiYang/QueryDet-PyTorch.

View on arXivView PDF

Code Implementations(1)

MIT

[CVPR 2022 Oral] QueryDet: Cascaded Sparse Query for Accelerating High-Resolution Small Object Detection

48853Python, ShellMar 16, 20212 years agoMIT

Similar Papers

Cite this paper

@article{yang2021querydet,
  title  = {QueryDet: Cascaded Sparse Query for Accelerating High-Resolution Small Object Detection},
  author = {Chenhongyi Yang and Zehao Huang and Naiyan Wang},
  year   = {2021},
  eprint = {2103.09136},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.09136}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.09136.svg)](https://codeofpaper.com/paper/2103.09136)

Discussion