A Python-based bot for Old School RuneScape (OSRS) that uses computer vision and confidence factors to automate cow farming tasks. The bot identifies cows on the screen using image recognition and interacts with them using mouse clicks.
- Image Recognition: Uses
pyautogui
to locate cows on the screen based on images in thephotos
folder. - Configurable Confidence: Adjustable confidence level for image matching.
- Keyboard Controls:
- Start/Stop: Press
A
to toggle the bot on or off. - Exit: Press
B
to stop the bot and exit the program.
- Start/Stop: Press
- Dynamic Image Loading: Automatically loads all
.png
images from thephotos
folder.
- Python 3.8 or higher
- Required Python libraries:
pyautogui
pynput
- Clone the repository:
git clone https://github.com/your-username/osrs-cow-farming-bot.git cd osrs-cow-farming-bot