python-mss

How to get ROI Bounding Box Coordinates without Guess & Check

拜拜、爱过 提交于 2020-01-15 05:58:49
问题 So I am attempting to take a screenshot of my monitor and only grab part of the screen when doing so. I know I can use mss or opencv, pillow or any other screenshotting library that supports bounding boxes... However, instead of randomly guessing on what the coordinate are... and what I mean by this is taking a screenshot with bounding box coordinates set, and seeing if it is anywhere close to what I am actually trying to get the picture of. For example: my trial coordinates would be 10,10

How to get ROI Bounding Box Coordinates without Guess & Check

不想你离开。 提交于 2020-01-15 05:58:25
问题 So I am attempting to take a screenshot of my monitor and only grab part of the screen when doing so. I know I can use mss or opencv, pillow or any other screenshotting library that supports bounding boxes... However, instead of randomly guessing on what the coordinate are... and what I mean by this is taking a screenshot with bounding box coordinates set, and seeing if it is anywhere close to what I am actually trying to get the picture of. For example: my trial coordinates would be 10,10