EOCR2::Read

Performs all steps required for reading text from an image:
(1) Detects potential characters in the image following the given text polarity and character width/height.
(2) Fits bounding boxes to the detected characters, following the given topology and character width/height.
(3) Recognizes the detected characters using the given reference character database.
The read text is output as a string.

Namespace: Euresys::Open_eVision_2_11

[C++]

std::string Read(
   const EROIBW8& srcRoi
)

std::string Read(
   const EROIBW8& srcRoi,
   const ERegion& region
)

Parameters

srcRoi

The source image/ROI.

region

The region of interest where the reading is perfomed

Remarks

The variables TextPolarity, Topology, CharHeight, CharWidth should be set and a reference character database should be set before performing this operation. If the srcRoi is smaller than 3X3, an exception will be thrown.

EOCR2.Read

Performs all steps required for reading text from an image:
(1) Detects potential characters in the image following the given text polarity and character width/height.
(2) Fits bounding boxes to the detected characters, following the given topology and character width/height.
(3) Recognizes the detected characters using the given reference character database.
The read text is output as a string.

Namespace: Euresys.Open_eVision_2_11

[C#]

string Read(
   Euresys.Open_eVision_2_11.EROIBW8 srcRoi
)

string Read(
   Euresys.Open_eVision_2_11.EROIBW8 srcRoi,
   Euresys.Open_eVision_2_11.ERegion region
)

Parameters

srcRoi

The source image/ROI.

region

The region of interest where the reading is perfomed

Remarks

The variables TextPolarity, Topology, CharHeight, CharWidth should be set and a reference character database should be set before performing this operation. If the srcRoi is smaller than 3X3, an exception will be thrown.