GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - berginj/PitchTracker: Windows desktop app for tracking baseball and softball pitches with two cameras. Simulator-ready; physical accuracy is not yet validated. Seeking camera and reference-equipment testers.

BranchesTags
Open more actions menu

Latest commit

 

History

551 Commits
551 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
3dModels
3dModels
 
 
analysis
analysis
 
 
app
app
 
 
archive
archive
 
 
assets
assets
 
 
benchmarks
benchmarks
 
 
calib
calib
 
 
capture
capture
 
 
configs
configs
 
 
contracts-shared
contracts-shared
 
 
contracts
contracts
 
 
detect
detect
 
 
docs
docs
 
 
examples
examples
 
 
integrations
integrations
 
 
log_config
log_config
 
 
metrics
metrics
 
 
native
native
 
 
record
record
 
 
rectify
rectify
 
 
research
research
 
 
rois
rois
 
 
schema
schema
 
 
scripts
scripts
 
 
stereo
stereo
 
 
test_data
test_data
 
 
tests
tests
 
 
tools
tools
 
 
track
track
 
 
trajectory
trajectory
 
 
ui
ui
 
 
visualization
visualization
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
BUILD_INSTRUCTIONS.md
BUILD_INSTRUCTIONS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLOUD_SUBMISSION_GUIDE.md
CLOUD_SUBMISSION_GUIDE.md
 
 
CLOUD_SUBMISSION_SCHEMA.md
CLOUD_SUBMISSION_SCHEMA.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DESIGN_PRINCIPLES.md
DESIGN_PRINCIPLES.md
 
 
DEVELOPMENT_PLAN.md
DEVELOPMENT_PLAN.md
 
 
GITHUB_RELEASE_INSTRUCTIONS.md
GITHUB_RELEASE_INSTRUCTIONS.md
 
 
LICENSE
LICENSE
 
 
MANIFEST_SCHEMA.md
MANIFEST_SCHEMA.md
 
 
ML_QUICK_REFERENCE.md
ML_QUICK_REFERENCE.md
 
 
ML_TRAINING_DATA_STRATEGY.md
ML_TRAINING_DATA_STRATEGY.md
 
 
ML_TRAINING_IMPLEMENTATION_GUIDE.md
ML_TRAINING_IMPLEMENTATION_GUIDE.md
 
 
PITCH_TRACKING_V2_GUIDE.md
PITCH_TRACKING_V2_GUIDE.md
 
 
PITCH_TRACKING_V2_INTEGRATION.md
PITCH_TRACKING_V2_INTEGRATION.md
 
 
PITCH_TRACKING_V2_SUMMARY.md
PITCH_TRACKING_V2_SUMMARY.md
 
 
README.md
README.md
 
 
README_INSTALL.md
README_INSTALL.md
 
 
README_LAUNCHER.md
README_LAUNCHER.md
 
 
REQ.md
REQ.md
 
 
SECURITY.md
SECURITY.md
 
 
SUPPORT.md
SUPPORT.md
 
 
build.ps1
build.ps1
 
 
build_installer.ps1
build_installer.ps1
 
 
check_alignment.bat
check_alignment.bat
 
 
check_dependencies.py
check_dependencies.py
 
 
clear_cache.py
clear_cache.py
 
 
create_github_release.ps1
create_github_release.ps1
 
 
diagnose_camera_detection.py
diagnose_camera_detection.py
 
 
exceptions.py
exceptions.py
 
 
export_ml_submission.py
export_ml_submission.py
 
 
fix_cache.ps1
fix_cache.ps1
 
 
generate_charuco.py
generate_charuco.py
 
 
install_improvements.ps1
install_improvements.ps1
 
 
installer.iss
installer.iss
 
 
launch_app.bat
launch_app.bat
 
 
launch_app.py
launch_app.py
 
 
launcher.py
launcher.py
 
 
launcher.spec
launcher.spec
 
 
launcher_support.py
launcher_support.py
 
 
launcher_threads.py
launcher_threads.py
 
 
launcher_updates.py
launcher_updates.py
 
 
mypy.ini
mypy.ini
 
 
numerical_worker.spec
numerical_worker.spec
 
 
numerical_worker_launcher.py
numerical_worker_launcher.py
 
 
pyproject.toml
pyproject.toml
 
 
pytest.ini
pytest.ini
 
 
requirements-build.txt
requirements-build.txt
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements-numerical.txt
requirements-numerical.txt
 
 
requirements-security.txt
requirements-security.txt
 
 
requirements-uvc-native.txt
requirements-uvc-native.txt
 
 
requirements.txt
requirements.txt
 
 
run.ps1
run.ps1
 
 
setup.cfg
setup.cfg
 
 
setup.ps1
setup.ps1
 
 
setup_validator.py
setup_validator.py
 
 
startup_validator.py
startup_validator.py
 
 
test_camera.bat
test_camera.bat
 
 
updater.py
updater.py
 
 
worker_launcher.py
worker_launcher.py
 
 

Repository files navigation

PitchTracker

PitchTracker is a Windows desktop app that uses two cameras to track baseball and softball pitches. It shows the operator what was captured, what the system could measure, and which results are uncertain.

Current status

The software is ready for simulator use and controlled engineering tests. Physical speed and plate-location accuracy are not validated for public claims. The current public v2.0.0 release has no installer asset, so the supported public path is running from source.

See Current Status for the latest test, release, and hardware evidence. See the glossary if terms such as “global shutter,” “stereo,” or “setup snapshot” are unfamiliar.

Choose your path

  • Try the simulator: follow Quick Start. No cameras are required.
  • Run the desktop app: follow Installation and the operator runbook.
  • Test cameras or field accuracy: start with Testing Help Needed.
  • Contribute code or documentation: read Contributing.
  • Report a problem: use Support and choose the appropriate issue form.

What the app does

The current development priority is local measurement research. Review mode includes Tools > Measurement Validation for evidence inspection, shadow case editing, and independent comparisons. See Desktop Measurement Research.

  1. Helps an operator select and qualify a camera pair.
  2. Captures paired views of the pitch lane; physical exposure synchronization requires independent timing evidence.
  3. Finds ball candidates and reconstructs a 3D trajectory when the evidence is sufficient.
  4. Records replayable video, observations, decisions, and quality diagnostics.
  5. Presents coaching and review information without hiding missing or rejected measurements.

Automated tests use simulated and synthetic inputs. They prove software behavior; they do not prove real-world measurement accuracy.

What is and is not validated

The project currently has software coverage for setup contracts, capture and tracking behavior, evidence recording, replay, and validation gates. It does not yet have an independently reviewed physical confirmation dataset for speed or plate-location accuracy.

Do not describe a camera model, trajectory mode, or measurement error bound as validated unless an active physical-validation approval explicitly covers the exact rig, software, environment, protocol, and dataset.

Run from source

Requirements:

  • Windows 10 or 11;
  • Python 3.14 recommended (Python 3.13 requires C++ Build Tools for the pinned PyYAML dependency; see Installation);
  • no cameras for simulator development;
  • two matching, qualified global-shutter UVC cameras for field testing.
git clone https://github.com/berginj/PitchTracker.git
cd PitchTracker
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
python launcher.py --backend sim

For a camera-backed run, use the same launcher after setup, or run:

.\run.ps1 -Backend uvc

Simulator startup skips camera validation. The standalone setup_validator.py opens physical cameras; reserve it for an operator-initiated hardware check.

Most automated tests do not require cameras. Install the test dependencies first:

python -m pip install -r requirements-dev.txt
python -m pytest -q

Setup workflow

The guided setup has ten stages:

  1. Select cameras.
  2. Verify paired preview.
  3. Qualify synchronization.
  4. Lock and verify focus and exposure controls.
  5. Validate image overlap.
  6. Compute coarse rectification.
  7. Optionally refine with ChArUco.
  8. Align camera coordinates to the measured field fixture.
  9. Persist the rig profile and setup snapshot.
  10. Review the quality report and blockers.

Completing the wizard does not establish physical accuracy. The setup snapshot, calibration artifacts, physical approval, current preflight, and pitch evidence must remain eligible.

Hardware testing

Field testing requires a rigid mount, two matching cameras with stable identities, a verified target capture mode, and an independent calibrated reference device for accuracy claims. Read the testing guide before collecting data. It explains what each test needs, what to record, and how to keep development data separate from confirmation data.

Privacy and safety

Frames, recordings, calibration files, logs, athlete information, and facility details may be sensitive. Keep them local by default. Public reports should use anonymized summaries, hashes, and filenames—not athlete media, raw serials, private paths, or secrets.

Documentation map

  • Documentation index
  • Quick Start
  • Glossary
  • Current Status
  • Roadmap
  • Testing Help Needed
  • Operator runbook
  • Physical validation checklist
  • Architecture
  • Troubleshooting
  • Support
  • Security policy
  • Contributing

Historical and exploratory material is indexed in the documentation archive; use Current Status for current product claims.

About

Windows desktop app for tracking baseball and softball pitches with two cameras. Simulator-ready; physical accuracy is not yet validated. Seeking camera and reference-equipment testers.

Topics

baseballcomputer-visionglobal-shutterpyside6pythonsoftballstereo-visionwindows

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.