eVision Python API
Loading...
Searching...
No Matches
eVision.EOCRColor Class Reference

Allowed values for the text color in EasyOCR. More...

Inheritance diagram for eVision.EOCRColor:
Collaboration diagram for eVision.EOCRColor:

Static Public Attributes

int BlackOnWhite = 0
 The characters appear darker than the background.
int WhiteOnBlack = 1
 The characters appear lighter than the background.
int DarkOnLight = 2
 The characters appear darker than the background.
int LightOnDark = 3
 The characters appear lighter than the background.

Detailed Description

Allowed values for the text color in EasyOCR.

Member Data Documentation

◆ BlackOnWhite

int eVision.EOCRColor.BlackOnWhite = 0
static

The characters appear darker than the background.

◆ DarkOnLight

int eVision.EOCRColor.DarkOnLight = 2
static

The characters appear darker than the background.

No thresholding takes place when the characters are learnt and/or recognized.

◆ LightOnDark

int eVision.EOCRColor.LightOnDark = 3
static

The characters appear lighter than the background.

No thresholding takes place when the characters are learnt and/or recognized.

◆ WhiteOnBlack

int eVision.EOCRColor.WhiteOnBlack = 1
static

The characters appear lighter than the background.