Community

Recognizing Batch documents after using Batch.CleanRecognitionResults()

Hi,
I am running a script from
Stage Tools -> Verification -> On User Command
After the execution of the script, for all documents in the batch the recognition results should be cleared and the recognition should be done again. This is easily possible via the GUI. Now I want to automate also this via script.

I'm already able to clean the reults via script:
foreach (IDocument Doc in Documents)
{
 Batch.CleanRecognitionResults(Doc);
}

But is it also possible to automatically run the recognition of the documents in the batch again? (equal to Right-click on the document -> Recognize / Ctrl+R)

Thanks, Philipp

1

Comments

2 comments

  • Avatar
    Scott Chau

    Philipp,

    I could be wrong but I don't think there is an option to "run" Recognize via script.  Recognize is usually done via an automatic stage or automatically when images are loaded.  This would probably be more of a feature request, you can take up with support.  

    0
  • Avatar
    ElliotG

    I don't think there is a way to recognize it locally/manually via a script, you have to send it to the recognition stage for the servers to handle the work

    -1

Please sign in to leave a comment.