autopy icon indicating copy to clipboard operation
autopy copied to clipboard

found image outside rect to the left

Open comjar opened this issue 5 years ago • 0 comments

needle = autopy.bitmap.Bitmap.open('needle.png')
haystack = autopy.bitmap.capture_screen()

pos = haystack.find_bitmap(needle,0.03,((700, 80), (200,420)))
print(pos)

from this piece of code I can get pos from around (0,80) to (900,500) I think it should be (700,80) to (900,500) because of rect tuple ((700, 80), (200,420))

size of my screen is 1600x900

comjar avatar Apr 04 '19 03:04 comjar