An open API service indexing awesome lists of open source software.

https://github.com/coding-ai/eyeblinkedtrex


https://github.com/coding-ai/eyeblinkedtrex

chrome-dino chrome-dino-game chrome-dinosaur-game chromedriver computer-vision computer-vision-opencv dino dino-game dinosaur-game opencv opencv-python python python-3 python-game python3 pythonselenium selenium selenium-webdriver trex-game trex-runner

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

          

# T-Rex Run! - Chrome Dinosaur Game controlled by real-time eye blinks

In this repository you can find a program to play the famous Chrome Dino, 100% controlled by your eyes!

## Prerequisites

You will need to install the following packages:

* selenium
* keyboard
* dlib
* opencv-python
* scipy

Create a virtual environment in conda:

`conda create -n [your_env_name] python=3.7`

then install the previous mentioned packages:

`pip install [package_name]`

## Usage

Fork and clone/download the repository and change the configuration file with:

* The driver path to your downloaded driver.

If you need help with this step, you can look at my [YouTube video ](https://www.youtube.com/watch?v=6plKL95a134&t=6s) to help you configure it.

Turn off your Wi-Fi / internet access.

Run `python main.py`

Please feel free to comment or give suggestions!

Have fun!