How to extract data from image file

uiautomation

#1

hi all… I would like to extract data from image file or photos which is located in the system… how to extract the data by opening the image for ex… pic1 file path is c:/pictures/pic1.jpeg


#2

Hi @Sunitha_Bist,

In order to open this file, you could try the following code. Once you have it opened, you may check if it’s opened by using the Image Exists or Element exists activities, it will rely on which computer graphics app it will open.


#3

Hi acaciomelo
Tq for your response and I tried the same example but problem is with image exists element. it takes so much of time… is there any reason for it? how do i reduce the time


#4

Hi @Sunitha_Bist ,

Actually UiPath indeed takes some time to check if the image really exists, that’s why it’s recommended to use the Element exists since it’s faster. However, you could try to change the TimeOut property, then the interactions inside the Do while activity are going be faster, please give it a try and tell us.