asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.47k stars 1.27k forks source link

screenshot "region" type verification #861

Open saga111a opened 5 months ago

saga111a commented 5 months ago

when using screenshot region shout be only with four int, but function locateOnScreen return object with numpy elements image

Perhaps the data needs to be converted to int before sending it to PyScreeze