Hints For Image Automation

Hi RPA Team,

So here is the most interesting topic in RPA, the image automation. Image automation can be achieved in all the RPA tools but the time of processing the image and drawing it might vary.


Without any further delay, I would like to give the hints to achieve the image automation.


1) Select a low pixel black and white image, if not edit it to black and white using some apps. (Source Images of my favorites)

2) Frame a VB  or C# code to extract the coordinates and RGB (Red,Green,Blue) values of the image, pixel by pixel and store it in a collection. (Top Secret 👀 👀)

3) Do general activities like launching the MS paint and spying the brush element with active accessibility mode and the space to draw, preferably with Win 32 mode if you are using Blueprism.
(For Automation Anywhere you can use the object cloning. )

4) Form a logical loop flow with the RGB values, if the values are close to 0 its is black or if it is close to 255 it is white. Use a decision stage to select black and white brush respectively. ( Less than 125 is Bla ! Bla !!  Black )

5) Alter the image coordinates accordingly to MS paint coordinates, to fit the drawing exactly at the center. (This is OPTIONAL !!!)




By,
Vishal
Follow Me Here



------------------------------------------HAPPY AUTOMATION--------------------------------------------












Comments

Post a Comment

Popular Posts