detectAndDecode

open fun detectAndDecode(bitmap: Bitmap): List<String>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode

Return

list of decoded string.

Parameters

bitmap

open fun detectAndDecode(bitmap: Bitmap, points: List<Mat>): List<String>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode

Return

list of decoded string.

Parameters

bitmap
points

optional output array of vertices of the found QR code quadrangle. Will be empty if not found.


open fun detectAndDecode(img: Mat): List<String>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode

Return

list of decoded string.

Parameters

img

supports grayscale or color (BGR) image. empty if not found.


open fun detectAndDecode(img: Mat, points: List<Mat>): List<String>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode

Return

list of decoded string.

Parameters

img

supports grayscale or color (BGR) image.

points

optional output array of vertices of the found QR code quadrangle. Will be empty if not found.