Class QRCodeEncoder


  • public class QRCodeEncoder
    extends java.lang.Object
    QR code encoder.
    • Constructor Detail

      • QRCodeEncoder

        protected QRCodeEncoder​(long addr)
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static QRCodeEncoder __fromPtr__​(long addr)
      • create

        public static QRCodeEncoder create​(QRCodeEncoder_Params parameters)
        Constructor
        Parameters:
        parameters - QR code encoder parameters QRCodeEncoder::Params
        Returns:
        automatically generated
      • create

        public static QRCodeEncoder create()
        Constructor
        Returns:
        automatically generated
      • encode

        public void encode​(java.lang.String encoded_info,
                           Mat qrcode)
        Generates QR code from input string.
        Parameters:
        encoded_info - Input string to encode.
        qrcode - Generated QR code.
      • encodeStructuredAppend

        public void encodeStructuredAppend​(java.lang.String encoded_info,
                                           java.util.List<Mat> qrcodes)
        Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
        Parameters:
        encoded_info - Input string to encode.
        qrcodes - Vector of generated QR codes.
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable