The OpenBiomechanics Project is an initiative started by Driveline Baseball Research & Development to provide raw (in the form of cleaned C3D files) and processed (full signal + point of interest) sports biomechanics data to the general public. For more information, read the documentation below and visit the project homepage.
- Cross-validated, full-frame-monotonic intrinsics for 8 OptiTrack, 4 Edgertronic, and 1 iPhone feed.
- A held-out-qualified eight-camera OptiTrack pose graph with independent loop closure of 0.072° and 3.27 mm in camera-19-relative coordinates.
- Exact source hashes, timing diagnostics, reproducible scripts, automated safeguards, and documented rejected views and camera-pair fits.
- A concrete cube, CS-200, epipolar, and undistortion-grid annotation plan for reaching final lab-frame calibration.
Warning
Breaking — git history was rewritten. The repository history was purged to
remove ~2 GB of large binaries, shrinking .git from 2.2 GB to ~25 MB (a
fresh clone is now ~28 MB). If you have an existing clone or fork, delete it
and re-clone — old commit hashes no longer exist and a git pull will not
reconcile. Nothing in the current file tree changed; only history was rewritten.
Important
The large data no longer lives in git. Raw C3D files, processed
full-signal archives, computer-vision demo media, and the Mokka installer are
now distributed via GitHub Releases.
Run scripts/download_data.sh to fetch them. POI
and metadata CSVs remain in-repo.
Major changes
- History purge — large binaries removed from all git history (see the warning above).
- Data → GitHub Releases —
dataset-v1(raw C3D + full-signal),cv-media-v1(demo media),tools-mokka-0.6.2(C3D viewer). Fetch withscripts/download_data.sh. - Dual license split — code is now MIT (
LICENSE-CODE.md); data + documentation stay CC BY-NC-SA 4.0 (LICENSE-DATA.md), including the professional-sports-organization / financial-firm exclusion.
Minor changes / additions
- New tooling —
obp/pandas loader package and runnableexamples/. - New metadata — machine-readable data dictionaries (
<module>/data/data_dictionary.csv+data_dictionary.json), aDATASHEET.md, andCITATION.cff. - Reproducibility — pinned
requirements.txtper module; agent guide inCLAUDE.md. - Docs & code fixes — corrected POI/metadata dictionaries (fixed a broken entry, added undocumented columns, fixed the
rejclandmark), removed copyrighted textbook PDFs in favor of cited references, de-duplicated and parameterized the computer-vision scripts, and removed committed cruft (.DS_Store, hardcoded paths/PII in notebooks).
- What's New
- Modules
- Dataset at a glance
- Getting the Data
- Quickstart
- Data dictionaries & datasheet
- Citing
- License
- IRB information
- Updates
| Module | Description | Link |
|---|---|---|
| Baseball Pitching | Full-signal + point-of-interest kinematics/kinetics for fastball trials. | baseball_pitching/ |
| Baseball Hitting | Full-signal + point-of-interest biomechanics for baseball swings. | baseball_hitting/ |
| High Performance | Force-plate and physical-assessment data paired with the mocap athletes. | high_performance/ |
| Computer Vision | OBP-CV markerless/2D examples, calibration, and pose tutorials. | computer_vision/ |
| Additional Resources | Tutorials, references, and supporting material. | additional_resources/ |
Approximate figures — see each module's README for exact counts and definitions.
- Pitching: ~411 fastball trials across ~100 athletes.
- Hitting: swing trials across ~99 athletes.
- High Performance: force-plate and physical-assessment data for the participating athletes.
- Population: most participants are collegiate-level.
To keep the repository lightweight, the large archives are distributed via GitHub Releases rather than tracked in git:
dataset-v1— processed full-signal archives (pitching + hitting) plus the rawpitching_c3d.zipandhitting_c3d.zip.cv-media-v1—cv_media.zip, the computer-vision demo media; restore by unzipping at the repo root.tools-mokka-0.6.2— Mokka installers for viewing C3D files.
Run scripts/download_data.sh to fetch and unpack the release assets into the correct locations.
Point-of-interest (POI) and metadata CSVs remain in-repo under each module's data/ folder, so summary analyses work without downloading the full archives.
A small helper package, obp/, resolves data paths and loads the
in-repo CSVs with pandas:
import sys; sys.path.insert(0, "path/to/openbiomechanics")
import obp
poi = obp.load_poi("pitching") # 411 fastball trials x 81 POI metrics
meta = obp.load_metadata("hitting")
hp = obp.load_hp()
obp.download(media=True) # fetch the release archives via scripts/download_data.shRunnable, commented scripts live in examples/:
01_explore_poi.py— load POI + metadata, plot pitch speed vs. elbow varus moment02_read_c3d.py— open a C3D withezc3d, plot a marker trajectory03_join_fullsig.py— join full-signal tables onsession_pitch+time04_hp_assessment.py— plot a countermovement-jump distribution
- Data dictionaries — machine-readable column references generated from the
actual CSV headers:
<module>/data/data_dictionary.csvand the aggregateddata_dictionary.json. Regenerate withscripts/build_data_dictionary.py. - Datasheet —
DATASHEET.mddocuments motivation, composition (with real counts), collection, and distribution, following the Datasheets for Datasets framework.
If you use OBP, please cite it — see CITATION.cff (GitHub's
"Cite this repository" button reads this file).
OBP is dual-licensed:
- Code — MIT License. See
LICENSE-CODE.md. - Data + biomechanics documentation — Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). See
LICENSE-DATA.mdand the OBP site under "Usage Terms." (license.txtis retained as a pointer.)
The data license is non-commercial, and it carries one additional specific exclusion beyond the standard CC BY-NC-SA terms:
While the license is clear that this data cannot be used for commercial purposes (which includes but is not limited to for-profit organizations, corporations, and sole proprietorships with the intent to profit now or in the future), there is also one additional specific exclusion where this data cannot be used in any form without a specific written commercial (paid) license: Any employee or contractor employed by, associated with, or a significant shareholder of a professional sports organization or financial analysis firm is forbidden to use The OpenBiomechanics Project data for any use whatsoever.
See LICENSE-DATA.md for the full terms.
Western IRB provided ethical approval for all data collection procedures (Western IRB # WB-DLR-115).
High Performance module added! Find it in the high_performance folder.
OBP Computer Vision (OBP-CV) added! Examples can be found in the computer_vision folder and the README and data can be found at the following Google Sheet link:
OBP-CV README, Shot List, and More Information
Cross-validated provisional camera intrinsics, held-out pair transforms, an
eight-camera OptiTrack pose graph, timing checks, and full methodology are available in
computer_vision/calibration/. These values are
published for reproducibility and continued validation; they are not yet a
final lab-frame calibration. The next stage is the documented
cube, CS-200, epipolar-overlay, and undistortion-grid workflow.
