Class TireMakeConfig
-
- All Implemented Interfaces:
public class TireMakeConfigConfiguration for scanning Tire Makes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumTireMakeConfig.UpsideDownModeSets whether the text shall also be scanned upside-down. By default, it is disabled.
-
Field Summary
Fields Modifier and Type Field Description public TireMakeConfig.UpsideDownModeupsideDownModepublic IntegerminConfidencepublic StringvalidationRegex
-
Constructor Summary
Constructors Constructor Description TireMakeConfig()
-
Method Summary
Modifier and Type Method Description TireMakeConfig.UpsideDownModegetUpsideDownMode()Sets whether the text shall also be scanned upside-down. voidsetUpsideDownMode(TireMakeConfig.UpsideDownMode upsideDownMode)Sets whether the text shall also be scanned upside-down. IntegergetMinConfidence()Sets a minimum confidence which has to be reached in order to trigger a scan result. voidsetMinConfidence(Integer minConfidence)Sets a minimum confidence which has to be reached in order to trigger a scan result. StringgetValidationRegex()Sets a regular expression which the tire make text needs to match in order to trigger a scan result. voidsetValidationRegex(String validationRegex)Sets a regular expression which the tire make text needs to match in order to trigger a scan result. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getUpsideDownMode
TireMakeConfig.UpsideDownMode getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
setUpsideDownMode
void setUpsideDownMode(TireMakeConfig.UpsideDownMode upsideDownMode)
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
getMinConfidence
Integer getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
setMinConfidence
void setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
getValidationRegex
String getValidationRegex()
Sets a regular expression which the tire make text needs to match in order to trigger a scan result. E.g. "(Continental|Dunlop)" will only trigger on Continental or Dunlop tires.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the tire make text needs to match in order to trigger a scan result. E.g. "(Continental|Dunlop)" will only trigger on Continental or Dunlop tires.
-
hashCode
int hashCode()
-
-
-
-