Skip to content

rohtumm/Basketball-Feedback-Generator

Repository files navigation

Basketball Feedback Generator

A real-time basketball shot analysis tool that uses computer vision and AI to provide instant feedback on shooting form.

How to Run the Project

  1. Clone the repository

    git clone https://github.com/rohtumm/Basketball-Feedback-Generator.git
    cd Basketball-Feedback-Generator
  2. Create a virtual environment

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up your API key

    • Create a .env file in the project root
    • Add your Gemini API key:
      GEMINI_API_KEY=your_api_key_here
      

Usage

  1. Activate the virtual environment

    source venv/bin/activate  # On Windows: venv\Scripts\activate
  2. Run the application

    python feedback_generator.py
  3. Use the application

    • Take a shot!
    • The system will detect the motion and provide AI-generated feedback
    • Press 'q' to quit

About

A computer vision based tool that provides AI generated feedback on a user's basketball shot form.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •