# Extraction is not working in PEGA OCR Component as expected

**URL:** <https://forums.pega.com/t/extraction-is-not-working-in-pega-ocr-component-as-expected/6991>\
**Category:** General\
**Tags:** intelligent-document-processing, email, consumer-services, 8-6, system-architect\
**Created:** [May 17, 2024, 6:11pm UTC](https://forums.pega.com/t/extraction-is-not-working-in-pega-ocr-component-as-expected/6991 "2024-05-17T18:11:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharathan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bharathan/32/11102_2.png) [@Bharathan](https://forums.pega.com/u/Bharathan)\
**Post date:** [May 17, 2024, 6:11pm UTC](https://forums.pega.com/t/extraction-is-not-working-in-pega-ocr-component-as-expected/6991/1 "2024-05-17T18:11:42Z")

</div>

Hi,

We’ve followed the installation guide to set up the Pega OCR Component. Currently, we’re testing the functionality by sending an image to an email listener and verifying if the content within the image is successfully extracted. However, we encountered an error in the log file. Does anyone have insights into resolving this issue?

```auto
2024-05-17 20:19:53,982 [gine-single-thread-0] [] [] [] (or.Data_AbbyyFineReader.Action) ERROR - ABBYY Text Extractor error: Internal program error: 
Src/Cache/CacheImpl.cpp, 556. 
com.abbyy.FREngine.EngineException: Internal program error: 
Src/Cache/CacheImpl.cpp, 556. 
	at com.abbyy.FREngine.IFRDocument.Process(Native Method) ~[pega.ocr.component.jar:?] 
	at com.pegarules.generated.activity.ra_action_abbyytextextractor_63d7a9c7c75f454954ee19d8e3a46f9d$1.execute(ra_action_abbyytextextractor_63d7a9c7c75f454954ee19d8e3a46f9d.java:494) ~[?:?] 
	at com.pega.platform.abbyy.AbbyyEngineAccessor.lambda$runJob$1(AbbyyEngineAccessor.java:108) ~[pega.ocr.component.jar:?] 
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_131] 
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_131] 
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] 
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] 
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] 

```

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [June 4, 2024, 11:24am UTC](https://forums.pega.com/t/extraction-is-not-working-in-pega-ocr-component-as-expected/6991/2 "2024-06-04T11:24:58Z")

</div>

@Bharathan An error setting up the OCR component with AbbyyEngineAccessor can be caused by the location where the engine is installed. If the engine is installed in a location like /root/, it may run into access issues. Installing the engine in a location like /opt/ can resolve this issue.

⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.

[Problem installing OCR Component](https://support.pega.com/question/problem-installing-ocr-component)

If you still need help please log a support issue via the MSP and provide the INC id here so we can help track it.
