BarcodeSvmDetectorSettings Class

Barcode detector settings.
Inheritance Hierarchy
SystemObject
  Aspose.BarCode.BarCodeRecognitionBarcodeSvmDetectorSettings

Namespace:  Aspose.BarCode.BarCodeRecognition
Assembly:  Aspose.BarCode (in Aspose.BarCode.dll) Version: 20.11.0
Syntax
public sealed class BarcodeSvmDetectorSettings

The BarcodeSvmDetectorSettings type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberHighPerformance
High performance detection preset.

Default for HighPerformance

Public propertyStatic memberHighQuality
High quality detection preset.

Default for HighQualityDetection and HighQuality

Public propertyStatic memberMaxQuality
Max quality detection preset.

Default for MaxQualityDetection and MaxBarCodes

Public propertyStatic memberNormalQuality
Normal quality detection preset.

Default for NormalQuality

Public propertyRegionLikelihoodThresholdPercent
Sets threshold for detected regions that may contain barcodes.

Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.

Public propertyScanWindowSizes
Scan window sizes in pixels.

Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality.

Public propertySimilarityCoef
Similarity coefficient depends on how homogeneous barcodes are.

Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9]

Public propertySkipDiagonalSearch
Allows detector to skip search for diagonal barcodes.

Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also