Best language for imagesearch?

Discuss other programming languages besides AutoHotkey
inthesky2
Posts: 35
Joined: 15 Jan 2016, 03:09

Best language for imagesearch?

28 Feb 2016, 03:12

Basically after much effort I wrote a script that searches for 100 very small images (maybe 10-20 pixels each) but became really sad when I found out that it runs very slow after a certain amount of images. I needed something that runs as close as possible to 0ms delay and anything above 50-100 ms is too slow. Is there any other language that would allow this?
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Best language for imagesearch?

28 Feb 2016, 18:26

I would recommend C++ for speed.
But it is touch to learn. If you would share the code we could help optimizing things.
And maybe you should think of a better approach for this too.
Recommends AHK Studio
User avatar
HinkerLoden
Posts: 93
Joined: 23 Mar 2016, 07:50
Contact:

Re: Best language for imagesearch?

27 Mar 2016, 05:55

oha. i have not really an idea if its used in the following one. I think Machine Code used what is similar to the c++ speed

Gdip_ImageSearch.ahk - by Masterfocus

FastImageSearch

FullScreen scan around 50ms. With Comparison and find all Matches.
JaniceSweet
Posts: 2
Joined: 18 Aug 2016, 02:03

Re: Best language for imagesearch?

24 Aug 2016, 02:34

Hello,

There is a problem in the logic, from what I observe. You are right, 50–100 ms is crazy slow. I would also recommend C++. I wrote a very similar script as this one in my course work in school. Like you, I too had to work really hard on making it faster. You try it next time with an improved logic and update here if you are able to speed things up in terms of time. All the best.

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 32 guests