Spaces:
Running on T4
Running on T4
Download AI-coach-agent/docs/examples/pitch_analysis_payload_example.json from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 6.14 kB
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/AI-coach-agent/docs/examples/pitch_analysis_payload_example.json
- Command line
-
hf download hf://spaces/modventures/baseball-engine/AI-coach-agent/docs/examples/pitch_analysis_payload_example.json
-
curl -L -o pitch_analysis_payload_example.json https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/AI-coach-agent/docs/examples/pitch_analysis_payload_example.json
6.14 kB
| { | |
| "schema_version": "pitch-1.0", | |
| "measurement_definitions_version": "pitch-1.0", | |
| "analysis_id": "pitch-example-001", | |
| "analysis_revision": 1, | |
| "pitch_id": "pitch-example-001:pitch_1", | |
| "status": "completed", | |
| "athlete": { | |
| "athlete_id": "player_001", | |
| "throwing_hand": "right", | |
| "lead_foot": "left", | |
| "age_years": 19, | |
| "height_cm": 185 | |
| }, | |
| "context": { | |
| "sport": "baseball", | |
| "practice_type": "bullpen", | |
| "delivery": "stretch", | |
| "pitch_type": "fastball", | |
| "camera_view": "open_side" | |
| }, | |
| "events": { | |
| "peak_knee_height": { | |
| "status": "available", | |
| "video_time_s": 0.9, | |
| "capture_time_s": 0.9, | |
| "source_frame_index": 27, | |
| "source": "pose_estimated", | |
| "reasons": [] | |
| }, | |
| "foot_plant": { | |
| "status": "available", | |
| "video_time_s": 1.5, | |
| "capture_time_s": 1.5, | |
| "source_frame_index": 45, | |
| "source": "manual_review", | |
| "reasons": [] | |
| }, | |
| "ball_release": { | |
| "status": "available", | |
| "video_time_s": 1.6333, | |
| "capture_time_s": 1.6333, | |
| "source_frame_index": 49, | |
| "source": "manual_review", | |
| "reasons": [] | |
| } | |
| }, | |
| "measurements": [ | |
| { | |
| "metric_id": "stride_length_pct_height", | |
| "group": "stride_landing", | |
| "unit": "pct_height", | |
| "reference": "horizontal_lead_ankle_minus_rear_ankle_over_body_height", | |
| "event_id": "foot_plant", | |
| "value": 74.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 73.0, | |
| "upper": 75.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "stride_direction_deg", | |
| "group": "stride_landing", | |
| "unit": "deg", | |
| "reference": "stride_angle_cross_body_positive", | |
| "event_id": "foot_plant", | |
| "value": 2.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 1.0, | |
| "upper": 3.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "hip_shoulder_separation_at_foot_plant", | |
| "group": "stride_landing", | |
| "unit": "deg", | |
| "reference": "pelvis_minus_trunk_rotation_throwing_side", | |
| "event_id": "foot_plant", | |
| "value": 30.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 29.0, | |
| "upper": 31.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "trunk_forward_tilt_at_foot_plant", | |
| "group": "stride_landing", | |
| "unit": "deg", | |
| "reference": "trunk_flexion_forward_positive", | |
| "event_id": "foot_plant", | |
| "value": -6.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": -7.0, | |
| "upper": -5.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "shoulder_abduction_at_foot_plant", | |
| "group": "arm_action", | |
| "unit": "deg", | |
| "reference": "throwing_shoulder_abduction", | |
| "event_id": "foot_plant", | |
| "value": 86.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 85.0, | |
| "upper": 87.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "elbow_flexion_at_foot_plant", | |
| "group": "arm_action", | |
| "unit": "deg", | |
| "reference": "throwing_elbow_flexion", | |
| "event_id": "foot_plant", | |
| "value": 98.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 97.0, | |
| "upper": 99.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "trunk_forward_tilt_at_release", | |
| "group": "release_finish", | |
| "unit": "deg", | |
| "reference": "trunk_flexion_forward_positive", | |
| "event_id": "ball_release", | |
| "value": 36.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 35.0, | |
| "upper": 37.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "trunk_lateral_tilt_at_release", | |
| "group": "release_finish", | |
| "unit": "deg", | |
| "reference": "trunk_lateral_flexion_glove_side_positive", | |
| "event_id": "ball_release", | |
| "value": 17.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 16.0, | |
| "upper": 18.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "arm_slot_at_release", | |
| "group": "release_finish", | |
| "unit": "deg", | |
| "reference": "forearm_angle_above_horizontal", | |
| "event_id": "ball_release", | |
| "value": 33.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 32.0, | |
| "upper": 34.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| }, | |
| { | |
| "metric_id": "lead_knee_extension_plant_to_release", | |
| "group": "release_finish", | |
| "unit": "deg", | |
| "reference": "change_in_3d_lead_knee_angle", | |
| "start_event_id": "foot_plant", | |
| "end_event_id": "ball_release", | |
| "value": 9.0, | |
| "status": "available", | |
| "confidence": null, | |
| "uses_interpolated_input": false, | |
| "reasons": [], | |
| "benchmark": null, | |
| "value_interval": { | |
| "lower": 8.0, | |
| "upper": 10.0, | |
| "source": "adjacent_event_frames" | |
| } | |
| } | |
| ] | |
| } | |