Allowed values for the class of pattern in EasyOCR. More...


Static Public Attributes | |
| int | Digit = 1 |
| Character belongs to class 0. | |
| int | UpperCase = 2 |
| Character belongs to class 1. | |
| int | LowerCase = 4 |
| Character belongs to class 2. | |
| int | Special = 8 |
| Character belongs to class 3. | |
| int | Extended = 16 |
| Character belongs to class 4. | |
| int | AllClasses = 2147483647 |
| Character belongs to all classes, from 0 to 31 included. | |
Static Protected Attributes | |
| int | _0 = 1 |
| Character belongs to class 0. | |
| int | _1 = 2 |
| Character belongs to class 1. | |
| int | _2 = 4 |
| Character belongs to class 2. | |
| int | _3 = 8 |
| Character belongs to class 3. | |
| int | _4 = 16 |
| Character belongs to class 4. | |
| int | _5 = 32 |
| Character belongs to class 5. | |
| int | _6 = 64 |
| Character belongs to class 6. | |
| int | _7 = 128 |
| Character belongs to class 7. | |
| int | _8 = 256 |
| Character belongs to class 8. | |
| int | _9 = 512 |
| Character belongs to class 9. | |
| int | _10 = 1024 |
| Character belongs to class 10. | |
| int | _11 = 2048 |
| Character belongs to class 11. | |
| int | _12 = 4096 |
| Character belongs to class 12. | |
| int | _13 = 8192 |
| Character belongs to class 13. | |
| int | _14 = 16384 |
| Character belongs to class 14. | |
| int | _15 = 32768 |
| Character belongs to class 15. | |
| int | _16 = 65536 |
| Character belongs to class 16. | |
| int | _17 = 131072 |
| Character belongs to class 17. | |
| int | _18 = 262144 |
| Character belongs to class 18. | |
| int | _19 = 524288 |
| Character belongs to class 19. | |
| int | _20 = 1048576 |
| Character belongs to class 20. | |
| int | _21 = 2097152 |
| Character belongs to class 21. | |
| int | _22 = 4194304 |
| Character belongs to class 22. | |
| int | _23 = 8388608 |
| Character belongs to class 23. | |
| int | _24 = 16777216 |
| Character belongs to class 24. | |
| int | _25 = 33554432 |
| Character belongs to class 25. | |
| int | _26 = 67108864 |
| Character belongs to class 26. | |
| int | _27 = 134217728 |
| Character belongs to class 27. | |
| int | _28 = 268435456 |
| Character belongs to class 28. | |
| int | _29 = 536870912 |
| Character belongs to class 29. | |
| int | _30 = 1073741824 |
| Character belongs to class 30. | |
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.
|
staticprotected |
Character belongs to class 0.
|
staticprotected |
Character belongs to class 1.
|
staticprotected |
Character belongs to class 10.
|
staticprotected |
Character belongs to class 11.
|
staticprotected |
Character belongs to class 12.
|
staticprotected |
Character belongs to class 13.
|
staticprotected |
Character belongs to class 14.
|
staticprotected |
Character belongs to class 15.
|
staticprotected |
Character belongs to class 16.
|
staticprotected |
Character belongs to class 17.
|
staticprotected |
Character belongs to class 18.
|
staticprotected |
Character belongs to class 19.
|
staticprotected |
Character belongs to class 2.
|
staticprotected |
Character belongs to class 20.
|
staticprotected |
Character belongs to class 21.
|
staticprotected |
Character belongs to class 22.
|
staticprotected |
Character belongs to class 23.
|
staticprotected |
Character belongs to class 24.
|
staticprotected |
Character belongs to class 25.
|
staticprotected |
Character belongs to class 26.
|
staticprotected |
Character belongs to class 27.
|
staticprotected |
Character belongs to class 28.
|
staticprotected |
Character belongs to class 29.
|
staticprotected |
Character belongs to class 3.
|
staticprotected |
Character belongs to class 30.
|
staticprotected |
Character belongs to class 4.
|
staticprotected |
Character belongs to class 5.
|
staticprotected |
Character belongs to class 6.
|
staticprotected |
Character belongs to class 7.
|
staticprotected |
Character belongs to class 8.
|
staticprotected |
Character belongs to class 9.
|
static |
Character belongs to all classes, from 0 to 31 included.
|
static |
Character belongs to class 0.
Equivalent to eVision.EOCRClass._0.
|
static |
Character belongs to class 4.
Equivalent to eVision.EOCRClass._4.
|
static |
Character belongs to class 2.
Equivalent to eVision.EOCRClass._2.
|
static |
Character belongs to class 3.
Equivalent to eVision.EOCRClass._3.
|
static |
Character belongs to class 1.
Equivalent to eVision.EOCRClass._1.