Class InvertedDecoder

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

    public class InvertedDecoder
    extends Decoder
    Created by leighmd on 11/2/16.
    • Constructor Detail

      • InvertedDecoder

        public InvertedDecoder​(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