best way to estimate ball speed from video

IowaGuy

Hall of Fame
I'm playing around with some improvements to my 1st serve, and trying to quantify any increases in 1st serve speed.

What is the best way to estimate ball speed using video?

The video I have access to is 60 frames per seond. (Nikon CoolPix camera.)

It's 60 feet from baseline to opposite service line on a tennis court. I could calculate the number of seconds my serve is in the air by dividing number of frames that it takes for my serve to get from my strings to touchdown on the service line by 60. Then convert feet per second to MPH.

For those that have estimated speed via video, is this how you have done it? By my calculations this will get me within +/- 3 or 4 MPH, using 60 frame per second video. Thanks for any feedback...
 

Chas Tennis

G.O.A.T.
Use the simplest way to measure velocity - measure the distance traveled in a known time.

View in front of the racket and perpendicular to the ball's trajectory. The time between frames at 60 fps is 0.01667 seconds.

You have to calibrate the distance traveled. Hold up your racket us as near the trajectory after the serve pointing in the direction that the ball traveled. Your racket length, ~28"?, is the calibration length for the serve just recorded.

100 MPH is 1760" per second.

In one 60th of a second a 100 MPH ball travels
100 MPH = 1760"/sec X 1/60 sec = 29.33"

If the ball travels 29.3" it is going 100 MPH.

For wide angle lenses such as smartphones, use the central part of the frame. There are a few other angle considerations to keep the accuracy- view basically square on to the trajectory and calibrate the length over which you measure. I have posted more details.

In general for 60 fps

Serve Speed = D/ 0.01667 sec
where D is distance traveled, gives the speed of the ball in front of the racket. Use the 2nd and 3rd images of the ball but not the first ball location at the racket.

Note- if you type simple equations in the Google search box and hit search the answer appears - it is faster than finding the calculator.
 
Last edited:

IowaGuy

Hall of Fame
Aren't those calculating average velocity not initial velocity?

J

The online calculator that Dragy had suggested does calculate initial velocity, using some fancy equations:

http://donthireddy.us/tennis/speed.html

He compared a Roddick serve speed using radar to a Roddick serve using his fancy equations, and they are pretty close...

For my purposes, it should get me in the ballpark. Ultimately, I'm not hung up on the actual MPH number, rather if I can squeeze out a few more MPH with some minor adjustments of my stance and tossing arm...
 

J011yroger

Talk Tennis Guru
The online calculator that Dragy had suggested does calculate initial velocity, using some fancy equations:

http://donthireddy.us/tennis/speed.html

He compared a Roddick serve speed using radar to a Roddick serve using his fancy equations, and they are pretty close...

For my purposes, it should get me in the ballpark. Ultimately, I'm not hung up on the actual MPH number, rather if I can squeeze out a few more MPH with some minor adjustments of my stance and tossing arm...
Gotcha, it's nice to have feedback.

J
 

jmnk

Hall of Fame
Get yourself a Sony smart sensor, easy and immediate feedback.

Sent from my XT1575 using Tapatalk
 

BallBag

Professional
Get yourself a Sony smart sensor, easy and immediate feedback.

Sent from my XT1575 using Tapatalk

I got the Zepp sensor a couple years ago for Xmas. Its not accurate. Even if the Sony is twice as good I would say its still not worth the money.
 

jmnk

Hall of Fame
I got the Zepp sensor a couple years ago for Xmas. Its not accurate. Even if the Sony is twice as good I would say its still not worth the money.
I would not pay retail price for Sony Sensor either - but surely it will give you a more accurate speed estimate than the video frame counting method.
 

Chas Tennis

G.O.A.T.
Here is a method that uses the ball diameter to calibrate distance and measure the serve speed. It measures the ball movement between two frames of video in the time of one video frame.

Quoted from this thread
https://tt.tennis-warehouse.com/ind...as-to-attract-attention.612864/#post-12135206

"
https://imgur.com/a/CFzZB

Sorry that the photos don’t show up on the forum, but the link should work. The pictures, in order, are:

1. Frame just before impact
2. 3 frames after 1.
3. 4 frames after 1.
4. 5 frames after 1.

Estimating the distance the ball has travelled between frames 4 and 5 is not easy, so if anyone can help me I’d greatly appreciate it.

Serve speed calibration -

1) To check that the scale is not changing between the frames on my computer screen of the frames to be used, I measured the distance between the two fence posts at the top of the white fence. I was getting two frames at 79 mm and one at 81 mm (OP arm in way) as displayed on my screen. The magnification does not appear to have changed between the frames.

2) The video shows that the camera was hand held and the camera pans to the right.

3) Because the camera pans we will measure from background objects, the downspout is good.

4) Motion blur smears the object edges in the direction of motion but not in the direction perpendicular to the motion.

5) The average tennis ball diameter is known, 2.57-2.70 inches or 6.54-6.86 cm and we can use it as a reference for length. Take average ball to be 2.63". In the frame before the ball is hit it measures 3.8 mm +/- 0.3 mm perpendicular to travel direction and more like 5 mm in the direction of travel with the motion blur added.

A mm scale is convenient for screen measurements.

Using the ball diameter to calibrate length on the screen at the location of the ball

2.63" / 3.8 mm = 0.69 "/ mm. (" abbreviation for inches)

In other words, 1 mm on my screen equals 0.69" in real space as recorded. Wide angle lens may vary magnification across the image, calibrate near the measurement. (The ball's image may be used if it is clear and has distinct edges, even a motion blurred image......)

6) Now we want to measure the distance between two frames.
Using your pictures #2 & #3 and using the down spout for "0" mm

Frame #2
The front blur is about 4 mm +/- 1 mm from the downspout (scale aligned with the ball's trajectory, slightly down).

Frame #3
The front blur is about 15 mm +/- 1 mm from the downspout (scale aligned with the ball's trajectory).

There is a problem in that when I look at the grey blur trying to get a measurement my eye play tricks with the grey level and they move. I estimated that uncertainty at +/- 1 mm. That estimate of the front edge could be much improved with better lighting.

The ball moved

15-4 mm = 11 mm between frame #2 and #3.

Using the screen calibration to get real space travel distance in inches
11mm X 0.69" / mm = 7.59" between frames #2 and #3.

7) The time between frame at 240 fps is

1sec / 240 f/ses = 0.0042 sec or 4.2 milliseconds

8) Velocity

7.59" / 0.0042 sec = 1810 " / second

One hundred miles per hour is 1760 " / second - a good conversion factor to remember for MPH.

1810"/sec / 1760"/sec X 100 MPH = 103 MPH

In this set up, since the ball goes away from the camera at a small angle the real distance traveled would always be greater than measured in 6) and the speed would always be higher from this correction. It is easier than correcting to move the camera to view more perpendicular to the ball's trajectory where you want to measure. First estimate is that if the trajectory goes away from the camera at 10 degrees the correction is to add cos 10 d to the measured length, or +2%. That would make the final measurement in this case, 105 MPH.

The edges of motion blur become smaller as the shutter speed becomes shorter in higher light levels. Better videos would increase accuracy.

The ball is a convenient length calibration but the ball's image has to be large enough and in good focus for accuracy. Distortions to the ball were ignored but heavy spin could cause errors. A better length scale or undistorted ball could be held in place before/after the serve and a length calibration recording done then.

[Conversions - if you type "X inches per second convert to MPH" or similar in the Google search box, Google performs and displays the conversion.] "
 
Last edited:
Top