Page 1 of 2

OCR Relationship

PostPosted:Tue Mar 22, 2016 8:19 pm
by alkadeem
Hello guys
How can I create relation between the documents where I search for specific name or number show me all the documents have the same ,,
Thank you

Re: OCR Relationship

PostPosted:Thu Mar 24, 2016 10:29 am
by jllort
If you have relevant information in your documents, you should extract it and set into metadata ( are several ways for doing it, OCR is one ). When you have it on metadata files then you can do this kind of queries. If you show me some screenshot of your documents and sections you are using for searching I can try to give you some ideas for getting it ( hope we are talking about structured documents or something where we can work with patterns for retrieving information).

Re: OCR Relationship

PostPosted:Thu Mar 24, 2016 10:19 pm
by alkadeem
Hello Friend,,
Thank you for you answer ,,
actually ,, I am trying to capture value from OCR template automatically , how can I do this?
I mean , I capture just first scanned document after that OCR does it automatically ...
Thank you

Re: OCR Relationship

PostPosted:Thu Mar 24, 2016 10:27 pm
by alkadeem
Hello Friend
I am working on trial professional version ....
I can not create metadata ..
How can create it because it does not give me permission ...
please help me...
Thank you

OCR Template

PostPosted:Fri Mar 25, 2016 7:06 am
by alkadeem
hello
when I press check in OCR template show me this error ..
please help me to fix it.
thank you...


Type Exception report
Code: Select all
message IOException: Unsupported OCR engine: 

description The server encountered an internal error that prevented it from fulfilling this request.

exception 
com.openkm.ocr.template.d: IOException: Unsupported OCR engine: 
	com.openkm.ocr.template.f.a(Unknown Source)
	com.openkm.servlet.admin.OCRTemplateServlet.k(Unknown Source)
	com.openkm.servlet.admin.OCRTemplateServlet.doGet(Unknown Source)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)



root cause 
java.io.IOException: Unsupported OCR engine: 
	com.openkm.plugin.extractor.OCRTextExtractor.extractText(Unknown Source)
	com.openkm.ocr.template.f.a(Unknown Source)
	com.openkm.servlet.admin.OCRTemplateServlet.k(Unknown Source)
	com.openkm.servlet.admin.OCRTemplateServlet.doGet(Unknown Source)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.61 logs.

Re: OCR Relationship

PostPosted:Fri Mar 25, 2016 4:54 pm
by jllort

Re: OCR Relationship

PostPosted:Sat Mar 26, 2016 11:49 pm
by alkadeem
How can I configure this file on windows ?
How can I work on Tesseract GUI on windows ?
because I try to connect Tesseract with openkm ..
please help me
thank you

Re: OCR Relationship

PostPosted:Sun Mar 27, 2016 3:03 am
by alkadeem
I already configure it..
system.ocr = C:\Program Files (x86)\Tesseract-OCR\tesseract ${fileIn} ${fileOut} -l esp..
but still I have the same problem also how connect Tesseract OCR to openkm
Thank you

Re: OCR Relationship

PostPosted:Sun Mar 27, 2016 9:08 am
by jllort
Should be tesseract.exe rather than tesseract

Re: OCR Relationship

PostPosted:Mon Mar 28, 2016 4:27 am
by alkadeem
Hello Friend ..
Thank you for reply ..
I change that "system.ocr = C:\Program Files (x86)\Tesseract-OCR\tesseract.exe ${fileIn} ${fileOut} -l esp",I use tesseract.exe instead of tesseract
.. but I still have the same error..
I work on trial professional on windows 10.. if you have different answer please support me .
Thank you

Re: OCR Relationship

PostPosted:Wed Mar 30, 2016 10:17 am
by jllort
1-Go to Administration -> Tools -> Plugin
2-filter by TextExtractor
3-ensure:
CuneiformTextExtractor is disabled
Tesseract2TextExtractor is disabled
Tesseract3TextExtractor is disabled
OCRTextExtractor is enabled

Re: OCR Relationship

PostPosted:Thu Mar 31, 2016 9:38 am
by alkadeem
unfortunately does not work too..
my friend , I work in USA , I need to do some train on openKM before start on my project ..
could you connect with me and check my computer ,, maybe I have some problem in my software..
thank you

Re: OCR Relationship

PostPosted:Fri Apr 01, 2016 10:19 pm
by jllort
If you're trying to configure professional trial and you have some throuble on it, you should inquire at sales & team guys for it. It's in their hand decide what doing ( http://www.openkm.com/en/contact.html ).

Sure you are doing some mistake and some parameter or similar is not well configured. Which trial version did you installed ?

Re: OCR Relationship

PostPosted:Fri Apr 01, 2016 10:59 pm
by alkadeem
This version openkm-6.4.22-windows-installer ,,,
could you try to help me to fix the mistakes ,,,
please then I will contact to sale department ..
Thank you

Re: OCR Relationship

PostPosted:Sun Apr 03, 2016 4:01 pm
by jllort
Take a look into system.ocr will be only a single white space between each parameter
If this is not the problem, then we should take a look on it. Could be something related with your Windows 10. If you have another server for checking I suggest try it. We have still not checked on Windows 10, should going right like other Windows Os versions, but sometimes with Microsoft you get unexpected surprises.