Skip to content

Developed a DRS Review System where we can get help in giving accurate decision of out or not out looking at the replay of shots with beautiful animation.

Notifications You must be signed in to change notification settings

arevish/DRS-review-GUI

Repository files navigation

DRS Review System forthebadge

python License

Developed a DRS Review System where we can get help in giving accurate decision of out or not out looking at the replay of shots with beautiful animation.

This DRS Review System Is Made Using Python3 & tkinter Module. This program will help third umpire to take proper decision about no-ball, runout, or catch out. with the help of this third umpire can take proper and accurate decision about whether the batsman is out or not out, and system will show decision with beautiful animation.

use mouse keys to click on the buttons shown on the screen to select your move, umpire get help in giving accurate decision of out or not-out by looking at the replay of shots. And Result should be displayed on the screen.

Hope You Will Like The Game. also u can use the code to make your own version of game.

thirdumpireDEMO.mp4

😏

# put your test video path here  (LINE 11)
stream = cv2.VideoCapture("clip.mp4")

Module used

python modules

import tkinter
import cv2
import PIL.Image, PIL.ImageTk
from functools import partial
import threading
import imutils
import time

PRE-REQUISITES

Your laptop with 3.7.x (onwards) installed.

NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.

Windows: Download the version for your laptop via https://www.python.org/downloads/

NOTES In your preferred editor, make sure indentation is set to "4 spaces".

  • Make sure you have tkinter and Pillow installed in python otherwise code may fail,
  • to install tkinter in your machine > open python in your terminal then type pip install tkintertable to install. ⚠️
  • to install tkinter in your machine > open python in your terminal then type pip install pillow to install. ⚠️

Do not Delete any images Files or IT MAY CRASH THE application!

Run using Python3.8+

  1. Clone or download repositiory: https://github.com/arevish/DRS-review-GUI.git
  2. In source folder, run python3 'thrdUmpire.py' to start program, optionally, run with --help argument to see other runtime options.

ThankYou!

About

Developed a DRS Review System where we can get help in giving accurate decision of out or not out looking at the replay of shots with beautiful animation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages