C++ - Source Code for ImageSearch

Talk about things C/C++, some related to AutoHotkey
TheMaoci
Posts: 2
Joined: 28 Nov 2018, 02:10

C++ - Source Code for ImageSearch

Post by TheMaoci » 04 Dec 2018, 02:26

Hello
I was searching for it a while is there a way to get ImageSearch like it is in AHK into language C++
i want to made an quick script even faster then ahk imagesearch to find small images on screen.

Any ideas ? any repositories ? any source code in C++ (or in C#) ?

or any other language ?

gregster
Posts: 9111
Joined: 30 Sep 2013, 06:48

Re: C++ - Source Code for ImageSearch

Post by gregster » 04 Dec 2018, 02:32

AHK is open source and written in C++, including the imagesearch part.
You can find the complete AHK source code on Github: https://github.com/Lexikos/AutoHotkey_L/

User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: C++ - Source Code for ImageSearch

Post by Xtra » 04 Dec 2018, 03:20

Use gdip imagesearch it uses machine code and is fast no need to reinvent the wheel.

guest3456
Posts: 3469
Joined: 09 Oct 2013, 10:31

Re: C++ - Source Code for ImageSearch

Post by guest3456 » 07 Dec 2018, 10:34

Xtra wrote:
04 Dec 2018, 03:20
Use gdip imagesearch it uses machine code and is fast no need to reinvent the wheel.
https://github.com/MasterFocus/AutoHotk ... mageSearch


TheMaoci
Posts: 2
Joined: 28 Nov 2018, 02:10

Re: C++ - Source Code for ImageSearch

Post by TheMaoci » 23 Jan 2019, 06:37

i found an solution in c#
for windows 7 speed goes like 2ms per loop
for unoptimised windowses its like 31ms

Post Reply

Return to “C/C++”