|
Post by incendie on Jan 31, 2017 23:26:00 GMT
The issue i'm having is the image recognition doesn't work in portrait mode. Is there a fix or does ankulua only work in landscape mode.
What I'm trying to do is click an app picture in android portrait mode.
|
|
|
Post by AnkuLua on Feb 1, 2017 0:03:04 GMT
Is it for the same app(game) or different ones? You should set different compareDimension for portrait mode.
|
|
|
Post by incendie on Feb 1, 2017 4:00:58 GMT
Is it for the same app(game) or different ones? You should set different compareDimension for portrait mode. It's for the same app on the same phone. It's 1920x1080 landscape when the game is running, while it can accidently go to the home screen in my pocket. It is 1080x1920 portrait mode on the homescreen. I want the script to click on the game app and return to the game but it never recognizes the image.
|
|
|
Post by AnkuLua on Feb 1, 2017 10:58:20 GMT
Why don't use startApp()?
|
|
|
Post by incendie on Feb 2, 2017 7:44:14 GMT
Why don't use startApp()? What is file location for summoners war? I can't seem to find it in any folder.
|
|
|
Post by AnkuLua on Feb 2, 2017 10:29:56 GMT
|
|
|
Post by incendie on Feb 4, 2017 3:49:04 GMT
I got it to work by using setCompareDimension(1080) instead. The startapp() function causes the game to pause for 2 seconds
|
|