LibFunc>imglib,CompareBitmaps, match,d:\screen1.bmp,d:\sc

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

esuohlluf
Junior Coder
Posts: 41
Joined: Thu Mar 23, 2006 5:33 am

Post by esuohlluf » Sat Apr 08, 2006 12:08 am

Interesting , it never occured to me to try that.
Yes it does looks as far off in result for the variable on the left side of the screen, but instead of showing almost no change in MATCH it shows too much.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Fri Jun 09, 2006 4:05 pm

This bug is now fixed in the currently available download of the Image Recognition Library (version 1.03) :D :D

User avatar
machinogodzilla
Newbie
Posts: 17
Joined: Sun Jul 30, 2006 11:32 pm

Post by machinogodzilla » Tue Aug 22, 2006 12:59 pm

Hi! I play with the plugin too and I must say that this is not perfect yet (v.1.03).

I compare little pictures (50x50) placed on the different places on the screen with the ones saved on my drive. The pictures I compare are less than 5% different from each other. But the values I get from MATCH can vary from 50 to almost 0! :shock:

I can say that everything is correct because I first save the little bits of the screen to disk then compare with already saved pictures. And you can see with the naked eye that there is almost no difference and you get for example value 5.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 22, 2006 1:16 pm

Download 1.04 from:
http://www.mjtnet.com/imagerecognition.htm

The CompareBitmaps function should be more accurate in this version.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
machinogodzilla
Newbie
Posts: 17
Joined: Sun Jul 30, 2006 11:32 pm

Post by machinogodzilla » Tue Aug 22, 2006 1:51 pm

Hi! I ve just done it, but the setup shows "Macro Scheduler Image Library 1.03" not 1.04

:?:

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 22, 2006 2:15 pm

You may have the old version in your cache. Try this:

http://www.mjtnet.com/software/imglib.exe?gjhdsf
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
machinogodzilla
Newbie
Posts: 17
Joined: Sun Jul 30, 2006 11:32 pm

Post by machinogodzilla » Tue Aug 22, 2006 2:20 pm

Thanx! It helped. Time to test it :)

User avatar
machinogodzilla
Newbie
Posts: 17
Joined: Sun Jul 30, 2006 11:32 pm

Post by machinogodzilla » Tue Aug 22, 2006 2:54 pm

Unfortunately for me it is still not working properly :(

I ve compared new results with the old ones and the only difference is that instead of 50 the max value is now 100. So all the values have doubled and that is it. I still get MATCH 8/100 for the pictures which differ 5% from each other at the very most.

It looks like it is not the time for Image Recognition plugin for me yet and I have to go back to GetPixelColor.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 22, 2006 2:59 pm

If you send your bitmap files to support (http://www.mjtnet.com/contact.htm) we'll take a look.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
machinogodzilla
Newbie
Posts: 17
Joined: Sun Jul 30, 2006 11:32 pm

Post by machinogodzilla » Tue Aug 22, 2006 3:16 pm

Ok, will do it this evening. Thx!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 22, 2006 3:23 pm

Just realised the contact form won't help as you need to send attachments. Email them to support AT mjtnet.com
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts