基于ViDT系列算法训练的标识检测模型,支持对台标、车标、交通、品牌等常见标识的检测。输入一张图片,返回标识所在的位置。
本项目实现的模型为ViDT+,采用的Backbone为Swin-Tiny。
ViDT+的模型结构如下所示:
基于 ModelScope 框架,通过调用预定义的 Pipeline 可实现快速调用。
from modelscope.pipelines import pipeline
vidt_pipeline = pipeline('image-object-detection',
'damo/ViDT-logo-detection')
result = vidt_pipeline('http://maao-pub.oss-cn-zhangjiakou.aliyuncs.com/projects/vidt-vidt-plus/resources/modelscope/images/vidt_test1.jpg')
print(f'Output: {result}.')
如果该模型对您有所帮助,请引用下面的相关的论文:
@inproceedings{song2022vidt,
title={ViDT: An Efficient and Effective Fully Transformer-based Object Detector},
author={Song, Hwanjun and Sun, Deqing and Chun, Sanghyuk and Jampani, Varun and Han, Dongyoon and Heo, Byeongho and Kim, Wonjae and Yang, Ming-Hsuan},
booktitle={International Conference on Learning Representation},
year={2022}
}
@article{song2022vidtplus,
title={An Extendable, Efficient and Effective Transformer-based Object Detector},
author={Song, Hwanjun and Sun, Deqing and Chun, Sanghyuk and Jampani, Varun and Han, Dongyoon and Heo, Byeongho and Kim, Wonjae and Yang, Ming-Hsuan},
journal={arXiv preprint arXiv:2204.07962},
year={2022}
}