You are viewing limited content. For full access, please sign in.

Question

Question

How to know when OCR is complete on a document or if a document has text

asked on May 27, 2014

As posted here  Page Count does not necessarily mean OCR is complete.

 

https://answers.laserfiche.com/questions/53352/How-does-workflow-know-when-a-document-OCR-is-complete

 

I am looking for a way to know when OCR is complete or if a document has text associated with it. Sometimes documents with no pages are complete, you can generate text without generating pages, in other cases document with no text (such as Quickfield entries) have pages. They have pages but are not done being OCRed.

 

I just need a starting rule that says Entry Changed AND Text Available.

0 0

Replies

replied on May 28, 2014 Show version history

There is no starting rule for Text Available, but inside a workflow, the Find Entry activity exposes the properties Has Text, which is a true false value for text, and OCRed pages, which can be blank if there are no pages or have the value "All", "None" or "Some". 

 

For your starting rule, you might be able to do something like an Entry Created rule with an Entry Changes condition that checks for 'Page Written' or 'Page Created' 

0 0
replied on May 28, 2014

Ok, I was worried about having a conditional exit in this project. It would not be as efficient as ensuring the OCR server is done before making any assumptions about failures, etc.

 

I didn't want the workflow kicking off say when the entry has been modified but the OCR server is not complete or another action caused a modification.

 

It does seem to work well with no conditions though, as long as that is reliable it wouldn't be so bad to assume there was a problem if there is no text.

 

I just hope the services don't initiate any false positive entry changed events that cause it to look for text when it should not be and assuming something went wrong.

 

The OCR server does not appear to be creating any pages, the pages already exist, they just don't have text.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.