Skip to content

akshaybahadur21/CricketLytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CricketLytics 🏏

Cricket analytics for humans

Code Requirements πŸ¦„

You can install Conda for python which resolves all the dependencies for machine learning.

pip install requirements.txt

Description 🎾

Cricket is a bat-and-ball game played between two teams of eleven players on a field at the centre of which is a 22-yard (20-metre) pitch with a wicket at each end, each comprising two bails balanced on three stumps.

The batting side scores runs by striking the ball bowled at the wicket with the bat (and running between the wickets), while the bowling and fielding side tries to prevent this (by preventing the ball from leaving the field, and getting the ball to either wicket) and dismiss each batter (so they are "out").

Python Implementation πŸ‘¨β€πŸ”¬

Supported Trainining

  • Batting (Front View)
  • Batting (Side View)
  • Bowling (Front View)

Source

  • '0' for webcam
  • Any other source for a prerecorded video

If you face any problem, kindly raise an issue

Setup πŸ–₯️

  1. First, record the cricket training session you want to perform analytics on; or you can setup your webcam so that it can stream your cricket session in runtime.
  2. Select the type of exercise you want to perform. (Look above for the supported exercises)
  3. Run the Cricket.py file with your current configuration

Execution πŸ‰

python Cricket.py --option <batting or bowling> --hand <left or right> --view <front or side>

python Cricket.py --option batting --hand right --view front

Results πŸ“Š

References πŸ”±

  • Ivan Grishchenko and Valentin Bazarevsky, Research Engineers, Google Research. Mediapipe by Google

About

Cricket analytics for humans 🏏

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages