I am comparing two screenshots at regular intervals to see if something on a specific portion of the screen has changed.
I do this every 10 seconds and pop up a message if there is change. My threshold is 95% and it works very well.
However, over the past few days, I get quite a few false positives and the match is at 0% even though the screenshots are identical.
I had to resort to setting up a complex if statement to avoid the false positives but i'm wondering what causes the problem in the first place.
Comparebitmap returns 0
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7378
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Comparebitmap returns 0
I'd need to see the two bitmaps and compare them to see why.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?