I have a sequence that reads through files in a folder. Each of this file will go through Microsoft OCR. If files.Contains(“chicken”), print Message1. Else, print Message2.
However, if the files submitted are maybe zoomed in too much, the OCR cannot capture the correct area which contains the value. I get an error saying ArgumentNullException. How can I prevent UIPath from completely aborting the whole sequence just because of this one file.
The try/catch block will help for not running into an unhandled exception. But deriving a particular meaning from the existence of an exception shpould be avoided if it is possible
hi thank you so much for your help i need to know how could i read multiple jpg file in ocr using for each loop and what variable type should i declare