Skip to content

Python program code for automating Chrome Dino using Pyautogui and Opencv

Notifications You must be signed in to change notification settings

singhyash3302/T-Rex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automating T-Rex

Automated T-Rex Game in Google Chrome by using Python programming by using modules

  • pyautogui and image processing Opencv module cv.
  • PyAutoGUI lets the Python program control the mouse and keyboard to automate interactions with the game.

Usage

  • Use the Coordinate.py file which uses the image processing module cv to detect the coordinates of the obstacles in front of the Dinosaur.
  • Mark a range of x and y coordinates for cactus and the bird.
  • Use these coordinates as range in the for loop for finding the obstacles in the main.py file.

Screenshots

image

dino2

About

Python program code for automating Chrome Dino using Pyautogui and Opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages