Results 1 to 6 of 6

Thread: CompareImages

  1. #1
    Bot Coder
    flashbang is offline

    Posts
    584

    CompareImages

    Alright so I wrote a little program which basically does nothing else but compare images. You feed it with let's say 20 images and it scans thru all x and y coordinates of each image to see if it can find a pixel where all the x (20 in my example) images are different.

    I wonder if this would generally help anyone develop a bot (as I wrote this for the patching bot to be made) because often (like at patching) you have tons of different images to compare and it can be a pain to find a pixel you can use for image recognition.

    Optionally you may make it display all the matches in case you want to check yourself (prints out x/y coordinates and in which image it found the equality).

    It's all outprint based and the output looks like this:

    Code:
    Displaying a maximum of 10 different pixels.
    No matches found. Use: 0 / 0
    No matches found. Use: 0 / 1
    No matches found. Use: 0 / 2
    No matches found. Use: 0 / 3
    No matches found. Use: 0 / 4
    No matches found. Use: 0 / 5
    No matches found. Use: 0 / 7
    No matches found. Use: 0 / 8
    No matches found. Use: 0 / 9
    No matches found. Use: 0 / 10
    Needed 0,0444 ms.
    (Note how it left out 0 / 6, as in my test at two of the 20 images I used for real the pixel been identical.)

    Anyone interested in having it?
    Last edited by flashbang; 07-08-2012 at 10:11 PM.

    //siggy by Poseidon

  2. #2
    Member
    tricko is offline

    Posts
    78
    so this program can compare any images? lets say i put 2 pictures of a face and it will tell me where are those two the same or not?

  3. #3
    Bot Coder
    flashbang is offline

    Posts
    584
    Quote Originally Posted by tricko View Post
    so this program can compare any images? lets say i put 2 pictures of a face and it will tell me where are those two the same or not?
    Yes it does... however only based on pixel information so I doubt it would be any use for you.

    //siggy by Poseidon

  4. #4
    Member
    tricko is offline

    Posts
    78
    not even i think it will be of use for me but it could be fun and wanted to know if it could do that

  5. #5

    Posts
    44
    How is this different than tineye?

  6. #6
    #Return
    Scarecrow is offline

    Posts
    3,443
    Quote Originally Posted by bahbahblacksheep View Post
    How is this different than tineye?
    How does it have anything to do with Tineye??

    Completely different use. Re-read the OP..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •