right:
On mouseup
lock screen
answer file "choose the first image"
set the filename of image img1 to it
answer file "choose the second image"
set the filename of image img2 to it
if md5Digest(the imagedata of image img1) = md5Digest(the imagedata of image img2) then answer "Match!"
-- if (the imagedata of image img1) = (the imagedata of image img2) then answer "Match!"
end mouseUp
the latter two options return the same result. But one is not sure how using the md5Digest at this point gets us anywhere faster.. the overhead of loading the images into the cards is there already. I could see possibly storing the md5Digest of all the images in a directory in advance in a separate file (array) and then checking incoming images against that instead of loading each of 500 images in the archive for each incoming image....
Sivakatirswami
On Sunday, July 20, 2003, at 11:32 AM, Vikram Singh wrote:
From: Vikram Singh <[EMAIL PROTECTED]> Date: Sun Jul 20, 2003 11:32:49 AM Pacific/Honolulu To: [EMAIL PROTECTED] Subject: Re: Image recognition tool Reply-To: [EMAIL PROTECTED]
Namaste Siva
Comparing the md5Digests of the imagedata of two images seems to produce
expected results. So maybe you could just set the filename of an image to the
path of the new file and then work on it.
this still doesn't work... both cases fail:
Regards
Vikram
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
