Skip to content

Instantly share code, notes, and snippets.

View easysugar's full-sized avatar
🇺🇦
#StandWithUkraine

easy sugar easysugar

🇺🇦
#StandWithUkraine
View GitHub Profile
@luminousmen
luminousmen / dino.py
Last active April 23, 2020 15:35
T-Rex dino game script that will play for you, successfully
import numpy as np
import cv2
from mss import mss
import pyautogui as pg
# Please put here you location of t-rex, I used `$ xdotool getmouselocation` for that
MONITOR = {"top": 247, "left": 566, "width": 70, "height": 35}
def process_image(img):