Tesseract Integration In PEGA

Hi everyone

My Scenario - To obtain texts from a image containing some texts using Tess4j.

I have implemented it in Java Environment. After then i have imported the jar to pega, and trying to write a java code within the activity. Problem arises when i am trying to call ITeserract method (static method) from the activity. How to proceed with it?

Getting below error:

"Java at step: 2 line: 3
ITesseract cannot be resolved to a type
ITesseract cannot be resolved to a type
Compile failed."

Any help would be appreciated.

Thank You


Keep up to date on this post and subscribe to comments

October 17, 2019 - 8:12am

What version of Pega are you using? You may need to add your jars to the compilerPaths System>>Settings>>Compiler tab in dev portal - restart is needed.

October 17, 2019 - 8:30am

are you using full class name (like net.sourceforge.tess4j.ITesseract)?