EOCRClass Enum

Allowed values for the class of pattern in EasyOCR. These classes have no pre-defined meaning, the user is free to give them any meaning they like. For instance, class 0 could contains only digits, class 1 only the forward slash character, class 3 uppercase letters, etc. Any choice is allowed, as long as the correct classes are specified during the learning process. During recognition/reading, the user can specify the expected class for each character. This means that if a forward slash is expected at that position, they can say it should be class 1 (following the example from above). This will improve the recognition rate and speed because the algorithm only has to choose between characters within the specified class.

Namespace: Euresys::Open_eVision

EOCRClass__0
Character belongs to class 0.
EOCRClass__1
Character belongs to class 1.
EOCRClass__2
Character belongs to class 2.
EOCRClass__3
Character belongs to class 3.
EOCRClass__4
Character belongs to class 4.
EOCRClass__5
Character belongs to class 5.
EOCRClass__6
Character belongs to class 6.
EOCRClass__7
Character belongs to class 7.
EOCRClass__8
Character belongs to class 8.
EOCRClass__9
Character belongs to class 9.
EOCRClass__10
Character belongs to class 10.
EOCRClass__11
Character belongs to class 11.
EOCRClass__12
Character belongs to class 12.
EOCRClass__13
Character belongs to class 13.
EOCRClass__14
Character belongs to class 14.
EOCRClass__15
Character belongs to class 15.
EOCRClass__16
Character belongs to class 16.
EOCRClass__17
Character belongs to class 17.
EOCRClass__18
Character belongs to class 18.
EOCRClass__19
Character belongs to class 19.
EOCRClass__20
Character belongs to class 20.
EOCRClass__21
Character belongs to class 21.
EOCRClass__22
Character belongs to class 22.
EOCRClass__23
Character belongs to class 23.
EOCRClass__24
Character belongs to class 24.
EOCRClass__25
Character belongs to class 25.
EOCRClass__26
Character belongs to class 26.
EOCRClass__27
Character belongs to class 27.
EOCRClass__28
Character belongs to class 28.
EOCRClass__29
Character belongs to class 29.
EOCRClass__30
Character belongs to class 30.
EOCRClass_Digit
Character belongs to class 0. Equivalent to EOCRClass__0.
EOCRClass_UpperCase
Character belongs to class 1. Equivalent to EOCRClass__1.
EOCRClass_LowerCase
Character belongs to class 2. Equivalent to EOCRClass__2.
EOCRClass_Special
Character belongs to class 3. Equivalent to EOCRClass__3.
EOCRClass_Extended
Character belongs to class 4. Equivalent to EOCRClass__4.
EOCRClass_AllClasses
Character belongs to all classes, from 0 to 31 included.

EOCRClass Enum

Allowed values for the class of pattern in EasyOCR. These classes have no pre-defined meaning, the user is free to give them any meaning they like. For instance, class 0 could contains only digits, class 1 only the forward slash character, class 3 uppercase letters, etc. Any choice is allowed, as long as the correct classes are specified during the learning process. During recognition/reading, the user can specify the expected class for each character. This means that if a forward slash is expected at that position, they can say it should be class 1 (following the example from above). This will improve the recognition rate and speed because the algorithm only has to choose between characters within the specified class.

Namespace: Euresys.Open_eVision

_0
Character belongs to class 0.
_1
Character belongs to class 1.
_2
Character belongs to class 2.
_3
Character belongs to class 3.
_4
Character belongs to class 4.
_5
Character belongs to class 5.
_6
Character belongs to class 6.
_7
Character belongs to class 7.
_8
Character belongs to class 8.
_9
Character belongs to class 9.
_10
Character belongs to class 10.
_11
Character belongs to class 11.
_12
Character belongs to class 12.
_13
Character belongs to class 13.
_14
Character belongs to class 14.
_15
Character belongs to class 15.
_16
Character belongs to class 16.
_17
Character belongs to class 17.
_18
Character belongs to class 18.
_19
Character belongs to class 19.
_20
Character belongs to class 20.
_21
Character belongs to class 21.
_22
Character belongs to class 22.
_23
Character belongs to class 23.
_24
Character belongs to class 24.
_25
Character belongs to class 25.
_26
Character belongs to class 26.
_27
Character belongs to class 27.
_28
Character belongs to class 28.
_29
Character belongs to class 29.
_30
Character belongs to class 30.
Digit
Character belongs to class 0. Equivalent to _0.
UpperCase
Character belongs to class 1. Equivalent to _1.
LowerCase
Character belongs to class 2. Equivalent to _2.
Special
Character belongs to class 3. Equivalent to _3.
Extended
Character belongs to class 4. Equivalent to _4.
AllClasses
Character belongs to all classes, from 0 to 31 included.