Tennis Video Private Coach

Your practice video, reviewed like a coach watched it

把练球视频,变成一份教练式复盘

An open-source AI skill for amateur tennis players. Upload a phone video of your session and get annotated slow-motion clips of your best and worst shots, the one thing that keeps breaking down, and a plan for your next practice.

12annotated clips per session: best and worst 3 of each stroke
1/4×slow motion with your swing path drawn on you
7technique metrics measured on every swing
EN·中文two language versions of the same skill
The clips

Every point in the review comes with a clip you can see

TAKE-BACK ABOVE THE HEAD 引拍举过了头顶 Fix: stop at shoulder height, racket pointing back 改法:引拍停在肩高,拍头指向身后
your swing path your best swing of the day

Diagram. Real clips are drawn on your own footage.

  1. 01
    Real speed, onceSo you recognise the shot.
  2. 02
    Quarter speed with the path drawnCaptions name each phase as it happens.
  3. 03
    Freeze at the top of the take-backGreen circle if it's right, red if it isn't.
  4. 04
    Freeze at contactWhere you hit the ball, and how bent your front knee is.
  5. 05
    Your best swing over your worstScaled to your body, with one sentence on the fix.
The report

Conclusion first, evidence second, next session last

A straight answer

Tell it what bothers you, like "my forehands fly long", and the report opens with the cause.

Best vs worst, side by side

Three clips per category and a table of take-back, racket drop, contact, finish, feet and knee angle.

Net and out, when it can see

Counted by sampling on wall and clean indoor footage. When the ball can't be tracked, it says so instead of guessing.

Knees and footwork, every time

Hopping, one-leg landings and pivoting on a straight leg, ranked by priority with a fix for each.

Progress over time

Bring last time's report and get a before/after of your best and worst shots.

A plan for your setting

Wall, ball machine, coach or partner: drills with reps, a countable target, and when to move on.

How it works

From phone footage to a coaching review

Your AI agent runs the analysis in Python with an open pose model, then checks the key frames by eye before anything goes into the report.

STEP 1Pose

YOLO pose on every few frames; you are tracked by your clothing if others are in shot.

STEP 2Swings

Peaks in wrist speed, at least 1.6 s apart; hand position before the swing tells forehand from backhand.

STEP 3Contact

The sound of the strings, filtered to skip the bounce off the wall.

STEP 4Metrics

Take-back height, knee bend, stance width, contact height, one-leg landings.

STEP 5Clips

Best and worst shots picked, checked frame by frame, and annotated.

STEP 6Plan

Faults mapped to drills for your setting, with targets for next time.

Built-in knowledge

The faults it looks for first

You noticeUsual causeFix
Balls fly long or into the skySwing path too vertical; lifting from the knees on high bouncesFinish over the shoulder, not straight up; step back on high balls
Forehand into the netTake-back above the head, racket can't drop in timeStop the take-back at shoulder height
Contact too far back, then crowdedLate preparation: reaching for wide balls, flicking fast onesSplit-step; be turned with the racket back by the bounce
Two-hander into the netRacket held upright at the chestRest it flat at the hip while waiting
Hopping, landing on one legNarrow stance; swinging before the feet stopBrake on the last step, swing with both feet down
Late one-handed backhandSetting up as a two-hander, then switchingDecide early; train one-handers in their own block
Quick start

Copy one line. Send it to your AI.

Start in Codex, ChatGPT, Claude, DeepSeek, Gemini, Kimi, Workbuddy, or Trae. Let the agent configure the skill for its environment.

1. Send this to your AI

Paste into the chat box of your AI tool or agent.

Install and set up this tennis video review skill, and check its requirements: https://github.com/zakezhang/tennis-video-private-coach/tree/main/skills/tennis-video-private-coach

2. Upload a video. Tell it about you.

Upload your practice video, or give a local agent the file path. Then send:

Review this video using the tennis video coach skill. I'm the one in the white shirt, right-handed, two-handed backhand. My forehands go into the net when the ball comes fast. Tell me what to practice this week.

The full review needs video file access, Python 3, ffmpeg, and permission to install packages and download model weights. A text-only chat cannot generate annotated clips. If skill installation is unavailable, ask the AI to read SKILL.md and follow it in this chat; this does not install a persistent skill.

Cannot open GitHub? Download the repository ZIP and upload the English skills/tennis-video-private-coach/SKILL.md. More setup options →

Filming

Better footage, sharper review

  • Side-on is the most useful angle: outside the net on your hitting side, 3–4 m away, at waist height.
  • Behind you, 1.2–1.5 m high and centered, is best for counting net and out.
  • 4K 60 fps or 1080p 120 fps, focus and exposure locked, a few continuous minutes rather than many short clips.
  • Outdoors, frame more of the far court and less sky and trees.

Limits. Pose comes from one phone camera, so angles are estimates. Compare with your own past sessions, not with other players. This is not medical advice; if something keeps hurting, see a sports-medicine doctor.