View Source Evision.QRCodeEncoder (Evision v0.2.9)
Summary
Functions
Constructor
Constructor
Generates QR code from input string.
Generates QR code from input string.
Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
Types
@type t() :: %Evision.QRCodeEncoder{ref: reference()}
Type that represents an QRCodeEncoder
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
Constructor
Keyword Arguments
parameters:
Evision.QRCodeEncoder.Params.t()
.QR code encoder parameters QRCodeEncoder::Params
Return
- retval:
Evision.QRCodeEncoder.t()
Python prototype (for reference only):
create([, parameters]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create([{:parameters, term()}] | nil) :: t() | {:error, String.t()}
Constructor
Keyword Arguments
parameters:
Evision.QRCodeEncoder.Params.t()
.QR code encoder parameters QRCodeEncoder::Params
Return
- retval:
Evision.QRCodeEncoder.t()
Python prototype (for reference only):
create([, parameters]) -> retval
@spec encode(t(), binary()) :: Evision.Mat.t() | {:error, String.t()}
Generates QR code from input string.
Positional Arguments
self:
Evision.QRCodeEncoder.t()
encoded_info:
String
.Input string to encode.
Return
qrcode:
Evision.Mat.t()
.Generated QR code.
Python prototype (for reference only):
encode(encoded_info[, qrcode]) -> qrcode
@spec encode(t(), binary(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
Generates QR code from input string.
Positional Arguments
self:
Evision.QRCodeEncoder.t()
encoded_info:
String
.Input string to encode.
Return
qrcode:
Evision.Mat.t()
.Generated QR code.
Python prototype (for reference only):
encode(encoded_info[, qrcode]) -> qrcode
@spec encodeStructuredAppend(t(), binary()) :: [Evision.Mat.t()] | {:error, String.t()}
Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
Positional Arguments
self:
Evision.QRCodeEncoder.t()
encoded_info:
String
.Input string to encode.
Return
qrcodes:
[Evision.Mat]
.Vector of generated QR codes.
Python prototype (for reference only):
encodeStructuredAppend(encoded_info[, qrcodes]) -> qrcodes
@spec encodeStructuredAppend(t(), binary(), [{atom(), term()}, ...] | nil) :: [Evision.Mat.t()] | {:error, String.t()}
Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
Positional Arguments
self:
Evision.QRCodeEncoder.t()
encoded_info:
String
.Input string to encode.
Return
qrcodes:
[Evision.Mat]
.Vector of generated QR codes.
Python prototype (for reference only):
encodeStructuredAppend(encoded_info[, qrcodes]) -> qrcodes