Skip to content

Functionality

AndrewN20 edited this page May 15, 2025 · 2 revisions

Website

  • Users must be able to upload swing videos in MP4 format using a drag-and-drop interface with a real-time progress bar indicating upload status.
  • User authentication must be handled using Magic Links, with clear error handling for duplicate email addresses and invalid tokens.
  • The system must extract key motion metrics and return results within 2 minutes of video upload.
  • The results page must display clearly labeled swing metrics such as tempo, angle of movement, velocity, and other key indicators.
  • Users must be able to view historical performance trends with accurate time-series visualizations.
  • A notification (e.g., via email or in-app) must inform the user when their swing analysis is complete and results are ready.

AI Motion Analysis & Feedback System

  • The system must process video frames to extract metrics such as position, velocity, acceleration, and movement angles using MediaPipe.
  • If MediaPipe performance is insufficient, the system should fallback to a K-NN based model to classify swings into "Improved" or "Not Improved" categories.
  • All results must be stored in a structured database to ensure swing reports are never lost and are retrievable by users.
  • Feedback must be generated within 30 seconds of completing video processing.
  • The AI model must be continuously trainable and updatable, with performance targeting 90% accuracy across predefined motion quality metrics.

System Performance & Reliability

  • The analysis system must achieve at least 99% uptime to ensure reliability during uploads, processing, and feedback.
  • In the event of system failure, video uploads and their processing states must be recoverable without data loss.
  • All user data and processing logs must be securely stored and encrypted, adhering to best practices for privacy and data handling.

User Dashboard & Interaction

  • The dashboard must present the latest swing results alongside a historical record of past uploads and outcomes.
  • Users must be able to toggle between raw metrics and AI-driven improvement feedback.
  • The website must maintain a responsive design for seamless interaction across desktop and mobile devices.

Documentation & Code Management

  • All project code, designs, and documentation must be version-controlled using GitHub, with branching strategies clearly defined.
  • Setup instructions, environment configuration, and deployment steps must be fully documented for both developers and stakeholders.

Clone this wiki locally