CVB.Net 15.0
Loading...
Searching...
No Matches

Configuration for QR codes. More...

Inherits ConfigBase< T >.

Public Member Functions

QR SetPolarity (Polarity polarity)
 Sets value for Polarity.
 
QR SetMirrorDecodingEnabled (bool enable)
 Sets value for IsMirrorDecodingEnabled.
 
QR SetPreciseCornersEnabled (bool enable)
 Sets value for IsPreciseCornersEnabled.
 
- Public Member Functions inherited from ConfigBase< T >
SetEnabled (bool enabled)
 Sets value for IsEnabled.
 

Properties

Polarity Polarity [get, set]
 Polarity.
 
bool IsMirrorDecodingEnabled [get, set]
 Enable/disable mirroring.
 
bool IsPreciseCornersEnabled [get, set]
 Enable/disable calculation of more precise corners.
 
- Properties inherited from ConfigBase
virtual bool IsEnabled [get, set]
 The enabled state of this symbology.
 
Decoder Decoder [get]
 Decoder this config belongs to.
 

Detailed Description

Configuration for QR codes.


For additional details on configuration including a code example, refer to the GetConfig<T>() method in the Decoder class.

Member Function Documentation

◆ SetMirrorDecodingEnabled()

QR SetMirrorDecodingEnabled ( bool enable)

Sets value for IsMirrorDecodingEnabled.

Parameters
enableValue for IsMirrorDecodingEnabled.
Returns
Configuration.

◆ SetPolarity()

QR SetPolarity ( Polarity polarity)

Sets value for Polarity.

Parameters
polarityValue for Polarity.
Returns
Configuration.

◆ SetPreciseCornersEnabled()

QR SetPreciseCornersEnabled ( bool enable)

Sets value for IsPreciseCornersEnabled.

Enables or disables the calculation of more precise corner coordinates. When a QR Code is decoded, the detected corners used for decoding may not be very precise. Use this setting to get more precise corner coordinates.

Parameters
enableValue for IsPreciseCornersEnabled.
Returns
Configuration.

Property Documentation

◆ IsMirrorDecodingEnabled

bool IsMirrorDecodingEnabled
getset

Enable/disable mirroring.

When enabled, both normal and mirror images will be decoded.