• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (07): 1253-1262.

• Graphics and Images • Previous Articles     Next Articles

A multi-stage adaptive hat detection algorithm in complex scenes

LUO Xiao-xia,DENG Yong,YE Ou   

  1. (College of Computer Science and Technology,Xi’an University of Science and Technology,Xi’an 710054,China) 
  • Received:2022-05-16 Revised:2022-07-19 Accepted:2023-07-25 Online:2023-07-25 Published:2023-07-11

Abstract: Existing object detection algorithms have problems with false positives and false negatives when detecting small hats in complex scenes. In this paper, a multi-stage adaptive hat detection algorithm (MAHD) is proposed. Firstly, a region proposal network (MA RPN) based on adaptive convolution is constructed, and the features of anchors are refined through multiple stages to improve the algorithms ability to recognize targets in complex backgrounds. Then, an adaptive sampling strategy is used to dynamically allocate positive and negative samples, and the focus loss function is combined to guide the training of MA RPN and improve the detection accuracy of small targets. Finally, experiments are conducted on a self-built HAT4.5k dataset. The results show that compared with the Grid R-CNN algorithm, the proposed algorithm improves AP by 2.6% and APS by 5.1%. The detection performance of small targets is further verified on the open-source VisDrone-DET 2019 dataset, demonstrating the feasibility and effectiveness of the proposed algorithm.

Key words: hat detection, adaptive sampling, adaptive convolution, Grid R-CNN, Focal Loss