Repository navigation
What's Changed
New, all optional
Picture search for games and other screens without elements. Nothing changes until you use these.
image_exists(image)answerstrueorfalseat once and never fails, for anif.find_images(image)returns every place the picture appears, best first and without overlaps, each withx,y,boundsandscore. It answers at once unlesstimeoutis set, andmaxcaps the count (20 by default).wait_image_gone(image)waits until the picture leaves the screen, such as a loading spinner.find_image,tap_imageand the three commands above take three options: -regionsearches only inside left, top, right, bottom, which is faster and keeps matches inside the box. -scalesalso tries the picture at other sizes, such as[0.8, 1, 1.25], for phones with another screen density. -coloralso requires the average color to agree, so a red and a green button of the same shape differ.
Full Changelog: v0.1.10...v0.1.11