I'm trying to get a section of a set of screenshots and I always know what exact coordinates that section will be. I don't want to use magic numbers for the coordinates, but outside of an ugly [XMIN:XMAX, YMIN:YMAX] I'm not sure how I would be able to grab such a section from the array.
This is the code I'm working with:
screen_img = cv2.imread( screen_fullpath )
talisman_img = screen_img[48:498, 852:1262]