Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2.49 KB

README.md

File metadata and controls

42 lines (31 loc) · 2.49 KB

LBW Review System

Overview

The LBW (Leg Before Wicket) Review System is a project aimed at detecting and analyzing ball movements in cricket matches, particularly focusing on LBW scenarios. The system utilizes the YOLOv8 algorithm for ball detection, trained on a diverse dataset consisting of various cricket balls (pink, red, white) and other balls such as tennis balls.

Dataset

The YOLOv9 model has been trained on a comprehensive dataset available on Roboflow. This dataset includes a wide range of cricket ball images captured from different angles and under various lighting conditions, enhancing the model's ability to accurately detect balls during matches.

Access the pretrained model

https://universe.roboflow.com/ahmed-ws/ball-detection-3afaq/model/5

Metrics

The performance of the trained YOLOv8 model is evaluated using the following metrics:

  • Mean Average Precision (mAP): 91.9%
  • Precision: 86.3%
  • Recall: 94.8%

Metrics Image

Implementation

Screenshot-2024-04-18-at-11-29-09-PM Screenshot-2024-04-18-at-11-29-22-PM Screenshot-2024-04-18-at-11-29-45-PM
Some Overfitting
Screenshot-2024-04-18-at-11-29-31-PM

Watch the video

Usage

To utilize the LBW Review System:

  1. Clone the repository: git clone https://github.com/ahmedembeddedx/lbw-review-system
  2. Install the necessary dependencies.
  3. Run the provided scripts for inference on cricket match videos or live streams.
  4. Analyze the output for LBW scenarios and review decisions.

Contributing

Contributions to the LBW Review System are welcome! If you have suggestions for improvements or encounter any issues, feel free to open an issue or submit a pull request.

License

This project is licensed under the Apache License