Skip to main content
Version: 6.28.1

Advanced Configurations

The are several advanced configurations that can be used to customize the behavior of the ID Capture SDK and enable additional features.

Capture both the front and the back side of documents

By default, when IdDocumentType.DlViz or IdDocumentType.IdCardViz are selected, Id Capture scans only the front side of documents. Sometimes however, you may be interested in extracting combined information from both the front and the back side.

Currently the combined result contains the following information:

  • AAMVA-compliant documents (for example US Driver’s Licenses): the human-readable front side of the document and the data encoded in the PDF417 barcode in the back;
  • European IDs: the human-readable sections of the front and the back side, and the data encoded in the Machine Readable Zone (MRZ);
  • Other documents: the human-readable section of the front and the back side (if present).

First, enable scanning of both sides of documents in IdCaptureSettings:

settings.SupportedDocuments = IdDocumentType.IdCardViz | IdDocumentType.DlViz;
settings.SupportedSides = SupportedSides.FrontAndBack;

Start by scanning the front side of a document. After you receive the result in IIdCaptureListener, inspect VizResult.BackSideCaptureSupported. If scanning of the back side of your document is supported, flip the document and capture the back side as well. The next result that you receive is a combined result that contains the information from both sides. You may verify this by checking VizResult.CapturedSides. After both sides of the document are scanned, you may proceed with another document.

Sometimes, you may not be interested in scanning the back side of a document, after you completed the front scan. For example, your user may decide to cancel the process. Internally, Id Capture maintains the state of the scan, that helps it to provide better combined results. To abandon capturing the back of a document, reset this state by calling:

idCapture.Reset();

Otherwise, Id Capture may assume that the front side of a new document is actually the back side of an old one, and provide you with nonsensical results.

Use ID Validate to detect fake IDs

ID Validate is a fake ID detection software. It currently supports documents that follow the Driver License/Identification Card specification by the American Association of Motor Vehicle Administrators (AAMVA).

The following verifier is available:

To enable ID Validate for your subscription, please reach out to Scandit Support.