As we know, the input to the business processes being automated can be in any format.
What if we have an image as an input which contains data?
Let’s look at it!!!
Implementation using UiPath :
Let us implement a workflow which consumes an image and extracts the text from it using various OCRs available.
Drag “Load Image” activity available under the UI Automation section into the designer panel and supply the Image file path to it.
Create an output image variable “our_Image” as shown.
Drag “Tesseract OCR” activity(use your desired OCR engine i.eMicrosoft, Abby…) into the designer panel and set the needed properties accordingly as shown below by passing the above-created image variable to it.
Save the extracted output into a string variable “extractedData” as shown.
Drag “Message Box” activity to display the extracted OCR output.
Finally, execute the workflow to display the extracted text 🙂
Click here to download the Source Code…
Hope it has helped you…