Back to FabImage Library website

You are here: Start » Function Reference » Computer Vision » Datacodes » DecodeQRCode

DecodeQRCode


Header: FIL.h
Namespace: fil
Module: Datacodes

Translates a matrix of 0 or 1 values to a text in accordance to how QR codes are encoded.

Applications: Decoding of QR codes whose black and white segments have been determined in a non-standard way.

Syntax

C++
C#
 
void fil::DecodeQRCode
(
	const fil::Matrix& inBinaryMatrix,
	ftl::Conditional<ftl::String>& outDecodedText
)

Parameters

Name Type Default Description
Input value
inBinaryMatrix const Matrix& Square matrix of zero (black) and nonzero (white) values
Output value
outDecodedText Conditional<String>& Decoded text, if matrix represents valid code