# Error while using Google OCR in read pdf content

**URL:** <https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765>\
**Category:** Help\
**Tags:** ocr, pdf, activities\
**Created:** [June 3, 2017, 5:38pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765 "2017-06-03T17:38:28Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venky1377](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@Venky1377](https://forum.uipath.com/u/Venky1377)\
**Post date:** [June 3, 2017, 5:38pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/1 "2017-06-03T17:38:28Z")

</div>

![](https://global.discourse-cdn.com/uipath/original/2X/9/973ad380b17169c12293b9a8910495dc3d4c3dfc.png)

I’m getting this error while using Google OCR in my workflow.

Can you suggest how to overcome this.

Additionally :

 ![](https://global.discourse-cdn.com/uipath/original/2X/a/a7e3f3d8f306c4f35b1ea059067341599fdab0a7.png)

Thanks,  
Venky.

---

<div class="post-metadata">

**Author:** ![ddpadil](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ddpadil/32/49955_2.png) [@ddpadil](https://forum.uipath.com/u/ddpadil)\
**Post date:** [June 3, 2017, 6:34pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/2 "2017-06-03T18:34:19Z")

</div>

Hi,  
By looking at the screenshot it looks like your trying to scrape pdf by using screen scraping wizard .  
I suggest please use \*\*Read PDF Text (\*\*Native PDF) or **Read PDF with OCR** (Scanned PDF) activity and drop **Microsoft or google OCR** for better result inside the container…

---

<div class="post-metadata">

**Author:** ![Venky1377](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@Venky1377](https://forum.uipath.com/u/Venky1377)\
**Post date:** [June 3, 2017, 6:41pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/3 "2017-06-03T18:41:26Z")

</div>

reg. second screen shot , Yes- I tried to scrape PDF.

But reg. the first one - I have used “Read PDF with OCR” then dropped Google OCR to read.

Then i got the error.

---

<div class="post-metadata">

**Author:** ![ddpadil](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ddpadil/32/49955_2.png) [@ddpadil](https://forum.uipath.com/u/ddpadil)\
**Post date:** [June 4, 2017, 4:42am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/4 "2017-06-04T04:42:51Z")

</div>

Is it working fine with “ **Microsoft OCR Engine** ”.?  
Please attach the workflow.

---

<div class="post-metadata">

**Author:** ![Venky1377](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@Venky1377](https://forum.uipath.com/u/Venky1377)\
**Post date:** [June 5, 2017, 7:07am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/5 "2017-06-05T07:07:57Z")

</div>

No, Microsoft OCR is not appearing in activities panel. have updated all packages too, Still i did not get Microsoft OCR.

---

<div class="post-metadata">

**Author:** ![ddpadil](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ddpadil/32/49955_2.png) [@ddpadil](https://forum.uipath.com/u/ddpadil)\
**Post date:** [June 5, 2017, 7:23am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/6 "2017-06-05T07:23:09Z")

</div>

which version of UiPath your using.  
MS OCR comes by default for recent **version 2016.2.6274**  
Please refer.

> [@UiPath.Vision.Host has stopped working](https://forum.uipath.com/t/uipath-vision-host-has-stopped-working/683/7):
>
> Tejus, I followed your instructions below. The MS OCR option is now present in the drop down menu when recording screen scraping. However, as soon as the I rescrape the selected area using the MS OCR, I get an error message that the Vision Host has stopped working. This is the same problem I had before I tried using the 2013 version. I need to know why the MS OCR is crashing and how to fix it. Everything I’ve built in UiPath needs to use the MS OCR and the software becomes useless to me if…

---

<div class="post-metadata">

**Author:** ![manjunath.jp](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manjunath.jp](https://forum.uipath.com/u/manjunath.jp)\
**Post date:** [February 9, 2019, 7:51am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/7 "2019-02-09T07:51:54Z")

</div>

I’m using UiPath community edition software and I’m getting error stating “System.Exception: Error performing OCR: TessPreprocessError” while using Read PDF with OCR.  
Even screen scraping was also giving error when ever I use google OCR though the required package is present in the following location C:\Users\Monster.nuget\packages\uipath.vision\1.2.0\build\tessdata\eng.traineddata  
C:\Users\Monster.nuget\packages\uipath.vision\1.1.0\build\tessdata\eng.traineddata  
 ![image](https://global.discourse-cdn.com/uipath/original/3X/5/b/5bba5ac2460041386450536cca034888412d6ec9.png)

---

<div class="post-metadata">

**Author:** ![Naveen.Ch](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/naveen.ch/32/176864_2.png) [@Naveen.Ch](https://forum.uipath.com/u/Naveen.Ch)\
**Post date:** [February 9, 2019, 8:22am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/8 "2019-02-09T08:22:08Z")

</div>

Hi @manjunath.jp

Can you share your PDF file if it is not confidential  
And check your PDF package is updated version or not  
 ![image](https://global.discourse-cdn.com/uipath/original/3X/3/e/3eec8047cec7bd1f19341e532e8a06a9e1f5d709.png)

Best Regards,  
Naveen Ch

---

<div class="post-metadata">

**Author:** ![manjunath.jp](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manjunath.jp](https://forum.uipath.com/u/manjunath.jp)\
**Post date:** [February 9, 2019, 8:55am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/9 "2019-02-09T08:55:59Z")

</div>

Hi Naveen,  
PFA[Text and Image PDF.pdf](https://global.discourse-cdn.com/uipath/original/3X/2/8/28f40239d8f667b6f96bb1f1d0d09af3208aeaa7.pdf) (131.1 KB)

Yes, PDF package is updated version

---

<div class="post-metadata">

**Author:** ![houdaui](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@houdaui](https://forum.uipath.com/u/houdaui)\
**Post date:** [February 19, 2019, 2:47am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/10 "2019-02-19T02:47:01Z")

</div>

Hello i have the same error did you find any solution?

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [February 20, 2019, 11:52am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/11 "2019-02-20T11:52:19Z")

</div>

Hi @houdaui @manjunath.jp

Could you try installing this Windows Update: KB2533623.

---

<div class="post-metadata">

**Author:** ![manjunath.jp](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manjunath.jp](https://forum.uipath.com/u/manjunath.jp)\
**Post date:** [February 20, 2019, 4:28pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/12 "2019-02-20T16:28:04Z")

</div>

No, Still the same issue

---

<div class="post-metadata">

**Author:** ![manjunath.jp](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manjunath.jp](https://forum.uipath.com/u/manjunath.jp)\
**Post date:** [February 20, 2019, 4:42pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/13 "2019-02-20T16:42:53Z")

</div>

It is working after installing this Windows Update: KB2533623.  
Thank You everyone and specially @houdaui

---

<div class="post-metadata">

**Author:** ![kaluri](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kaluri/32/50135_2.png) [@kaluri](https://forum.uipath.com/u/kaluri)\
**Post date:** [February 27, 2019, 12:25pm UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/14 "2019-02-27T12:25:21Z")

</div>

Hi all,

Faced the similar kind of issue when trying to read the PDF text using **Read PDF Text using OCR activity**. I have used Microsoft OCR.

 ![image](https://global.discourse-cdn.com/uipath/original/3X/1/9/19bded7e923a591f17777288a32867d13ea5b395.png)

---

<div class="post-metadata">

**Author:** ![grbanares](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@grbanares](https://forum.uipath.com/u/grbanares)\
**Post date:** [May 27, 2019, 4:11am UTC](https://forum.uipath.com/t/error-while-using-google-ocr-in-read-pdf-content/5765/15 "2019-05-27T04:11:36Z")

</div>

Anyone got resolution for this yet? I’m using Windows 10 and UiPath v. 2019.4.3. Thank you!
