Advances in Meteorology (Jan 2022)

Automatic Capture Processing Method of Basketball Shooting Trajectory Based on Background Elimination Technology

  • Hongyan Fan,
  • Youhong Hu,
  • Jianfeng Zhang

DOI
https://doi.org/10.1155/2022/7884528
Journal volume & issue
Vol. 2022

Abstract

Read online

The analysis and prediction of the shooting trajectory can be used to partially correct the shooting. The traditional automatic basketball shooting trajectory capture algorithm has a low capture accuracy and a long capture time, and thus is incapable of displaying the shooting trajectory in real time. To address this issue, this study proposes an automatic basketball shooting trajectory capture algorithm based on background elimination. The image of the basketball shooting trajectory is captured using imaging technology; the image is then preprocessed in four steps: binary erosion, binary expansion, closing operation, and opening operation to create a smooth image. After removing the background from the preprocessed image using the background difference method, the edge contour features are extracted, the candidate target area is set based on the extraction result, and a diagonal matrix reflecting the length and width of the trajectory target is introduced to calculate the probability of the color of the area in the shooting trajectory, thereby characterizing the trajectory. The target’s size changes in two directions to capture the basketball shooting trajectory automatically. The algorithm’s simulation results indicate that it has a higher accuracy and a shorter capture time.