I’m looking for the best way to open multiple images, scan their info (I used IDs as an example), and save them to an excel sheet. I used to have a working version, but for one it’s pretty primitive and each file has to be entered manually - and somehow, now that I wanted to use a “maximize window” option (because I realised that opening the photo in different sizes somehow messes up the OCR), it’s all gone to crap because somehow UiPath doesn’t recognise it anymore. I’m at my wits’ end and just so frustrated; I’ve had to go through the whole Relative-Image-Scraping-shindig about 20 times today, and there just has to be a better way, right?!
(I tried uploading the whole thing including the pictures zipped but the second image was too large, then I tried sizing it down into a jpg but then UiPath didn’t recognise it again and arrrghh).
I also tried looping the whole thing using an example I found in a forum here - looping through the images. That also simply won’t work, because UiPath somehow doesn’t find the images, even though I’ve done exactly the same thing as in the example:
Thank you for your reply. How do you mean using that exactly? I chose relative scraping because I figured it would need an info as to where on the picture it could find the info, in case the size or the layout changes slightly (because those seem to throw UiPath off). Furthermore, does the Get Text activity focus on the area or on the specific text? - The latter I think would mean that it only works for one specific kind of ID (where last name, first name etc. are the same), or?
Please install uipath.ai.computervison.activities package from package manager, please tick on checkbox for include prerelease, before that please install 19.2 version package of uiautomation. Activities from package manager.
Once done please use cv scope to ge the data and then use cv get text to get the text so this will work like anchor and you will get the desired output in string
Thank you for your explanation. Using CV Get Text solved most of my issues; however, I tried opening it on another laptop and the OCR results are terrible again. Is there any way to take care of this? They were just grand before, but they seem so unreliable.