@Fox I tried this code but my problem was not solved.
I guess there is no solution.
How can i check if a part of a specific photo i have on a desktop is present in the current screen, for example i need to check if this photo (https://imgur.com/jrcuk3Z) is present in the current screen (that could be https://imgur.com/C9sD68Z, and obv it would give a false result here, but just for an example). Could someone help me?