DouZero_For_HLDDZ_FullAuto/debug_screenshot.py

9 lines
249 B
Python
Raw Permalink Normal View History

2021-07-28 22:05:24 +08:00
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)