M
M
Mark Karas2021-09-11 11:54:04
Images
Mark Karas, 2021-09-11 11:54:04

Search for an image on the screen in a specific area. How to implement in C#?

Hello. I am writing a script in a C# console application. We need an infinite loop that will scan a certain area of ​​the screen for the presence of pre-given images in it and, depending on the images found, perform actions. If anyone can, throw at least a manual. Previously, I didn’t work with images and a screen, so I don’t know how to implement it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2021-09-11
@sarapinit

It can help to take a screenshot of a specific area
https://stackoverflow.com/questions/1163761/captur...
And about comparing pictures, more information is needed. If pixel to pixel should match, then this is one thing, but if somehow differently, then you need to clarify.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question