How to read image with a specific part of the screen and compare it with another image?

I need to write a program in Python that will read the image from the point A on the screen and compare it with the image, for example:
There is a picture of a dog, and when a similar dog appears on the screen that is something, for example, press right arrow. Prompt library.
April 19th 20 at 12:13
2 answers
April 19th 20 at 12:15
Solution
And the OpenCV function matchTemplate

https://opencv24-python-tutorials.readthedocs.io/e...
April 19th 20 at 12:17
Smells like a neural network
Also thought to write a neural network maybe try. - rocky73 commented on April 19th 20 at 12:20
I have absolutely nothing against the ruble, but I believe that it is not easy - Virginie25 commented on April 19th 20 at 12:23
@Virginie25, to be honest, I did not write the neural network. - rocky73 commented on April 19th 20 at 12:26

Find more questions by tags Python