Class MixedDecoder

  • All Implemented Interfaces:
    com.google.zxing.ResultPointCallback

    public class MixedDecoder
    extends Decoder
    Decoder that performs alternating scans in normal mode and inverted mode.
    • Constructor Detail

      • MixedDecoder

        public MixedDecoder​(com.google.zxing.Reader reader)
        Create a new Decoder with the specified Reader.

        It is recommended to use an instance of MultiFormatReader in most cases.

        Parameters:
        reader - the reader
    • Method Detail

      • toBitmap

        protected com.google.zxing.BinaryBitmap toBitmap​(com.google.zxing.LuminanceSource source)
        Given an image source, convert to a binary bitmap. Override this to use a custom binarizer.
        Overrides:
        toBitmap in class Decoder
        Parameters:
        source - the image source
        Returns:
        a BinaryBitmap