Classify Fields as OCR and ICR
Field Type Classification is only available on 64-bit platforms.
Typical Field Type Classification Steps
- Instantiate a FormImage object. Objects of this class can only be created with bitonal, one bit per pixel images.
- Instantiate a FieldTypeClassificationProcessor object.
- Modify the FieldTypeClassificationProcessor.Area property with a field's location on the form.
- Call the FieldTypeClassificationProcessor.Identify method, passing the FormImage as a parameter.
- On successful completion, the FieldTypeClassificationProcessor.Identify method returns a FieldTypeResult object. Read the FieldTypeResult.FieldType property to identify the highest confidence FieldType, or iterate the FieldTypeResult.Matches property to read each confidence as a FieldTypeMatch object.
- Finally, dispose the FieldTypeClassificationProcessor and FormImage objects after they are no longer needed.