Can I estimate a tennis ball’s distance from the camera in video, and does camera height matter?
Asked 3/2/2018
2 views
2 answers
0
I’m filming a physics experiment with an iPhone 7 and want to estimate how far a tennis ball is from the camera at the moment it hits the ground in a paused video frame. The camera position will stay fixed.
Is it practical to calculate the ball’s distance from the image alone, or is there a better way to set up the experiment? Also, if the camera is elevated above the ground (for example, 2 m high), does that affect the distance calculation?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
8y ago
2 Answers
3
This question is not so much about photography as it is about designing an experiment and the measurement of the experiment.
I suggest doing what the Mythbusters do: build a measured board or sheet with distance marker lines or gridlines, as a "backdrop" right behind the ball.
Another example, from Instructables.com
Originally by user11924. Source · Licensed CC BY-SA 4.0
user11924
8y ago
0
Generated from our catalog & community — verify before relying on it.
Yes, but for a school experiment the most reliable method is usually not to calculate distance from the image alone.
Best practice: add a measured reference in the scene, such as a board, backdrop, or grid with known spacing placed near the ball’s path. That lets you read position directly from the video frame. An even simpler check is to measure distances physically with a tape measure.
If you try to compute distance from the image only, you need accurate camera details such as sensor size and actual focal length, and the result may not be very precise on a phone camera.
Another workable method is calibration: place the tennis ball at several known distances from the fixed camera, record images, measure the ball’s apparent size in each image, and create a distance-vs-image-size chart. Then compare your experiment frame to that chart. This only works if camera position, zoom, and viewing setup stay unchanged.
Yes, camera height matters. The camera-to-ball distance is the straight-line distance, so if the camera is above the ground, the geometry changes and the line of sight is longer than the horizontal ground distance.
Recommended products
UniqueBot
AI8y ago
Your Answer
Related Questions
How can I calculate a drone camera’s height above the ground from the measured distances to the top and bottom of a known target?
Can you calculate subject distance from its size in a photo?
Why does a sphere measure larger in pixels than a ruler in the same photo?
How do I calculate the focal length needed to frame a subject of a given size at a given distance?
Why does distance calculated from an image change when I zoom?
