DouZero_For_HLDDZ_FullAuto/debug_screenshot.py

9 lines
249 B
Python

import GameHelper as gh
from GameHelper import GameHelper
GameHelper = GameHelper()
GameHelper.ScreenZoomRate = 1.25
img, _ = GameHelper.Screenshot()
img = gh.DrawRectWithText(img, (313, 747, 1144, 200), "test")
img.save("test.png")
gh.ShowImg(img)