Skip to content

Latest commit

 

History

History
 
 

Chrome-Dino-Bot-using-OpenCV-feature-matching

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

T-Rex Game Bot using Feature Matching in OpenCV

This repository contains code for How to build Chrome Dino game bot using OpenCV Feature Matching blogpost.

A bot to automate Chrome Dino game using Feature Matching, AutoPyGUI and MSS.

Install required packages

download

pip install -r requirements.txt

Execution Guideline

  • Position chrome window to the right half of the screen.
  • Open terminal/powershell on the left half as shown below.
  • Navigate to the working directory and run the script.

T-Rex Bot Demo

The obstacle detection area should look something like the image shown below. If not, play with the box height percentage and check if display auto scaling is ON. Further instruction has been provided within the code.


Detection_area

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.