[Paper Review] Efficient Golf Ball Detection and Tracking Based on Convolutional Neural Networks and Kalman Filter
This paper proposes a real-time golf ball detection and tracking system using YOLOv3, YOLOv4, Faster R-CNN, SSD, and RefineDet for object detection on cropped image patches, combined with a Kalman filter for motion prediction. The method achieves high accuracy and speed, with Faster R-CNN yielding the best tracking performance (mAP 46.78% at IOU 0.25) and YOLOv3 tiny offering the fastest inference rate.
This paper focuses on the problem of online golf ball detection and tracking from image sequences. An efficient real-time approach is proposed by exploiting convolutional neural networks (CNN) based object detection and a Kalman filter based prediction. Five classical deep learning-based object detection networks are implemented and evaluated for ball detection, including YOLO v3 and its tiny version, YOLO v4, Faster R-CNN, SSD, and RefineDet. The detection is performed on small image patches instead of the entire image to increase the performance of small ball detection. At the tracking stage, a discrete Kalman filter is employed to predict the location of the ball and a small image patch is cropped based on the prediction. Then, the object detector is utilized to refine the location of the ball and update the parameters of Kalman filter. In order to train the detection models and test the tracking algorithm, a collection of golf ball dataset is created and annotated. Extensive comparative experiments are performed to demonstrate the effectiveness and superior tracking performance of the proposed scheme.
Motivation & Objective
- Address the challenge of real-time detection and tracking of small, fast-moving golf balls in video sequences.
- Overcome limitations of traditional computer vision and object tracking methods that fail due to the ball's small size and motion blur.
- Improve detection accuracy for tiny objects by using small image patches instead of full-resolution frames.
- Develop a custom golf ball dataset with precise annotations to train and evaluate the detection models.
- Integrate a Kalman filter to predict ball motion and reduce detection latency and error in dynamic conditions.
Proposed method
- Apply multiple state-of-the-art CNN-based object detectors (YOLOv3, YOLOv4, Faster R-CNN, SSD, RefineDet) to small cropped image patches to enhance detection of tiny golf balls.
- Use a discrete Kalman filter to predict the golf ball’s next position based on previous states, enabling efficient region-of-interest cropping.
- Crop a small image patch around the Kalman filter’s predicted location to reduce computational load and improve detection accuracy.
- Refine the detected ball position using the object detector and update the Kalman filter parameters iteratively for robust tracking.
- Customize anchor scales in Faster R-CNN (8, 16, 32) to better fit the small size of the golf ball in the dataset.
- Train and evaluate models on a newly created, annotated golf ball dataset containing swing and putting sequences.
Experimental results
Research questions
- RQ1Can CNN-based object detectors achieve high accuracy and real-time performance when detecting small, fast-moving golf balls in video sequences?
- RQ2Does using image patches centered on Kalman filter predictions improve detection accuracy compared to full-frame detection?
- RQ3How do different state-of-the-art object detectors (e.g., YOLOv3, Faster R-CNN, SSD) compare in terms of speed, precision, and success rate for golf ball tracking?
- RQ4To what extent do labeling errors affect mAP evaluation for small objects like golf balls, and how does IOU threshold selection impact performance?
- RQ5Can a Kalman filter-based tracking framework significantly improve robustness and efficiency in tracking tiny, high-velocity objects?
Key findings
- Faster R-CNN achieved the highest mean average precision (mAP) of 46.78% at IOU 0.25, outperforming other models in tracking accuracy.
- YOLOv3 tiny delivered the fastest inference rate while maintaining competitive accuracy, making it ideal for real-time applications.
- Detection performance improved significantly when using small image patches instead of full-resolution images, due to the ball appearing larger in the cropped region.
- The proposed method achieved stable and accurate tracking even when the golf ball became as small as 6×6 pixels, where traditional methods often fail.
- Labeling errors had a substantial impact on IOU evaluation—especially when the ball was small (e.g., 1-pixel error caused up to 33% IOU drop at 6×6 size), justifying the use of IOU 0.25 for mAP evaluation.
- The custom golf ball dataset, containing 10 sequences (6 swings, 4 putts), enabled effective training and evaluation, with consistent performance across diverse motion patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.