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.
pip install -r requirements.txt
- 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.
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.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.