Sign in to follow this  
Followers 0
Alexandra95

AutoIt OCR find duplicate image results?

4 posts in this topic

Hi peoples,

Is it possible to detect duplicate images with the Imagesearch.au3?

Been trying some things, but they don't work.

My goal is to let the program detect duplicate image patterns on the screen and count the total up in a result.

any help is appreciated, 

thanks

Share this post


Link to post
Share on other sites



Alexandra95,

This sounds very familiar - still trying to match images in that game? :huh:

If not, how about some screenshots so we can see exactly what you are trying to do. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

already made that program and it's working fine now, but now Im trying to find anchor points in terrain textures from old screenshots from the alpha version of age of empires 2 back in end 1998 as I need to find the 4 corners of the terrain textures to get the exact texture shape so that I can import it as new textures into the current game.

So, yes its still about games but not automating anything in it anymore

To extract this:

post-82692-0-18520900-1382991329_thumb.j
 
From this:
post-82692-0-84896200-1382991352_thumb.p
 
 
Though the grass and dirt are very hard to pinpoint, so I need to find the total number of matches of the area I select in the screenshots to see where land matches

 

post-82692-0-18520900-1382991329_thumb.j

post-82692-0-84896200-1382991352_thumb.p

Share this post


Link to post
Share on other sites

Alexandra95,

 

its still about games

Which part of:

 

"Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects

[..]

Launching, automation or script interaction with games or game servers, regardless of the game"

do you find difficult to understand? :huh:

Do NOT open a third game-related thread. Thread locked. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0