I want to create an application which can count how many football juggles (feet, knee, head etc.) has been performed through the webcam live feed. I have implemented pose estimation and object tracking but it is too slow to accurately track the movements and contact of the ball and feet. I also tried having a buffer which records the trajectory of the ball to detect a bounce but it is not very elegant either.
I need help to prepare a better strategy for this task and if possible faster tracking and pose estimation. Even minute improvements in accuracy would be very encouraging for me.
Here’s a version which uses color tracking (no counting) -