Padel support

Aperta
#5 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

Start by locating the pipeline entry point and the named warmup_cutoff, match_like, and parse_callout logic, then inspect the existing tennis benchmark and README. The work spans sport-specific thresholds, transient classification, scoring, and a --sport profile, so it requires design decisions beyond a small localized change. Add or run a synthetic padel benchmark with labeled rebound transients and score-timeline tests, then document padel limitations in README while preserving tennis benchmark results.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Padel support

Labels: enhancement, help wanted

Problem

Padel recordings (glass walls, enclosed court, underhand serve, always doubles) break several tennis assumptions:
balls rebounding off the glass make extra loud transients, rallies are longer, the scoring includes golden point,
and the camera usually sits behind a wall.

Current behavior

  • Hit detection treats every 1.5–6 kHz transient as a hit, so wall and glass rebounds will be counted as hits.
  • warmup_cutoff thresholds (pause ≥ 20 s, median inter-hit ≤ 2.5 s) and match_like were tuned on tennis.
  • Changeover logic and parse_callout assume tennis rules. There is no golden point or "punto de oro".
  • The reel's HSV range and size filters assume a tennis ball at tennis-camera distances.

Ideas

  • A --sport padel profile (a dataclass of thresholds) passed through the pipeline instead of module constants.
  • Classify transients as racket hit vs glass/wall rebound (spectral shape, a second onset shortly after).
  • Padel scoring: golden point and callout vocabulary.
  • Synthetic padel scenario: hits plus rebound transients with known labels.

Acceptance criteria

  • --sport {tennis,padel} flag with tennis as the default, and tennis benchmark numbers unchanged.
  • Synthetic padel benchmark with rebounds: hit precision ≥ 0.9 and recall ≥ 0.9.
  • Golden-point scoring supported in the score timeline with tests.
  • README documents padel limitations.
Lingua principale
Python
Stelle
1
Fork
3
Merge medio
1h 12m
PR unite (30g)
126

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di voantony/OpenCourtVision

Tutte le issue di voantony/OpenCourtVision

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.