Package boofcv.factory.fiducial
Class ConfigMicroQrCode
java.lang.Object
boofcv.factory.fiducial.ConfigMicroQrCode
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigMicroQrCode extends Object implements Configuration
Configuration for
MicroQrCodePreciseDetector
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description boolean
considerTransposed
If true it will consider QR codes which have been incorrectly encoded with transposed bits.@Nullable String
forceEncoding
This forces the encoding in byte mode to use the specified encoding, unless one is specified by the ECI mode.ConfigPolygonDetector
polygon
Configuration for polygon detector that's used to find position patternsConfigThreshold
threshold
Specifies how images are thresholded and converted into a binary format -
Constructor Summary
Constructors Constructor Description ConfigMicroQrCode()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.static ConfigMicroQrCode
fast()
Default configuration for a QR Code detector which is optimized for speedConfigMicroQrCode
setTo(ConfigMicroQrCode src)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
threshold
Specifies how images are thresholded and converted into a binary format -
polygon
Configuration for polygon detector that's used to find position patterns -
forceEncoding
This forces the encoding in byte mode to use the specified encoding, unless one is specified by the ECI mode. If null an attempt to automatically determine the encoding is done, but will default to UTF-8 if there is any ambiguity. ISO 18004:2015 says it should be 8859-1 but most encoders and decoders use UTF-8 instead -
considerTransposed
public boolean considerTransposedIf true it will consider QR codes which have been incorrectly encoded with transposed bits. Set to false if you know your markers are standard compliant and want a modest speed boost.
-
-
Constructor Details
-
ConfigMicroQrCode
public ConfigMicroQrCode()
-
-
Method Details
-
fast
Default configuration for a QR Code detector which is optimized for speed -
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-