detect

fun detect(hints: Map<DecodeHintType?, *>? = null): DetectorResult

Detects a QR Code in an image.

Return

DetectorResult encapsulating results of detecting a QR Code

Throws

if QR Code cannot be found

if a QR Code cannot be decoded