Built in OCR Data Capture plugins

NamePatternDescription

String

 Optional.

Return a text value.

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

If the pattern is not empty, it returns the text extracted by the OCR that matches the pattern.

If no text can be extracted by the OCR, it returns and Exception.

If the pattern is not empty and the text extracted by OCR doesn't match the pattern, it returns an exception.

Number

Optional.

Return a number.

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

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

If the text extracted by the OCR is empty, it returns an exception.

If the pattern is not empty and the text extracted by OCR doesn't match the pattern, it returns an exception.

If the text extracted can not be converted into a number, it returns an exception.

Date

Mandatory.

Returns a Calendar value.

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

If the pattern is empty, it returns an exception.

If the text extracted by the OCR is empty, it returns an exception.

If the text extracted can not be converted to a Calendar value, it returns an exception.

Barcode

Optional.

Return barcode text.

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

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

If the text extracted by a Barcode engine is empty, it returns an exception.

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