• OCR Relationship

  • Help us to improve OpenKM! Be part of the Open Source Community.
Help us to improve OpenKM! Be part of the Open Source Community.
Forum rules: Please, before asking something see the documentation wiki or use the forum search function.
 #41479  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
 #41488  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).
 #41497  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
 #41498  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
 #41500  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.
 #41508  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
 #41509  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
 #41511  by jllort
 
Should be tesseract.exe rather than tesseract
 #41513  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
 #41524  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
 #41533  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
 #41538  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 ?
 #41542  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
 #41546  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.