Skip to content

About

A golf swing analysis app that extracts kinematic metrics using IMUs and Computer vision coupled with an AI coach to diagnose and explain your swing

Resources

Contributing

Stars

10 stars

Watchers

1 watching

Forks

Repository files navigation

PinPoint Studio

PinPoint Studio is a free, open-source, cross-platform desktop application for golf swing analysis. It brings together high-speed cameras, phones, wearable sensors and launch monitors, measures the swing with on-device computer vision, and explains what it found — without sending your data anywhere unless you choose to.

It is built for golfers, coaches and researchers, and runs on Windows, macOS and Linux.

Status: beta (v0.1). Capture, analysis, review and diagnostics work end to end; the ground-forces and AI-coach sessions are still in development.

beta3-screenshot

Key features

  • Multi-camera capture — USB webcams, GenICam industrial cameras (Aravis) and Teledyne FLIR high-speed cameras (Spinnaker), with a dedicated close-up impact camera.
  • Phone as a camera — an iPhone running PinPoint Capture joins a session over WiFi or a USB cable, on an encrypted link.
  • Markerless swing tracking — whole-body pose estimation (ViTPose), club shaft and clubhead tracking with no tape or markers, and ball detection.
  • Automatic shot detection — shots are detected from IMU impact, impact sound or the launch monitor, and each one is analysed and saved as it happens.
  • Swing metrics — the ten P-positions (address to finish), tempo, club delivery, body rotation, posture, wrist angles and the kinematic sequence, each shown with how much it can be trusted.
  • Diagnostics — swing faults and strengths are named against normative ranges, with the likely causes and drills, for each shot and across a session.
  • Wrist analysis — Witmotion IMUs, or a HackMotion wG3 sensor, for lead-wrist flexion, extension and cocking through the swing.
  • Launch monitors — Foresight GCQuad (via FSX2020), plus any device that has a GSPro Open Connect bridge (Garmin R10, Rapsodo MLM2PRO, SkyTrak+ and others). Readings are paired to the swing that produced them.
  • Review — synchronised replay of every camera with overlays, charts and a phase timeline, plus a swing library that keeps every session on disk.
  • Ground-truth markup — frame-accurate labelling of the P-positions in the app, for validating and tuning the analysis.
  • Voice — local speech-to-text (whisper.cpp) and text-to-speech (Kokoro), with optional cloud fallbacks.
  • Local-first and private — analysis runs on the machine, using GPU acceleration where available (CUDA, Vulkan, CoreML, Metal). There is no telemetry, and cloud services are off unless you configure them.
  • In-app updates — signed installers for Windows and macOS that update themselves in place. A self-updating Linux AppImage is in progress; until then, Linux builds from source.

Getting it

Installers are published on the Releases page. To build from source, see BUILDING.md.

Repository layout

Path What's there
src/ The application, one folder per subsystem (see below)
tests/ The umbrella test build. Each suite lives beside its code in src/<area>/tests/
tools/ Offline and lab tools: SwingLab (replays the analysis pipeline over recorded swings), shaft/ball/impact labs, launch-monitor fakes, packaging scripts
packaging/ Windows installer and appcast scripts, macOS packaging assets
cmake/ Build modules: Qt discovery, the QML module, fonts, OpenSSL, code signing
third_party/ Small vendored sources (the ESKF orientation filter)
docs/ Documentation, organised by audience (see below)
governance/ The project's rules: policies, controls by stage of work, procedures (including the release runbooks and capture protocols), guidance, and who approves what. Read it before changing anything (CONTRIBUTING.md; agents start at AGENTS.md)
.github/ Continuous-integration workflows (release binaries are built locally, not by CI)

Inside src/. The folders follow the architecture's rings (Platform, Vocabulary, Rules, Domain model, Application, Adapters), whose authority is the information model's §4 (governance/artefacts/information_model.md); the platform refactor is still moving files between them.

Folder What's there
Gui/ The Qt Quick / QML interface and its C++ presenters
App/ The application root: AppState, the athlete catch-up, start-up
DomainModel/ The domain's entities and owners: Athlete, Session, Shot, their repositories and the diagnostics they own
Vocabulary/ Shared value types and ids, one area per folder (Analysis/, Club/, Common/, Identity/, LaunchMonitor/, Metrics/, Recording/, Rig/): among them the metric catalogue and the Recording contract every captured swing follows
Video/, Pose/ Camera backends; pose, ball and person-segmentation models
Analysis/, Timeline/ The swing analysis pipeline, and swing positions (P1–P10) over time
Body/, Club/, Ball/, Wrist/, Kinematics/, Skeleton3d/ Measurement rules: posture, the club and shaft, the ball, the wrist, the kinematic sequence, the 3-D skeleton
Diagnostics/ Fault diagnostics, and in derived/ the priorities and outcomes built from them
Coaching/ The Coaching context: reading results against the golfer's intent and goals (no code yet)
Buffer/ The lock-free event buffer that time-aligns every sensor
IMU/, LaunchMonitor/, Ppcp/, Audio/ Motion sensors, launch monitors, phone capture, microphones and shot sound
Stores/ The stores: the swing, session and athlete files, and the video and zip exports
STT/, TTS/, LLM/, Secrets/ Speech, the AI coach, API-key storage
Update/, Core/, Resources/, Shaders/ In-app updates, shared infrastructure, bundled assets, GPU shaders

Documentation

Where For
BUILDING.md Dependencies, building on each platform, packaging, running the tests
docs/user/ Using the app: diagnostics guide, wrist calibration, phone capture, UX design
docs/developer/ Developer guides: analysis pipeline, testing, SwingLab, feature switches, event buffer, diagnostics, metrics
docs/design/ Design records for each subsystem, and the QML design system
docs/reference/ File formats (swing.json, swing folders), sign conventions, device protocols, normative data
docs/validation/, docs/research/ Validation reports, corpus results and research notes (the collection protocols are in governance/procedures/)
docs/conformance/ The phone link's conformance claim and its test bundles
docs/implementation/ Working plans and implementation records (the release runbooks are in governance/procedures/)
governance/ The project's policies, controls, procedures and guidance, and who approves what

Related projects

These sister repositories are used as dependencies:

  • libppcp — the PinPoint Capture Protocol, shared with the phone app
  • PinPoint Capture — the iPhone capture app
  • libwrist — HackMotion wG3 sensor driver
  • libgspro — GSPro Open Connect server

Licence

PinPoint Studio is licensed under the GNU General Public License, version 2 or later. The distributed binaries are conveyed under GPL-3.0 because of the components they link. See LICENSE, and LICENSEDEPS.md for every third-party component and its terms.

About

A golf swing analysis app that extracts kinematic metrics using IMUs and Computer vision coupled with an AI coach to diagnose and explain your swing

Resources

Contributing

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages