You are here: Start » AVL.NET » AVS.ReadSingleQRCode Method

AVS.ReadSingleQRCode Method

Detects and recognizes a single QR code on the input image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ReadSingleQRCode
(
	AvlNet.Image inImage,
	float inMinModuleSize,
	float inMaxModuleSize,
	bool inAllowRotation,
	AvlNet.Polarity inPolarity,
	INullable<AvlNet.QRCode> outQRCode
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inMinModuleSizefloat<1.5f, 100.0f>4.0fLower estimated size of a code unit in pixels. Default value: 4.0f.
inMaxModuleSizefloat<1.5f, 100.0f>40.0fUpper estimated size of a code unit in pixels. Default value: 40.0f.
inAllowRotationboolTrueAllows codes rotated in relation to the axes of the input image. Default value: True.
inPolarityAvlNet.PolarityAnySpecifies whether code is darker or brighter than the background. Default value: Any.
outQRCodeAvlNet.INullable<AvlNet.QRCode> This parameter cannot be null.

Function Overrides

See also