Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
1.44/5 (3 votes)
See more:
So I am beginning working on my new Project in windows Forms and donn't know with what to start. So I want to compare dektop Screen with images, which are located in one File. If Screen includes one of the images from file it have to do something(this isn't important for example throw exception). Main obstacle is that when I run this program It have to make comparission until I donn't click a specific button, in this time Screen can be changed many times, for example I am looking somthing in Internet and when it detects image from file it have to report me. So I think that the best way fo this will be to make many Screenshots for example in every second and compare it with images. So if anyone has another idea or knows in which way I have to move please write it.
Posted
Updated 3-Feb-16 10:49am
v2
Comments
Sergey Alexandrovich Kryukov 3-Feb-16 16:24pm    
You can easily capture screen, but comparison... I and not sure it's a good idea. No, what you describe is hardly the main obstacle. And... screenshots every second? The whole idea looks so weird that I would not even ask why doing all that. :-)
—SA
Gautham Prabhu K 4-Feb-16 1:34am    
Comparing images is very CPU intensive job and if your taking screen shot every second there will be too many images to compare.
I am not aware of any easily available library we can use.
There are lot of technique and accuracy of result can vary.
Here is a link to get you started good luck.

http://stackoverflow.com/questions/23931/algorithm-to-compare-two-images

1 solution

Here are some links to projects and methods to compare images.
Hope they help.


Code project link

Stack Exchange link

MSDN method to compare images.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900