OMG: Observe Multiple Granularities for Natural Language-Based Vehicle Retrieval

Yunhao Du, Binyu Zhang, Xiangning Ruan, Fei Su, Zhicheng Zhao +1 more
4/18/2022
cs.CV

Official code: dyhBUPT/OMG (3 stars, Python, last commit 2022-06-15).

Abstract

Retrieving tracked-vehicles by natural language descriptions plays a critical role in smart city construction. It aims to find the best match for the given texts from a set of tracked vehicles in surveillance videos.

Show full abstract

Existing works generally solve it by a dual-stream framework, which consists of a text encoder, a visual encoder and a cross-modal loss function. Although some progress has been made, they failed to fully exploit the information at various levels of granularity. To tackle this issue, we propose a novel framework for the natural language-based vehicle retrieval task, OMG, which Observes Multiple Granularities with respect to visual representation, textual representation and objective functions. For the visual representation, target features, context features and motion features are encoded separately. For the textual representation, one global embedding, three local embeddings and a color-type prompt embedding are extracted to represent various granularities of semantic features. Finally, the overall framework is optimized by a cross-modal multi-granularity contrastive loss function. Experiments demonstrate the effectiveness of our method. Our OMG significantly outperforms all previous methods and ranks the 9th on the 6th AI City Challenge Track2. The codes are available at https://github.com/dyhBUPT/OMG.

View on arXivView PDF

Code Implementations(1)

dyhBUPT/OMGOfficial100%

[CVPR Workshop 2022] OMG: Observe Multiple Granularities for Natural Language-Based Vehicle Retrieval

31PythonApr 9, 20224 years ago

Similar Papers

Cite this paper

@article{du2022omg,
  title  = {OMG: Observe Multiple Granularities for Natural Language-Based Vehicle Retrieval},
  author = {Yunhao Du and Binyu Zhang and Xiangning Ruan and Fei Su and Zhicheng Zhao and Hong Chen},
  year   = {2022},
  eprint = {2204.08209},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.08209}
}

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/2204.08209.svg)](https://codeofpaper.com/paper/2204.08209)

Discussion