Link Search Menu Expand Document

HelpersAutodetectStandardFields Method (Stream, String, String, String, String)

Try to detect some standard fields such as Invoice Number, Invoice Date, Total, etc.

Namespace:ByteScout.DocumentParser
Assembly: ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax
public static TemplateObject[] AutodetectStandardFields(
	Stream inputStream,
	string templateCulture = null,
	string ocrLanguageDataFolder = null,
	string ocrLanguage = null,
	string documentPassword = null
)

Parameters

inputStream
Type: System.IOStream
Stream the contains the test document (PDF or image).
templateCulture (Optional)
Type: SystemString
Template culture. Default is "en-US".
ocrLanguageDataFolder (Optional)
Type: SystemString
Folder that contains OCR language data files.
ocrLanguage (Optional)
Type: SystemString
OCR language.
documentPassword (Optional)
Type: SystemString
PDF document password.

Return Value

Type: TemplateObject
Array of detected template objects.
See Also

Reference