Get Ocr text fails when run through orchestrator

orchestrator
robot
imageautomation
readpdf

#1

Iam trying to read a text from a pdf.The pdf contains scanned copy of an image.

SO I use Get ocr text activity and when I run through Ui path studio, I get correct value of output from pdf.

But when Iam running through Orchestartor, Iam getting wrong value of output.

Please help me.


#2

@maria.josephina

Usually it won’t happen. If you run thru studio or Orchestrator, the robot functionality won’t change.
Make sure that for OCR Text, the window will be visible.

Regards,
Karthik Byggari


#3

@KarthikByggari
Yes the window is visible.
It is actually reading some other text.


#4

Does Resolution has got any significance here?


#5

OCR Text behaves differently for different resolutions, backgrounds etc., Try with a suitable OCR (Google, Microsoft).

As far I know the problem is strange.

Regards,
Karthik Byggari


#6

I have set the resolution proprties inside Robot settings and tried. Still its not working.
Also tried with google and icrosoft ocrs; But not working
@KarthikByggari


#7

Can you able to see the remote desktop (where the robot is running) what is happening exactly while robot is running ?

I don’t see any issue here. Everything is fine.

Regards,
Karthik Byggari


#8

When the robot starts running through orchestrator, the active remote session turns off in my system.


#9

Can you try setting loginToConsole FALSE, which will not turnoff your remote login session. so, you can see the robot running.


#10

I will share the program here.
Main.xaml (9.2 KB)


#11

Let me try with your document. Currently I don’t have access to my system. I will let you know as early as possible.

Regards,
Karthik Byggari


#12

@KarthikByggari
Hi Karhik,

It worked when I set loginToConsole FALSE in Orchestrator, and it was reading the ocr texts correctly from pdf file.
But Now I tried the same again, It is not working.
If I am running the process through Orchestrator and if I open the remote desktop and watch what is happening, I could see that the ocr texts are correctly read.

Could you please help me know whats the issue.

Thanks in advance


#13

@maria.josephina

It looks strange. Can you please record the screen on remote desktop while robot is running. And see what is happening in the background when triggered thru Orchestrator.

I will check your workflow files and see I found something.

Regards,
Karthik Byggari