03-13-2019 02:03 AM
Hi,
I am using alfresco for a long time. I scanned around 100,000 documents & uploaded into alfresco. But suddenly i faced a problem because it can't be read using it's content. If i scanned a document using a scanner having ocr then it can be. But, i don't have ocr on every scanner so i need to integrate OCR module into alfresco. I tried tesseract ocr & simple ocr, but both did not worked.
Thanks
03-21-2019 04:07 PM
You can take this as base:
03-13-2019 02:59 AM
Hi anuradha madhushani
Do you know this addon?
GitHub - keensoft/alfresco-simple-ocr: Simple OCR action for Alfresco
You can configure a rule which it executes the OCR action from this addon.
Regards.
03-21-2019 04:39 AM
I tried it. but not working. i am having CentOS 7 repository. I think pdfsandwitch not supported for this repository. OCRmyPDF also not installed i can't find whether its supported to CentOS 7 or not. What can i do??
Thank you.
03-21-2019 04:07 PM
You can take this as base:
01-08-2020 04:44 AM
Hello @angelborroy
I have this issue ... i'm using Ocrmypdf with alfresco ... Ocrmypdf work well manually using the command ... but when I use it with alfresco 'OCR action' does'nt work ... this is the log :
Caused by: java.lang.RuntimeException: org.alfresco.service.cmr.repository.ContentIOException: 000817996 Failed to perform OCR transformation:
Execution result:
os: Linux
command: /usr/local/bin/ocrmypdf --verbose 1 --force-ocr -l eng /opt/alfresco-community/tomcat/temp/Alfresco/OCRTransformWorker_source_4887267237326407155.pdf /opt/alfresco-community/tomcat/temp/Alfresco/OCRTransformWorker_source_4887267237326407155_ocr.pdf
succeeded: false
exit code: 1
out:
err: Traceback (most recent call last):
File "/usr/local/bin/ocrmypdf", line 5, in <module>
from ocrmypdf.__main__ import run
File "/root/.local/lib/python3.6/site-packages/ocrmypdf/__init__.py", line 20, in <module>
from .api import Verbosity
at es.keensoft.alfresco.ocr.OCRExtractAction.executeImplInternal(OCRExtractAction.java:183)
at es.keensoft.alfresco.ocr.OCRExtractAction.access$200(OCRExtractAction.java:38)
at es.keensoft.alfresco.ocr.OCRExtractAction$1.execute(OCRExtractAction.java:164)
at es.keensoft.alfresco.ocr.OCRExtractAction$1.execute(OCRExtractAction.java:161)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at es.keensoft.alfresco.ocr.OCRExtractAction.executeInNewTransaction(OCRExtractAction.java:169)
at es.keensoft.alfresco.ocr.OCRExtractAction.access$100(OCRExtractAction.java:38)
at es.keensoft.alfresco.ocr.OCRExtractAction$ExtractOCRTask.run(OCRExtractAction.java:151)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
thankx for your help
04-09-2021 01:21 PM
J'ai le méme probléme dans Windows ! comment je peux résoudre le probléme ??
03-27-2019 02:13 AM
ok. i am successfully installed pdfsandwitch also. after restarting alfresco, it displays ocr button. once i clicked it, below message loaded but nothing happen.
please help me. I am in a big trouble now
01-05-2020 09:27 AM
Dear @anuradha1
Have you fixed this problem ? because i still have this issue ... thank you for your help
01-05-2020 09:32 AM
dear @anuradha1
Have you fixed this problem ? I still have this issue ... thanks for your help
06-02-2019 02:03 PM
Thank you for all who helps to me. I did it with simple-ocr for my Linux installation. But now i need to do the same with an alfresco windows installation. Anyone knows a way to do that??
Any help will be appreciated.
Thank you.
Explore our Alfresco products with the links below. Use labels to filter content by product module.