Class TireMakeConfig
-
- All Implemented Interfaces:
public class TireMakeConfig
Configuration for scanning Tire Makes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
TireMakeConfig.UpsideDownMode
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
Field Summary
Fields Modifier and Type Field Description public TireMakeConfig.UpsideDownMode
upsideDownMode
public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description TireMakeConfig()
-
Method Summary
Modifier and Type Method Description TireMakeConfig.UpsideDownMode
getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. void
setUpsideDownMode(TireMakeConfig.UpsideDownMode upsideDownMode)
Sets whether the text shall also be scanned upside-down. Integer
getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result. void
setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result. String
getValidationRegex()
Sets a regular expression which the tire make text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the tire make text needs to match in order to trigger a scan result. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-