QualitySettings

QualitySettings class

QualitySettings allows to configure recognition quality and speed manually.
You can quickly set up QualitySettings with embedded presets: HighPerformance, NormalQuality, HighQuality, MaxQuality or you can manually configure separate options.
Default value of QualitySettings is NormalQuality.

The QualitySettings type exposes the following members:

Properties

NameDescription
high_performanceHighPerformance recognition quality preset. High quality barcodes are recognized well in this mode.
normal_qualityNormalQuality recognition quality preset. Suitable for the most of barcodes
high_qualityHighQuality recognition quality preset. This preset is developed for low quality barcodes. Allows to detect highly damaged barcodes.
max_qualityMaxQuality recognition quality preset. This preset is developed to recognize all possible barcodes, even incorrect barcodes.
x_dimensionRecognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar.
minimal_x_dimensionMinimal size of XDimension in pixels which is used with UseMinimalXDimension.
barcode_qualityMode which enables methods to recognize barcode elements with the selected quality. Barcode element with lower quality requires more hard methods which slows the recognition.
deconvolutionDeconvolution (image restorations) mode which defines level of image degradation. Originally deconvolution is a function which can restore image degraded
(convoluted) by any natural function like blur, during obtaining image by camera. Because we cannot detect image function which corrupt the image,
we have to check most well know functions like sharp or mathematical morphology.
inverse_imageMode which enables or disables additional recognition of barcodes on images with inverted colors (luminance).
complex_backgroundMode which enables or disables additional recognition of color barcodes on color images.
allow_incorrect_barcodesAllows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.

See Also