Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (S1): 229-234.DOI: 10.11772/j.issn.1001-9081.2022081181

• Multimedia computing and computer simulation • Previous Articles    

Lightweight object detection algorithm for table tennis based on YOLOv5s

Ying ZHAO1, Qi WANG1, Jie SHA2, Qianling GUO3()   

  1. 1.College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China
    2.Laboratory and Asset Management Division,Capital University of Physical Education and Sports,Beijing 100084,China
    3.Library,Beijing University of Chemical Technology,Beijing 100029,China
  • Received:2022-08-10 Revised:2022-09-26 Accepted:2022-10-08 Online:2023-07-04 Published:2023-06-30
  • Contact: Qianling GUO

基于YOLOv5s的轻量化乒乓球目标检测算法

赵英1, 王琦1, 沙捷2, 郭倩玲3()   

  1. 1.北京化工大学 信息科学与技术学院,北京 100029
    2.首都体育学院 实验室与资产管理处,北京 100084
    3.北京化工大学 图书馆,北京 100029
  • 通讯作者: 郭倩玲
  • 作者简介:赵英(1966—),男,天津人,教授,博士,主要研究方向:大数据、视觉处理、信息安全、知识产权信息服务
    王琦(1998—),男,山东德州人,硕士研究生,主要研究方向:图像处理、机器视觉
    沙捷(1969—),男,河北石家庄人,副教授,硕士,主要研究方向:人工智能、目标检测、虚拟现实
    郭倩玲(1971—),女,河北唐山人,副研究馆员,博士,主要研究方向:知识产权信息服务、图像处理。guoql@mail.buct.edu.cn
  • 基金资助:
    国家重点研发计划项目(2018YFB1403903)

Abstract:

Aiming at the problem that the table tennis object detection method was susceptible to interference from various factors such as environment, light, and speed, resulting in poor accuracy and real-time, a lightweight table tennis object detection algorithm Shuffle-YOLOv5s (SYOLO5) was proposed based on the YOLOv5s framework. Firstly, YOLOv5s backbone network was reconstructed by improved ShuffleNetV2 network unit combination to speed up feature extraction. Secondly, the Efficient Channel Attention (ECA) in the process of feature fusion was introduced to improve the detection performance. Thirdly, the convergence speed and positioning accuracy of the network were improved by using SIoU (S-Intersection over Union) Loss as the positioning loss function. Finally, dual-scale object detection method was adopted to further improve the reasoning speed of the model based on the small size characteristic of table tennis. Experimental results show that compared with YOLO5s, SYOLO5 reduces the parameter amount and calculation amount by 80% and 60% respectively, and increases precision by 1.9 percentage points.

Key words: table tennis detection, YOLOv5s, ShuffleNetV2, Efficient Channel Attention (ECA), SIoU (S-Intersection over Union) Loss

摘要:

针对乒乓球目标检测方法易受环境、光线、速度等多种因素干扰导致精度和实时性不佳的问题,提出了一种基于YOLOv5s框架的轻量化乒乓球目标检测算法——SYOLO5(Shuffle-YOLOv5s)。首先,采用改进的ShuffleNetV2网络单元组合重构YOLOv5s主干网络,提高特征提取速度;其次,在特征融合的过程中引入高效通道注意力(ECA)机制,有效提升模型的检测性能;接着,采用SIoU Loss(S-Intersection over Union)作为定位损失函数提升网络的收敛速度和定位精度;最后,贴合乒乓球小尺寸的特点,采用双尺度目标检测,进一步提高模型推理速度。实验结果表明,所提算法与YOLOv5s相比,参数量和计算量分别减少了80%和60%,精确率提升了1.9个百分点

关键词: 乒乓球检测, YOLOv5s, ShuffleNetV2, 高效通道注意力, SIoU Loss

CLC Number: