Good Day.
I am trying to get a text from a website ( Activities - Get OCR Text (uipath.com) ) using the Get Text OCR. However, I am encountering this kind or error:
May I know the possible cause and solution for the said error?
Kindly see attached file for the .xaml file. Thank you.
Main.xaml (8.3 KB)
Best regards,
Robert
Yoichi
(Yoichi)
June 6, 2023, 12:34am
2
Hi,
The following post will help you.
HI,
In my environment, the following steps solved this issue. Can you try this?
First, put GetTextOCR and TesseractOCR. Error will be shown.
[image]
Then, clear Image property of TesseractOCR
[image]
Next, retype Image at Image property. Error will disappear.
[image]
Regards,
Regards,
Hi Sir @Yoichi , thank you for your help. It worked!
I just have another question related to this topic. I am trying to output the text from the picture but the output becomes like this:
May I know the solution for the said question?
Kindly see attached file for the .xaml file. Thank you.
Main.xaml (8.5 KB)
Best regards,
Robert
Yoichi
(Yoichi)
June 6, 2023, 1:19am
4
HI,
For now, can you try to turn on Highlight element in ribbon menu, then check if the activity get image where you expect?
Regards,
It somehow highlighted the text but it came up with this output:
Best regards,
Robert
Yoichi
(Yoichi)
June 6, 2023, 2:00am
6
Hi,
It seems strange… I tried your workflow (re-indicate other target) , and it works well.
For now ,can you try to put new GetOCRText and TesseractOCR then retry?
Regards,
Hi,
I retried to put new Get OCR Text and Tesseract OCR but it didn’t output the desired text.
Did the selector affect the output?
Best regards,
Robert
Yoichi
(Yoichi)
June 6, 2023, 2:47am
8
Hi,
It might be captured not target image but workflow. Can you try not Debug but Run (or Run file)?
Regards,
Hi Sir @Yoichi ! I tried to rerun it and it finally worked. Thank you for your help.
Best regards,
Robert