Class ConfigQrCode

java.lang.Object
boofcv.factory.fiducial.ConfigQrCode
All Implemented Interfaces:
Configuration, Serializable

public class ConfigQrCode
extends Object
implements Configuration
Configuration for QrCodePreciseDetector
See Also:
Serialized Form
  • Field Details

    • threshold

      public ConfigThreshold threshold
      Specifies how images are thresholded and converted into a binary format
    • polygon

      public ConfigPolygonDetector polygon
      Configuration for polygon detector that's used to find position patterns
    • versionMinimum

      public int versionMinimum
      Minimum and maximum assumed version of QR Codes. Can be used to reduce false positives, slightly.
    • versionMaximum

      public int versionMaximum
    • forceEncoding

      @Nullable public @Nullable String 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 considerTransposed
      If 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

    • ConfigQrCode

      public ConfigQrCode()
  • Method Details

    • fast

      public static ConfigQrCode fast()
      Default configuration for a QR Code detector which is optimized for speed
    • setTo

      public ConfigQrCode setTo​(ConfigQrCode src)
    • 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 interface Configuration