Recognizing Batch documents after using Batch.CleanRecognitionResults()

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)

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

Was this article helpful?

1 out of 1 found this helpful



  • Avatar
    Scott Chau


    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.  

  • Avatar

    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


Please sign in to leave a comment.