←Select platform

ExtractPassport Method

Summary

Recognizes the MRTD field in the input stream if it exists.

Syntax
C#
VB
public Dictionary<string, string> ExtractPassport( 
   Stream input, 
   LoadDocumentOptions documentOptions, 
   IOcrEngine ocrEngine, 
   string workingDirectory 
) 
Public Function ExtractPassport( 
   ByVal input As Stream, 
   ByVal documentOptions As LoadDocumentOptions, 
   ByVal ocrEngine As IOcrEngine, 
   ByVal workingDirectory As String 
) As Dictionary(Of String, String) 

Parameters

input

Stream input containing the image or document to extract from.

documentOptions

The document options to use when loading the input.

ocrEngine

The OCR Engine instance to use when doing the recognition.

workingDirectory

The path to the directory where temporary work is to be done. If null is passed, the directory will default to the current system temporary folder.

Return Value

Returns a dictionary containing a key-value pair for each field found in the input stream.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CloudServices Assembly