Giter Site home page Giter Site logo

cricketlytics's Introduction

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

cricketlytics's People

Contributors

akshaybahadur21 avatar

Stargazers

Tamilselvan Arjunan avatar

Watchers

 avatar Tamilselvan Arjunan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.