Skip to content
Premier 99
← All work
DiamondForge app icon

DiamondForge

Live

AI-powered baseball training that measures a player's swing, pitch, throw, catching, and fielding on an iPhone and turns the numbers into coaching.

AIMobileiOS
DiamondForge home screen welcoming Cole with a day-streak card, today's focus on bat speed at 2 of 5 drills, and a Start Workout button.

Problem

Phone-based swing analysis was eyeballed from sampled frames and only covered hitters. Players at every position needed real measured metrics and coaching that knew their position.

Solution

240fps slow-motion capture, a true 3D body-pose layer that runs entirely on-device, custom-trained AI models for bat, ball, and glove tracking, and a position-aware coaching layer that turns numbers into age-appropriate drills and a weekly plan.

Record screen titled Pick a mode listing Swing Analysis, Pitch Analysis, Throw, Catcher, and Fielding, with 3 of 3 free analyses left.
Drill library of 66 drills with category chips and video drill cards such as 4-6-3 Double Play Footwork and Agility Ladder.
Drill detail for Agility Ladder (Baseball Patterns) with an embedded video, duration, sets, equipment, numbered steps, and Add to Today's Plan.
Progress screen titled Your Forge with session, drill, streak, and best stats, a mechanics score chart, and hip-shoulder separation tracking.
Onboarding step 1 of 3 asking for name, age, position, handedness, and bat length, with Pitcher and Right selected.
Onboarding step 3 of 3 asking what you train with, with Batting Tee and Pitching Net checked and Improving as the skill level.
DiamondForge Premium paywall listing 50 AI video analyses a month, daily training plans, the full drill library, and monthly or yearly pricing.
Welcome slide with the DiamondForge logo and the headline Train Like a Pro, AI coaching from your pocket.
Welcome slide reading Record. Analyze. Improve. with the subhead Frame-by-frame mechanics breakdown.
Welcome slide reading Your Daily Diamond, a weekly plan that adapts to you, with a Get Started Free button.

Key features

  • Five session types: swing, pitch, throw, catcher, fielding
  • On-device 3D body pose (15 joints), plus bat, glove, and ball detection
  • Pose and bat overlay drawn on the video, time-synced to playback
  • Swing phase tagging (swing start, foot down, contact) unlocking phase metrics
  • Measured metrics: bat speed, exit velocity, mechanics angles, object metrics
  • AI session report with score ring, strengths and improvements that seek to the exact frame
  • 3D avatar replay of the player's pose on a rigged model
  • AI weekly training plans, workout timer with voice cues, drill library with video
  • Progress trends, streaks, personal bests, paywall, onboarding

Engineering highlights

The parts that separate a product from a template.

Self-trained bat-detection model

A custom bat-detection model, 5.6 MB and running on-device, built through an active-learning loop on user-labeled frames.

Multi-provider AI routing

Analysis requests route across multiple AI providers behind a runtime switch, with structured-JSON validation, at roughly $0.0006 per analysis.

Foreshortening-free 3D biomechanics

Metrics are computed from true 3D joints and anchored to swing phases, so the numbers hold up when the camera angle changes.

Training pipeline kept in-repo

The full model-training pipeline lives alongside the app, so retraining on new labeled frames is a script, not a project.

Tech stack

Mobile

Expo SDK 55React Native 0.83React 19TypeScriptExpo RouterTanStack QueryZustandUnistylesReanimated 4Vision Camerathree.jsCustom Swift module

Backend

Supabase Postgres (RLS)Supabase AuthSupabase StorageEdge Functions

Infrastructure

EAS Build

Services

RevenueCatOn-device 3D poseCustom AI models

Next project

Diamond Coach Pro+

Building something like this?

Tell us what you are building. We reply within one business day.