Skip to content

This project tracks cricket ball movement, estimates speed, predicts trajectory, and classifies bowler actions using OpenCV, Kalman Filters, and MediaPipe.

Notifications You must be signed in to change notification settings

hiteshchandra44/CricVis

Repository files navigation

🏏 CricVis

This project analyzes cricket highlights videos to extract and predict key data points using computer vision and machine learning techniques.

📌 Key Features

  • Ball Speed Detection 🏎️
  • Ball Trajectory Prediction 📈
  • Ball Type Classification 🎯
  • Batter Shot Detection 🏏
  • Bowler Action Recognition 🎥

📂 Project Structure

Cricket-Analysis/
│── ball_detect.py           # Detects the ball
│── ball_speed.py           # Detects and calculates ball speed 
│── ball_tracking.py      # Predicts the trajectory of the ball  
│── ball_type.py            # Classifies the type of delivery  
│── bat_stroke.py          # Identifies batter’s shot type  
│── bowler_detection.py      # Recognizes the bowler’s action  
│── requirements.txt        # Dependencies for running the project  
│── README.md               # Documentation  

🛠️ Installation

  1. Clone this repository
    git clone https://github.com/hiteshchandra44/Cricket-Analysis.git
    cd Cricket-Analysis
  2. Install dependencies
    pip install -r requirements.txt
  3. Run individual modules
    python ball_speed.py

🏗️ Future Enhancements

  • Improve accuracy using deep learning models.
  • Add real-time analysis with OpenCV.
  • Train a custom model for more precise classification.

📜 License

This project is open-source under the MIT License.

About

This project tracks cricket ball movement, estimates speed, predicts trajectory, and classifies bowler actions using OpenCV, Kalman Filters, and MediaPipe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published