to top
Datalogic APIs
public class

SnapOcrRoiSettings

extends SerializableBlob
java.lang.Object
   ↳ com.datalogic.device.configuration.SerializableBlob
     ↳ com.datalogic.decode.configuration.SnapOcrRoiSettings

Class Overview

Class defining the ROI settings used in Snap OCR when the first selection mode is set to ROI_PROPOSE or ROI_SEND.

Summary

Nested Classes
class SnapOcrRoiSettings.InternalRoi A single ROI inside of the reference ROI. 
class SnapOcrRoiSettings.ReferenceRoi The reference ROI inside of which, all the ROIs are defined. 
Public Constructors
SnapOcrRoiSettings(SnapOcrRoiSettings.ReferenceRoi referenceRoi, List<SnapOcrRoiSettings.InternalRoi> internalRois)
Default constructor.
Public Methods
List<SnapOcrRoiSettings.InternalRoi> getInternalRois()
Gets the configured internal ROIs.
SnapOcrRoiSettings.ReferenceRoi getReferenceRoi()
Gets the configured Reference ROI.
void setInternalRois(List<SnapOcrRoiSettings.InternalRoi> internalRois)
Sets the desired internal ROIs.
void setReferenceRoi(SnapOcrRoiSettings.ReferenceRoi referenceRoi)
Sets the desired Reference ROI.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.SerializableBlob
From class java.lang.Object

Public Constructors

public SnapOcrRoiSettings (SnapOcrRoiSettings.ReferenceRoi referenceRoi, List<SnapOcrRoiSettings.InternalRoi> internalRois)

Added in revision 41

Default constructor.

Parameters
referenceRoi The reference ROI to use.
internalRois A list of ROIs inside the reference ROI.

Public Methods

public List<SnapOcrRoiSettings.InternalRoi> getInternalRois ()

Added in revision 41

Gets the configured internal ROIs.

Returns
  • The internal ROIs.

public SnapOcrRoiSettings.ReferenceRoi getReferenceRoi ()

Added in revision 41

Gets the configured Reference ROI.

Returns
  • The Reference ROI.

public void setInternalRois (List<SnapOcrRoiSettings.InternalRoi> internalRois)

Added in revision 41

Sets the desired internal ROIs.

Parameters
internalRois The desired internal ROIs.

public void setReferenceRoi (SnapOcrRoiSettings.ReferenceRoi referenceRoi)

Added in revision 41

Sets the desired Reference ROI.

Parameters
referenceRoi The desired Reference ROI.