Forum Archive

How to do image recognition?

A B C

With python 3 and with the pyautogui library i can search for a certain spot on my screen.

i would make a screenshot and it would find that somewhere within the bounds i want it to search in.
is this possible with pythonista 3?

cvp

@A-B-C try this script

A B C

that's not really what i mean @cvp, thanks for trying to help though

cvp

@A-B-C sorry, I didn't understand correctly

A B C

your all good @cvp

cvp

@A-B-C said:

i would make a screenshot

I don't know from what you want to get a screenshot, but do you know the Pythonista draw_snapshot() function?

ccc

https://forum.omz-software.com/topic/2185/image-from-scene

A B C

@cvp no i don't i am kinda new to pythonista, I bought it like 5 weeks ago

cvp

@A-B-C thus welcome to this marvelous forum of this marvelous app, but it is full of so much functions that you will need some time before to know (almost) all of them 😀

A B C

@cvp yeah i noticed that 🤣