This Python script, ColorDetectionBot.py
, is a tool designed to detect specific colors on the screen and automatically press a designated key when the specified color is detected or not detected, based on user configuration.
- Screen area selection for color detection.
- Color picker to choose the color to detect.
- Key press automation based on color detection results.
- Customizable key press condition (on color detection or absence).
The script requires Python to be installed on your system. It also depends on several Python packages, which are listed in requirements.txt
.
First, clone this repository or download the ColorDetectionBot.py
script. Then, install the required Python packages using the following command:
pip install -r requirements.txt
Run the script using Python:
python ColorDetectionBot.py
Follow the on-screen instructions to configure and use the bot.