EOCR2::GetTextPolarity

EOCR2::SetTextPolarity

Sets the TextPolarity parameter for the segmentation algorithm. This will determine whether the algorithm searches for light blobs in a dark background or for dark blobs in a light background.

Namespace: Euresys::Open_eVision_2_11

[C++]

Euresys::Open_eVision_2_11::EasyOCR2TextPolarity GetTextPolarity()

void SetTextPolarity(Euresys::Open_eVision_2_11::EasyOCR2TextPolarity polarity)

Remarks

Default setting is EasyOCR2TextPolarity_WhiteOnBlack.

EOCR2.TextPolarity

Sets the TextPolarity parameter for the segmentation algorithm. This will determine whether the algorithm searches for light blobs in a dark background or for dark blobs in a light background.

Namespace: Euresys.Open_eVision_2_11

[C#]

Euresys.Open_eVision_2_11.EasyOCR2TextPolarity TextPolarity

{ get; set; }

Remarks

Default setting is WhiteOnBlack.