Page 1 of 1

Integrate with OCR Server using web service

PostPosted:Wed Mar 30, 2016 9:55 am
by storm8
dear all,
i want to integrate OpenKM with Enterprise OCR server, the OCR server will installed in stand alone server and the only way to integrate will be throw web service. i saw in application configuration that can be integrate throw invoke the command it self. but i didn't find any information about integrating using web service.so i want to know is there is any one who integrate with OCR using web service ??

Re: Integrate with OCR Server using web service

PostPosted:Wed Mar 30, 2016 10:41 am
by jllort
Your OpenKM server will be on linux or on windows ?

Re: Integrate with OCR Server using web service

PostPosted:Sun Apr 03, 2016 3:42 pm
by storm8
my OpenKM Server was installed in Linux Server, Ubuntu server

Re: Integrate with OCR Server using web service

PostPosted:Sun Apr 03, 2016 4:09 pm
by jllort
You should download portable dev environement ( we suggest install in VM with 2 cores and 4GB ram ) https://sourceforge.net/projects/openkmportabledev/

Then you must create a class like Tesseract3TextExtractor.java ( https://sourceforge.net/p/openkm/code/H ... actor.java ) and modify the method private String doOcr(File pdfImg) into the class PdfTextExtractor ( you will find it here https://sourceforge.net/p/openkm/code/H ... actor.java ).

Hope this information will be useful to you.

Re: Integrate with OCR Server using web service

PostPosted:Sun Apr 03, 2016 9:25 pm
by storm8
thank u, i will follow your advise and share the result with u

Re: Integrate with OCR Server using web service

PostPosted:Mon Apr 04, 2016 9:04 pm
by jllort
OK, If you success on it we can integrate in the OpenKM source code. Follow the steps I related before and you should get it. Take in mind that there's a crontab which processes the batch queue of pending document to be indexed. I will be useful for testing.