to top
Datalogic APIs
public class

OCR

extends PropertyGroup
java.lang.Object
   ↳ com.datalogic.device.configuration.PropertyGroup
     ↳ com.datalogic.decode.configuration.OCR

Class Overview

OCR is the class that configure the MRZ reader.

Summary

Fields
public NumericProperty confidence confidence allows to set minimum confidence used by the OCR algorithm.
public BooleanProperty enable enable enables or disables the symbology.
public BooleanProperty idEnable idEnable allows to read official travel document in TD1 size.
public NumericProperty multiframe multiframe specifies how many decoded frames must match before accepting OCR data.
public BooleanProperty passportEnable passportEnable allows to read passport booklet in TD3 size.
public CharacterProperty userID userID specifies the symbology identifier (if any).
Public Constructors
OCR(PropertyGetter editor)
This is the constructor of OCR.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public NumericProperty confidence

Added in revision 29

confidence allows to set minimum confidence used by the OCR algorithm. An higher confidence decreases misdecoding probabilities.

public BooleanProperty enable

enable enables or disables the symbology.

public BooleanProperty idEnable

Added in revision 29

idEnable allows to read official travel document in TD1 size. The data of the machine-readable zone consists of three rows of 30 characters each.

public NumericProperty multiframe

Added in revision 30

multiframe specifies how many decoded frames must match before accepting OCR data.

public BooleanProperty passportEnable

Added in revision 29

passportEnable allows to read passport booklet in TD3 size. The data of the machine-readable zone consists of two rows of 44 characters each.

public CharacterProperty userID

userID specifies the symbology identifier (if any).
The symbology identifier is sent with the label when the global decode property sendCodeId is set to USERDEFINED_IDENTIFIER_BEFORE_LABEL or USERDEFINED_IDENTIFIER_AFTER_LABEL.

Public Constructors

public OCR (PropertyGetter editor)

Added in revision 29

This is the constructor of OCR. All symbology options are initialized by editor.

Parameters
editor A PropertyGetter used to load the current barcode family.