DouZero_For_HLDDZ_FullAuto/debug_screenshot.py

9 lines
248 B
Python

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