Spaces:
Running on T4
Running on T4
Download docs/motion-options.example.json from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/docs/motion-options.example.json
- Command line
-
hf download hf://spaces/modventures/baseball-engine/docs/motion-options.example.json
-
curl -L -o motion-options.example.json https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/docs/motion-options.example.json
3.11 kB
| { | |
| "timing": { | |
| "kind": "unknown", | |
| "source": null, | |
| "factor": null, | |
| "all_captured_frames_retained": null, | |
| "physical_times_s": null | |
| }, | |
| "rotation_degrees": null, | |
| "camera_stability": "unknown", | |
| "handedness": null, | |
| "lead_foot": null, | |
| "camera": null, | |
| "up_vector": null, | |
| "up_source": null, | |
| "pitcher_vector": null, | |
| "pitcher_source": null, | |
| "scale_factor": 1.0, | |
| "scale_source": null, | |
| "athlete_box": null, | |
| "single_swing": false, | |
| "windows": [], | |
| "correction": { | |
| "min_cutoff_hz": 6.0, | |
| "speed_coefficient": 4.0, | |
| "max_gap_s": 0.1, | |
| "bone_relative_tolerance": 0.35, | |
| "spike_mad_multiplier": 6.0, | |
| "boundary_samples": 2, | |
| "spike_minimum_m": 0.005 | |
| }, | |
| "measurement": { | |
| "minimum_axis_length_m": 0.015, | |
| "minimum_horizontal_fraction": 0.15, | |
| "minimum_foot_vector_m": 0.01, | |
| "minimum_upright_torso_m": 0.05, | |
| "maximum_heading_step_deg": 150.0, | |
| "peak_competition_ratio": 0.9, | |
| "peak_separation_s": 0.08, | |
| "direction_min_rotation_deg": 5.0, | |
| "motion_prominence_m_s": 0.15, | |
| "motion_separation_s": 0.7, | |
| "window_before_peak_s": 0.2, | |
| "window_after_peak_s": 0.25 | |
| }, | |
| "coaching": false, | |
| "model": "gvhmr", | |
| "gvhmr": { | |
| "batch_size": 4, | |
| "max_sequence_frames": 300, | |
| "context_frames": 60, | |
| "minimum_keypoint_score": 0.3, | |
| "maximum_reprojection_box_fraction": 0.15 | |
| }, | |
| "annotated_videos": true, | |
| "source_mirrored": null, | |
| "handedness_source": null, | |
| "lead_foot_source": null, | |
| "scale_status": "model_estimated", | |
| "minimum_usable_joints": 3, | |
| "refinement": { | |
| "enabled": true, | |
| "native_batch_frames": 8, | |
| "window_frames": 48, | |
| "context_frames": 8, | |
| "iterations": 25, | |
| "learning_rate": 0.005, | |
| "minimum_observation_score": 0.45, | |
| "minimum_observed_joints": 6, | |
| "observation_scale_box_fraction": 0.025, | |
| "maximum_observation_error_box_fraction": 0.08, | |
| "maximum_body_change_fraction": 0.12, | |
| "maximum_bone_change_fraction": 0.06, | |
| "temporal_weight": 0.02, | |
| "initializer_weight": 0.1, | |
| "initializer_scale_body_fraction": 0.03, | |
| "maximum_peak_time_shift_s": 0.025, | |
| "maximum_peak_speed_change_fraction": 0.2, | |
| "maximum_static_background_motion_fraction": 0.003, | |
| "sensitivity_factors": [ | |
| 0.5, | |
| 2.0 | |
| ] | |
| }, | |
| "tracking": { | |
| "recover_short_losses": true, | |
| "maximum_recovery_gap_s": 0.2, | |
| "minimum_appearance_similarity": 0.85, | |
| "minimum_candidate_margin": 0.1 | |
| }, | |
| "up_estimation": { | |
| "enabled": true, | |
| "sample_count": 7, | |
| "minimum_frames": 3, | |
| "maximum_gravity_uncertainty_deg": 5.0, | |
| "maximum_frame_deviation_deg": 3.0, | |
| "minimum_consensus_fraction": 0.8, | |
| "minimum_temporal_coverage": 0.75, | |
| "minimum_background_fraction": 0.2, | |
| "minimum_effective_pixels": 32, | |
| "minimum_spatial_cells": 3, | |
| "maximum_up_residual_deg": 10.0, | |
| "maximum_latitude_residual_deg": 5.0, | |
| "minimum_texture_fraction": 0.005 | |
| }, | |
| "pitcher_floor_points": null, | |
| "athlete": null, | |
| "context": { | |
| "sport": "baseball", | |
| "practice_type": "unknown" | |
| }, | |
| "contact_frame": null, | |
| "swing_id": null | |
| } | |