|
Post by enissay on Feb 16, 2019 11:05:50 GMT
Amazing script, however, all images are in black/white, is there a way to get them in color ?
|
|
|
Post by AnkuLua on Feb 16, 2019 11:51:29 GMT
Amazing script, however, all images are in black/white, is there a way to get them in color ? For speed, AnkuLua does image recognition in grey mode.
|
|
|
Post by kingofrandom on Mar 25, 2019 16:30:20 GMT
Awesome! I think this script should be included in ankulua itself. And need something to show coords before taking it (maybe there is I don`t know)
|
|
|
Post by Mercobots on Mar 26, 2019 1:31:07 GMT
Awesome! I think this script should be included in ankulua itself. And need something to show coords before taking it (maybe there is I don`t know) No is not ! V2 is about to be released too, hope this new one is better and more helpful... at least is more efficient and intuitive
|
|
|
Post by kingofrandom on Mar 26, 2019 6:23:15 GMT
Nice! I will check it for sure.
|
|
|
Post by nyquister on Jun 9, 2019 4:54:57 GMT
The region function is not accurate. After getting the region, I have to use region:highlight to verify and manually adjust the x, y
|
|
|
Post by Exilereven on Jun 11, 2019 5:02:30 GMT
Make sure your resolutions are matching. Running on device? Emulator?
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Oct 3, 2019 23:39:14 GMT
Very useful library thank you for this!
|
|
|
Post by ProjectXJoe on Jul 1, 2021 20:10:26 GMT
What's the easiest way to use the "color" pattern finding? Do I have to getColor and compare rgb everytime, or is there an easier way?
|
|
|
Post by AnkuLua on Jul 1, 2021 22:48:28 GMT
What's the easiest way to use the "color" pattern finding? Do I have to getColor and compare rgb everytime, or is there an easier way? Pattern("image.png"):color()
|
|
aikz
New Member
Posts: 15
|
Post by aikz on Oct 19, 2021 11:50:21 GMT
This is really nice! Thank you!
I'm new to LUA scripting and was wondering why it outputs like this:
image = { SkipArenaDialogue_region = Region(1167, 0, 113, 75), Confirm_region = Region(1111, 626, 127, 71), }
As it doesn't define the actual image anywhere?
Right now I use the information above to write up this:
touchList[index] = {target = "SkipArenaDialogue.png", region = Region(1167, 0, 113, 75), id = "1", action = 'click'} index = index + 1
etc.
But I assume there's a reason for the way the output gets sorted with "image = { }" How can I best put this to use?
Hope this makes sense..
Regards, Aikz
|
|