• Twitter
  • Facebook
  • Blog
  • Blogs
  • FAQ

Go Back   Talk Tennis > Tennis Equipment > Other Equipment
Reload this Page Calculate your serve speed
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Page 1 of 6 1 23 > Last »
 
Thread Tools Display Modes
Old 11-12-2012, 04:38 AM   #1
tennisplayer_85
New User
 
Join Date: Apr 2012
Posts: 27
Lightbulb Calculate your serve speed

So I have this idea that I would like to give a shot but I don’t know if it’s worth all the energy. So hopefully you guys can help me figuring out if I should spend the next 150 hours or so on building this.

I got this idea because I guess I am an extremely fanatic tennisplayer (who wishes he could play like the PRO’s ) and keep watching them on TV all the time. What bothered me was that you can almost always see how fast the PRO’s serve, which made me wanna know how fast I could serve (aaarrrhhh).

So I thought first of buying a speedgun, but they are pretty expensive. Than I got interested in the mathematical part of it. So I wondered of a bit and finally figured I could probably built an iphone app (I’ve been programming for over 10 years). So in my enthusiasm i did make a start and actually know now its possible to calculate the speed very accurate with my iphone. But its still a lot of work to make it available for you guys.

Since I work a lot and have much other stuff too I don’t know if I should spend the next 150 ours or so in making this App to find out I am maybe the only one who is so curious.

I made this link for a poll: www.tenniservespeed.com so you can let me know.

So what do you guys think?
__________________
Using wilson blx pro staff six one 90
tennisplayer_85 is offline   Reply With Quote
tennisplayer_85
View Public Profile
Find More Posts by tennisplayer_85
Old 11-12-2012, 04:49 AM   #2
Sabratha
Hall Of Fame
 
Sabratha's Avatar
 
Join Date: Jun 2012
Posts: 2,487
Default

That's a broken link, but I'm interested.
Sabratha is online now   Reply With Quote
Sabratha
View Public Profile
Find More Posts by Sabratha
Old 11-12-2012, 04:51 AM   #3
tennisplayer_85
New User
 
Join Date: Apr 2012
Posts: 27
Default

Oops.. it should be: www.tennisservespeed.com

double s
__________________
Using wilson blx pro staff six one 90
tennisplayer_85 is offline   Reply With Quote
tennisplayer_85
View Public Profile
Find More Posts by tennisplayer_85
Old 11-12-2012, 04:59 AM   #4
The Meat
Professional
 
The Meat's Avatar
 
Join Date: Aug 2012
Posts: 1,296
Default

Attach Iphone on net, capture the serve with the video capture and try to get the frames per second off of it. Create a program that converts that to seconds and then find a way to input a specific distance from one end to the other. Then the simple V=d/t formula. I would like 40% of your profit when your finished.
The Meat is offline   Reply With Quote
The Meat
View Public Profile
Find More Posts by The Meat
Old 11-12-2012, 05:42 AM   #5
mmk
Semi-Pro
 
Join Date: Sep 2011
Posts: 495
Default

As I understand it, the speed guns measure the speed shortly after the ball leaves the racquet. Using time and distance will result in a slower speed than the gun would give, as the ball loses a fair amount of speed due to friction moving through the air. The data would still be useful as a relative measure, but would not be comparable to radar data. If you were to use time and distance, would it be to where it bounces, or to the receiver's racquet? If the latter, then court material will also be a factor. Then you also need to take into account spin, as a heavily sliced serve will travel a greater distance than a flat serve (assuming the same release and bounce points).
mmk is online now   Reply With Quote
mmk
View Public Profile
Find More Posts by mmk
Old 11-12-2012, 06:02 AM   #6
Satch
Hall Of Fame
 
Satch's Avatar
 
Join Date: Nov 2007
Posts: 1,862
Default

Quote:
Originally Posted by The Meat View Post
Attach Iphone on net, capture the serve with the video capture and try to get the frames per second off of it. Create a program that converts that to seconds and then find a way to input a specific distance from one end to the other. Then the simple V=d/t formula. I would like 40% of your profit when your finished.
i believe that his profit would be 0 if he listened to you

i am afraid that to make accurate measure of ball speed, using simple camera from you iphone, is not gonna get you the results. You could get some results but it will be way off.

However i believe that using some kind of sensor inserted in the ball, and gps, you can get much better results. But its also a harder to do it right.

To the OP, i know that idea is good, but how would you create the app? I need details. How the app will know where is the ball in that video. How the app will know when the ball is going off the racquet, and when it crosses the net (to calculate)?

As a programmer myself, i would like to know your idea, or it didnt happened.
__________________
You can't be serious man... YOU CAN NOT BE SERIOUS!
*No1E*
Satch is offline   Reply With Quote
Satch
View Public Profile
Find More Posts by Satch
Old 11-12-2012, 06:47 AM   #7
Fearsome Forehand
Professional
 
Fearsome Forehand's Avatar
 
Join Date: Aug 2007
Location: USA
Posts: 1,022
Default

Make an app that tells the user " Your serve speed is 150 mph" no matter what the real speed is. You will sell millions.
Fearsome Forehand is offline   Reply With Quote
Fearsome Forehand
View Public Profile
Find More Posts by Fearsome Forehand
Old 02-04-2013, 05:13 AM   #8
omega4
Rookie
 
Join Date: Jan 2013
Location: Atlanta GA
Posts: 264
Default

Quote:
Originally Posted by Satch View Post
i believe that his profit would be 0 if he listened to you

i am afraid that to make accurate measure of ball speed, using simple camera from you iphone, is not gonna get you the results. You could get some results but it will be way off.

However i believe that using some kind of sensor inserted in the ball, and gps, you can get much better results. But its also a harder to do it right.

To the OP, i know that idea is good, but how would you create the app? I need details. How the app will know where is the ball in that video. How the app will know when the ball is going off the racquet, and when it crosses the net (to calculate)?

As a programmer myself, i would like to know your idea, or it didnt happened.
I have a nice chronometer watch that times at .20 seconds.

I just need to find a way to serve a tennis ball that travels for 1 mile. Once I do, I'll be all set in calculating my service speed.
omega4 is offline   Reply With Quote
omega4
View Public Profile
Find More Posts by omega4
Old 11-12-2012, 04:01 PM   #9
bugeyed
Semi-Pro
 
Join Date: Sep 2010
Location: Tx
Posts: 537
Default

Quote:
Originally Posted by The Meat View Post
Attach Iphone on net, capture the serve with the video capture and try to get the frames per second off of it. Create a program that converts that to seconds and then find a way to input a specific distance from one end to the other. Then the simple V=d/t formula. I would like 40% of your profit when your finished.
Sten Kaiser,AKA stoneage, developer of RacquetTune, has an iOS app, SpeedClock, that measures object speed using the iPhone/iPod camera. He includes instructions for measuring serve speed. Here's a link http://appmaker.se/?m=5&s=1

Cheers,
kev
__________________
I just think that things should work the way I expect them to.
Pure Storm GT primarily

Last edited by bugeyed : 11-12-2012 at 04:05 PM.
bugeyed is offline   Reply With Quote
bugeyed
View Public Profile
Find More Posts by bugeyed
Old 11-12-2012, 06:32 PM   #10
sundaypunch
Professional
 
Join Date: May 2011
Posts: 883
Default

Quote:
Originally Posted by bugeyed View Post
Sten Kaiser,AKA stoneage, developer of RacquetTune, has an iOS app, SpeedClock, that measures object speed using the iPhone/iPod camera. He includes instructions for measuring serve speed. Here's a link http://appmaker.se/?m=5&s=1

Cheers,
kev
Are you going to tell the OP that Santa isn't real next?
sundaypunch is offline   Reply With Quote
sundaypunch
View Public Profile
Find More Posts by sundaypunch
Old 11-26-2012, 09:36 PM   #11
SystemicAnomaly
Legend
 
SystemicAnomaly's Avatar
 
Join Date: Feb 2006
Location: Stuck in the Matrix somewhere in Santa Clara CA
Posts: 7,740
Default

Quote:
Originally Posted by sundaypunch View Post
Are you going to tell the OP that Santa isn't real next?
WTF, no Santa? Heresy! Next you'll be promoting the idea of a heliocentric solar system. I'd be willing to bet that you are also a card-carrying member of the Round Earth Society (or do you guys prefer to be known as the Oblate Spheroid Terra Society?).
.

Last edited by SystemicAnomaly : 11-26-2012 at 09:49 PM.
SystemicAnomaly is offline   Reply With Quote
SystemicAnomaly
View Public Profile
Find More Posts by SystemicAnomaly
Old 11-13-2012, 01:25 AM   #12
stoneage
Rookie
 
stoneage's Avatar
 
Join Date: Apr 2010
Location: Stockholm, Sweden
Posts: 213
Default

Quote:
Originally Posted by bugeyed View Post
Sten Kaiser,AKA stoneage, developer of RacquetTune, has an iOS app, SpeedClock, that measures object speed using the iPhone/iPod camera. He includes instructions for measuring serve speed. Here's a link http://appmaker.se/?m=5&s=1
Measuring the speed of tennis balls with a smartphone is an interesting problem that I have been spending some time on (as note above). Since there is some interest here I though I would explain how I did it. As shown at the end of the speedClock video measuring a tennis serve involves recording a video of the event. This means that you don't have be so careful when to start and stop and you can measure yourself. Then you scroll the video to point where the ball is roughly mid screen. The app then starts analyzing the frames around this point in the video. After some image processing the ball is isolated and presented as colored blobs. By aligning them to one point you get information about how much the ball has moved between each frame. In the video this is done manually, but in recent version of speedClock this is done automatically. This gives you the speed in pixels/frame, fun but not so useful. The picture below shows a screen dump of an actual serve with the mid frame and the ball from 2 frames on each side before speedClock aligns them.



Since the iPhone camera is a passive device there is no way for it to know if it is a small, slow, close object or a big, fast distant object. So you have to tell the app either how far away or how big it is. Since a tennis ball is fairly small and the image usually is a little blurred giving the distance is more accurate. On a tennis court this is seldom a problem since you have known distances marked up i.e. from the sideline to the mid point. With that information the app can convert pixels to meters.

Finally you need the time. As Chas Tennis noted, a smart phone can drop frames in low light. However, you can still get the information of the exact time each frame was captured, so a lower frame rate is not a problem. Still you get the best results when the light conditions are good since the motion blur is less.


There are of course other ways to measure the speed, but all has their own challenges.

tennisplayer_85's app will of course be a competitor, but since speedClock has a much broader aim than tennis serves I don't see it as problem. And the app store could benefit from more serious apps this area (as you noted). With the cost of iPhone apps I also think most people can afford both

Since I am developing as much for fun as for profit I am also interested in seeing how you solved the problem. So I am looking forward to buying your app.

/Sten

__________________________________________________ _________
racquetTune, stringBed and swingTool racquet apps for the iPhone/iPad.
stoneage is offline   Reply With Quote
stoneage
View Public Profile
Find More Posts by stoneage
Old 11-13-2012, 03:15 AM   #13
ramos77
Semi-Pro
 
ramos77's Avatar
 
Join Date: Mar 2012
Posts: 595
Default

even real police radar guns have to be calibrated often so they are accurate.

no way you could make make app to accurately measure serve speed.
ramos77 is offline   Reply With Quote
ramos77
View Public Profile
Find More Posts by ramos77
Old 11-13-2012, 05:45 AM   #14
bugeyed
Semi-Pro
 
Join Date: Sep 2010
Location: Tx
Posts: 537
Default

Quote:
Originally Posted by ramos77 View Post
even real police radar guns have to be calibrated often so they are accurate.

no way you could make make app to accurately measure serve speed.
OK! Well there you have it. No sense in pursuing this. Sorry guys, but don't waste your time.

Cheers,
kev
__________________
I just think that things should work the way I expect them to.
Pure Storm GT primarily
bugeyed is offline   Reply With Quote
bugeyed
View Public Profile
Find More Posts by bugeyed
Old 11-13-2012, 05:52 AM   #15
Chas Tennis
Professional
 
Join Date: Feb 2011
Location: Baltimore, MD
Posts: 1,317
Default

Some subjects to cover for a Smartphone/video velocity measuring capability-

1) Jello Effect Distortions
My understanding subject to correction - CMOS imagers read out lines sequentially, for example, first at the top to last at the bottom of the frame. A single video line is read out simultaneously but there is a very slight readout delay until the next line is readout. This delay can add up to cause errors when the ball does not travel parallel to a line of video. Balls traveling parallel to lines have minimum time error and those traveling across video lines have the greatest error.

The HTC One X Smartphone does high speed video at 120 fps. Here is an example of Jello effect distortion-
http://www.youtube.com/watch?v=OPMOX...yer_detailpage

2) Alignment Error. Objects or balls that travel away or toward the camera (instead of just across the frame, etc.) will introduce errors. An error analysis should show how sensitive the velocity measurement would be to ball travel direction alignment error. The analysis might indicate that alignment error would still yields a small velocity error, 5-10%?, for reasonable 'eyeball" alignments. Also, I believe the error of poor alignment might always yield a slower velocity that the real serve velocity(a good thing for poor alignment & bragging rights).

3) For the tennis serve placing the camera on the singles or doubles sideline and into the court, say, 8-10 feet might give a pretty good alignment viewing perpendicular to most serve trajectories.

Last edited by Chas Tennis : 11-13-2012 at 06:00 AM.
Chas Tennis is offline   Reply With Quote
Chas Tennis
View Public Profile
Find More Posts by Chas Tennis
Old 11-12-2012, 06:45 AM   #16
rufus_smith
Semi-Pro
 
Join Date: Apr 2011
Posts: 571
Default

Please make an android version.I would pay you real cash for that.
rufus_smith is offline   Reply With Quote
rufus_smith
View Public Profile
Find More Posts by rufus_smith
Old 11-12-2012, 08:17 AM   #17
tennisplayer_85
New User
 
Join Date: Apr 2012
Posts: 27
Default

Thank you all for the positive reply's and votes already within this short period of time ! After working so many hours on something that is only costing time you get demotivated. So i was really doubting if it was still worth it. But this really gives me a boost!

As requested I'll explain some more details of the app:
It calculates from when the racket touches the ball until the ball lands on the ground.
I have already a working app that does the whole calculation but it's definitely not a friendly app yet. So it still needs a lot of work. I am not gonna give away my secret why my calculations are accurate. But what i meant wondering of in the mathematics was more than the formula V=d/t. In fact i created a Macbook application first to calculate the whole thing. Especially the position in the field for calculating the distance seemed to be a big problem in the beginning. So i used A=USVt (singular value decomposition) to get an H-matrix to transfer coordinates from one perspective to another. As i said before i was pretty enthusiastic and i came to find all the important factors for getting the speed as accurate as possible. In the end it turned out to be relatively more simple but if you don’t walk the walk you cannot know.

Than I figured an iphone app would be better because when you go and play tennis you mostly carry your phone with ya, and it would be much more practical.
So I transfered my code into an ios app (luckily without to many complications because it’s both objective c). Unfortunately its only ios for now, sorry for the android people. But if there’s gonna be sufficient downloads I will definitely consider looking into it.

The more votes the more enthusiastic I get means the quicker I finish the app.
Thank you all so far!
__________________
Using wilson blx pro staff six one 90
tennisplayer_85 is offline   Reply With Quote
tennisplayer_85
View Public Profile
Find More Posts by tennisplayer_85
Old 11-12-2012, 09:39 AM   #18
Satch
Hall Of Fame
 
Satch's Avatar
 
Join Date: Nov 2007
Posts: 1,862
Default

Quote:
Originally Posted by tennisplayer_85 View Post
I have already a working app that does the whole calculation but it's definitely not a friendly app yet. So it still needs a lot of work. I am not gonna give away my secret why my calculations are accurate. But what i meant wondering of in the mathematics was more than the formula V=d/t. In fact i created a Macbook application first to calculate the whole thing. Especially the position in the field for calculating the distance seemed to be a big problem in the beginning. So i used A=USVt (singular value decomposition) to get an H-matrix to transfer coordinates from one perspective to another. As i said before i was pretty enthusiastic and i came to find all the important factors for getting the speed as accurate as possible. In the end it turned out to be relatively more simple but if you don’t walk the walk you cannot know.

Than I figured an iphone app would be better because when you go and play tennis you mostly carry your phone with ya, and it would be much more practical.
So I transfered my code into an ios app (luckily without to many complications because it’s both objective c). Unfortunately its only ios for now, sorry for the android people. But if there’s gonna be sufficient downloads I will definitely consider looking into it.

The more votes the more enthusiastic I get means the quicker I finish the app.
Thank you all so far!
ok you are keeping a secret.. but you still didnt told me how the app will know where is the ball on the screen and when it is hitted by the racquet. I am not asking for a code or something, just the idea.

But ok, we will see your result when finished.
__________________
You can't be serious man... YOU CAN NOT BE SERIOUS!
*No1E*
Satch is offline   Reply With Quote
Satch
View Public Profile
Find More Posts by Satch
Old 11-12-2012, 11:35 AM   #19
Chas Tennis
Professional
 
Join Date: Feb 2011
Location: Baltimore, MD
Posts: 1,317
Default considerations for Smartphone velocity measurement

I thought of using my Samsung Galaxy S2 Smartphone. I was surprised to learn that the frame rate on that particular phone may vary under some circumstances. Maybe it only slows down (<30fps) in low lighting levels. ? I would check that point for any phone video camera before assuming that it is an accurate 30 or 60 fps.

Scale for calibrating distance-
https://vimeo.com/49909907

Another consideration - most smartphones have very wide angle lenses. The magnification changes across the image.

There are some golf smartphone applications that you might want to check.

Good luck, it looks like a great, fun project!
Chas Tennis is offline   Reply With Quote
Chas Tennis
View Public Profile
Find More Posts by Chas Tennis
Old 11-12-2012, 09:08 AM   #20
Doubles
Hall Of Fame
 
Doubles's Avatar
 
Join Date: May 2010
Location: Approaching the net
Posts: 3,276
Default

Make it, and make it free, please
__________________
All aboard the Gulbis bandwagon!
Doubles is offline   Reply With Quote
Doubles
View Public Profile
Find More Posts by Doubles
Reply
Page 1 of 6 1 23 > Last »

« Previous Thread | Next Thread »


Go Back   Talk Tennis > Tennis Equipment > Other Equipment
Reload this Page Calculate your serve speed

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Switch to Linear Mode
Hybrid Mode Hybrid Mode
Threaded Mode Switch to Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:08 PM.

Talk Tennis :: Powered By Tennis Warehouse - Archive - Top

Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
© 2006 - Tennis Warehouse