View Source Image.QRcode (image v0.12.0)

Detects and decodes QRcodes.

Note that the implementation, which is based upon eVision requires that the image be a 3-channel image in order to support detection.

Images that are in different formats must be converted first.

Link to this section Summary

Functions

Detects and decodes a QR code in an image.

Link to this section Functions

Link to this function

decode(image)

View Source (since 0.9.0)

Detects and decodes a QR code in an image.

arguments

Arguments

returns

Returns

  • {:ok, string} or

  • {:error, reason}

note

Note

Only images with three bands (channels) are supported. This restriction may be lifted in a future release.