Required module order
The v2 document modules must run in the following order:- Document Classification
- Document Extraction
- Document Authentication
Document Classification produces the anchor image, so a Facematch Verification module can run in parallel with Document Extraction and Document Authentication. To learn more, refer to the Combine document and biometric modules guide.
Example 1: Evaluation node after classification moduleΒ
You can use an evaluation node after the classification node, like this:Β
Example 2: Without an evaluation node after the Document Classification moduleΒ
Document modules can be run without an evaluation node first, as described in the previous section. This time, classification runs first, followed by Document Extraction and then Document Authentication, with evaluation occurring after all modules complete, like this:
Best practices for document module groupingΒ
- Start with the Document Classification module. The module scans the submitted document to determine its type and validity.Β
- Add evaluation after Document Classification. You can include an evaluation step after the Document Classification module as a best practice. If a document is classified successfully, then the other modules run.
- Keep Document Extraction before Document Authentication. Authentication depends on the extracted fields, so it canβt run first or in parallel with extraction.
The required order of the document modules is fixed, but the evaluation steps around them are provided as examples. Choose the evaluation and routing that best fits your use case.