Detect Color at Pixel Coordinate

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
ar234948
Posts: 6
Joined: 01 Jun 2016 21:15

Detect Color at Pixel Coordinate

Post by ar234948 » 03 May 2017 20:07

I am requesting a determination / detection of a color at a specified pixel coordinate.

Thank you.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Detect Color at Pixel Coordinate

Post by Martin » 04 May 2017 19:10

Hi,

You could use action Take Screenshot to store the screen in a file, then load the image using Init Variable Image File and then use an action Script with function getPixelColor to determine the color of one pixel.
Please note that taking a screenshot is quite a slow process so it might not be a viable solution. Unfortunately Android provides no other way to access the screen so there's no way to improve the performance at the moment.

Regards,
Martin

Locked