Recognize

Performs field-zone OCR for Japanese machine print and Japanese handwriting.

Member of namespace

OCR_J

Syntax

bool Recognize ()

Returns

True if the action succeeds. Otherwise, the action returns False.

Level

Field level.

Details

Use this action to perform field-zone OCR for Japanese machine print and Japanese handwriting. As indicated by the following tables, you can configure this action’s OCR behavior by setting the specified DCO variables before you call this action.

Example:
InitializeEngine()
rrSet("3", "@F.rsFrameType")
rrSet("8", "@F.rsOcrType")
Recognize()
ReleaseEngine()

Frame type

The DCO variable rsFrameType specifies the frame type of the fields for which OCR is to be performed. The frame type is the way that fields are framed on the form by boxes, ticks, vertical lines, or other marks. Here are the valid values:
0 None (unconstrained field)
1 Normal
2 Individual
3 Field
4 Box
5 Ladder
6 Solid ladder

The default frame type is “0”.

OCR type

The DCO variable rsOcrType specifies the type of the characters for which OCR is to be performed. Here are the valid values:
1 Machine printed Japanese alpha characters
2 Machine printed numbers
4 Machine printed alpha-numeric characters
8 Handwritten numbers
16 Handwritten alpha-numeric characters
32 Handwritten Japanese alpha characters

The default OCR type is “1”.