Class ConfigMicroQrCode

All Implemented Interfaces:
Configuration, Serializable

public class ConfigMicroQrCode extends Object implements Configuration
Configuration for MicroQrCodePreciseDetector
See Also:
  • 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
    • forceEncoding

      @Nullable public @Nullable String forceEncoding
      If not null, then when decoding BYTE mode data it will always use this encoding. This can be desirable if the automatic encoding detection is making a mistake or if you know the data is binary. For binary data you should set this to EciEncoding.BINARY.
    • defaultEncoding

      public String defaultEncoding
      Fore BYTE mode, if the auto encoding detection decides it's not UTF-8 then it will use this encoding. Depending on which QR code standard you are following (few people follow either) it should be EciEncoding.ISO8859_1 or EciEncoding.JIS.
    • 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

    • ConfigMicroQrCode

      public ConfigMicroQrCode()
  • Method Details