EOCR2::Detect

Finds the text in an image as follows:
(1) Detects potential characters in the image following the given text polarity.
(2) Fits bounding boxes to the detected characters, following the given topology and character width/height.
(3) Extracts the detected characters from the image.
The detected characters are output as an EOCR2Text structure.

Namespace: Euresys::Open_eVision_2_11

[C++]

EOCR2Text Detect(
   const EROIBW8& srcRoi
)

EOCR2Text Detect(
   const EROIBW8& srcRoi,
   const ERegion& region
)

Parameters

srcRoi

The source image/ROI.

region

The region of interest where the detection is perfomed

Remarks

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

EOCR2.Detect

Finds the text in an image as follows:
(1) Detects potential characters in the image following the given text polarity.
(2) Fits bounding boxes to the detected characters, following the given topology and character width/height.
(3) Extracts the detected characters from the image.
The detected characters are output as an EOCR2Text structure.

Namespace: Euresys.Open_eVision_2_11

[C#]

Euresys.Open_eVision_2_11.EOCR2Text Detect(
   Euresys.Open_eVision_2_11.EROIBW8 srcRoi
)

Euresys.Open_eVision_2_11.EOCR2Text Detect(
   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 detection is perfomed

Remarks

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