我嘗試整合OCR在Alfresco但沒有成功。我安設Alfresco整合OCR
alfresco-community-installer-201612-win-x64
之後,我用C安設的Tesseract:\程序文件(x86)\的Tesseract-OCR
然後我嘗試正方體在露天整合,
首先我用C創建:\露天社區bat文件OCR.bat
REM to see what happens
echo from %1 to %2 >>C:\tmp\ocrtransform.log
copy /Y %1 C:\TMP\%~n1%~x1
REM call tesseract and redirect output to $TARGET
"C:\Program Files (x86)\Tesseract-OCR\tesseract.exe" C:\TMP\%~n1%~x1 %~d2%~p2%~n2 -l eng
del C:\TMP\%~n1%~x1
然後三大改造中添加XML 「C:\露天社區\ tomcat的\共享\類\戶外\擴展」
ocrpng-transform-context.xml
ocrjpeg-transform-context.xml
ocrtiff-transform-context.xml
然後在創建與ocrtransform.log一個空文件名 「C:\ TMP」
和 Downolad此罐子從這個鏈路(https://docs.google.com/file/d/0B94FD2QmPSJCNHpuUVlicW95UjA/edit) 並將此罐中,該路徑「C:\露天\ tomcat的\ LIB」。
我使用這個鏈接
http://alfrescosolutionsv.blogspot.com/2014/07/alfresco-integration-with-tesseract.html
,但不工作。我在哪裏犯錯?我需要添加其他東西嗎?
任何建議,想法?