Built-in OCR Data Capture plugins

NamePatternDescription

String

 Optional.

Returns a text value.

In case the pattern is empty, it returns the text extracted by OCR.

In case the pattern is not empty, it returns the text extracted by OCR that matches the pattern exactly once.

In case the text extracted by OCR is empty, it throws an exception.

In case the pattern is not empty and the text extracted by OCR doesn't match the pattern exactly once, it throws an exception.

Number

Optional.

Returns a number.

In case the pattern is empty, it  returns a number based on the text extracted by OCR.

In case the pattern is not empty, it returns a number based on the text extracted by OCR that matches the pattern.

In case the text extracted by OCR is empty, it throws an exception.

In case the pattern is not empty but the text extracted by OCR doesn't match the pattern, it throws an exception.

In case the text extracted cannot be converted to a number, it throws an exception.

Date

Mandatory.

Returns a Calendar value.

In case the pattern is not empty, it returns a Calendar based on the text extracted by OCR and the pattern.

In case the pattern is empty, it throws an exception.

In case the text extracted by OCR is empty, it throws an exception.

In case the text extracted cannot be converted to a Calendar, it throws an exception.

Barcode

Optional.

Returns barcode text.

In case the pattern is empty, it returns the text extracted by a Barcode engine.

In case the pattern is not empty, it returns the text extracted by a Barcode engine that matches the pattern.

In case the text extracted by a Barcode engine is empty, it throws an exception.

In case the pattern is not empty but the text extracted by a Barcode engine doesn't match the pattern, it throws an exception.

 

Table of contents [ Hide Show ]