Aspose::BarCode::BarCodeRecognition::QualitySettings Class Referencefinal

QualitySettings allows to configure recognition quality and speed manually. You can quickly set up QualitySettings by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of QualitySettings is NormalQuality. This sample shows how to use QualitySettings with BarCodeReader

[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high performance mode
reader.QualitySettings = QualitySettings.HighPerformance;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//normal quality mode is set by default
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high quality mode with low speed recognition
reader.QualitySettings = QualitySettings.HighQuality;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set max barcodes mode, which tries to find all possible barcodes, even incorrect. The slowest recognition mode
reader.QualitySettings = QualitySettings.MaxBarCodes;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high performance mode
reader.QualitySettings = QualitySettings.HighPerformance;
//set separate options
reader.QualitySettings.AllowMedianSmoothing = true;
reader.QualitySettings.MedianSmoothingWindowSize = 5;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//default mode is NormalQuality
//set separate options
reader.QualitySettings.AllowMedianSmoothing = true;
reader.QualitySettings.MedianSmoothingWindowSize = 5;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
More...

Inherits System::Object.

Public Member Functions

bool get_AllowInvertImage ()
 Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background. More...
 
void set_AllowInvertImage (bool value)
 Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background. More...
 
bool get_AllowIncorrectBarcodes ()
 Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text. More...
 
void set_AllowIncorrectBarcodes (bool value)
 Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text. More...
 
bool get_AllowComplexBackground ()
 Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. More...
 
void set_AllowComplexBackground (bool value)
 Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. More...
 
bool get_AllowMedianSmoothing ()
 Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. More...
 
void set_AllowMedianSmoothing (bool value)
 Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. More...
 
int32_t get_MedianSmoothingWindowSize ()
 Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. More...
 
void set_MedianSmoothingWindowSize (int32_t value)
 Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. More...
 
bool get_AllowRegularImage ()
 Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is. More...
 
void set_AllowRegularImage (bool value)
 Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is. More...
 
bool get_AllowDecreasedImage ()
 Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms. Mode helps to recognize barcodes which are noised and blurred but captured with high resolution. More...
 
void set_AllowDecreasedImage (bool value)
 Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms. Mode helps to recognize barcodes which are noised and blurred but captured with high resolution. More...
 
bool get_AllowWhiteSpotsRemoving ()
 Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. More...
 
void set_AllowWhiteSpotsRemoving (bool value)
 Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. More...
 
bool get_AllowOneDAdditionalScan ()
 Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes. More...
 
void set_AllowOneDAdditionalScan (bool value)
 Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes. More...
 
bool get_AllowOneDFastBarcodesDetector ()
 Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image. Mode helps to quickly recognize generated barcodes from Internet. More...
 
void set_AllowOneDFastBarcodesDetector (bool value)
 Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image. Mode helps to quickly recognize generated barcodes from Internet. More...
 
bool get_AllowMicroWhiteSpotsRemoving ()
 Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes. More...
 
void set_AllowMicroWhiteSpotsRemoving (bool value)
 Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes. More...
 
bool get_AllowSaltAndPaperFiltering ()
 Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots. More...
 
void set_AllowSaltAndPaperFiltering (bool value)
 Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots. More...
 
bool get_AllowDetectScanGap ()
 Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes. More...
 
void set_AllowDetectScanGap (bool value)
 Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes. More...
 
bool get_AllowDatamatrixIndustrialBarcodes ()
 Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots. More...
 
void set_AllowDatamatrixIndustrialBarcodes (bool value)
 Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots. More...
 
bool get_AllowQRMicroQrRestoration ()
 Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes. More...
 
void set_AllowQRMicroQrRestoration (bool value)
 Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes. More...
 
bool get_AllowOneDWipedBarsRestoration ()
 Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern. More...
 
void set_AllowOneDWipedBarsRestoration (bool value)
 Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static System::SharedPtr< QualitySettingsget_HighPerformance ()
 HighPerformance recognition quality preset. High quality barcodes are recognized well in this mode.
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.HighPerformance;
More...
 
static System::SharedPtr< QualitySettingsget_NormalQuality ()
 NormalQuality recognition quality preset. Suitable for the most of barcodes
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.NormalQuality;
More...
 
static System::SharedPtr< QualitySettingsget_HighQuality ()
 HighQuality recognition quality preset. This preset is developed for low quality barcodes.
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.HighQuality;
More...
 
static System::SharedPtr< QualitySettingsget_MaxBarCodes ()
 MaxBarCodes recognition quality preset. This preset is developed to recognize all possible barcodes, even incorrect barcodes.
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.MaxBarCodes;
More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 

Detailed Description

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

This sample shows how to use QualitySettings with BarCodeReader

[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high performance mode
reader.QualitySettings = QualitySettings.HighPerformance;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//normal quality mode is set by default
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high quality mode with low speed recognition
reader.QualitySettings = QualitySettings.HighQuality;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set max barcodes mode, which tries to find all possible barcodes, even incorrect. The slowest recognition mode
reader.QualitySettings = QualitySettings.MaxBarCodes;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//set high performance mode
reader.QualitySettings = QualitySettings.HighPerformance;
//set separate options
reader.QualitySettings.AllowMedianSmoothing = true;
reader.QualitySettings.MedianSmoothingWindowSize = 5;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
{
//default mode is NormalQuality
//set separate options
reader.QualitySettings.AllowMedianSmoothing = true;
reader.QualitySettings.MedianSmoothingWindowSize = 5;
while (reader.Read())
Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
}

Member Function Documentation

◆ get_AllowComplexBackground()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowComplexBackground ( )

Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.

Allows engine to recognize color barcodes on color background.

◆ get_AllowDatamatrixIndustrialBarcodes()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowDatamatrixIndustrialBarcodes ( )

Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots.

Allows engine for Datamatrix to recognize dashed industrial barcodes.

◆ get_AllowDecreasedImage()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowDecreasedImage ( )

Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms. Mode helps to recognize barcodes which are noised and blurred but captured with high resolution.

Allows engine to recognize decreased image

◆ get_AllowDetectScanGap()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowDetectScanGap ( )

Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.

Allows engine to use gap between scans to increase recognition speed.

◆ get_AllowIncorrectBarcodes()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowIncorrectBarcodes ( )

Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.

Allows engine to recognize incorrect barcodes.

◆ get_AllowInvertImage()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowInvertImage ( )

Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.

Allows engine to recognize inverse color image.

◆ get_AllowMedianSmoothing()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowMedianSmoothing ( )

Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.

Allows engine to enable median smoothing.

◆ get_AllowMicroWhiteSpotsRemoving()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowMicroWhiteSpotsRemoving ( )

Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes.

Allows engine for Postal barcodes to recognize slightly noised images.

◆ get_AllowOneDAdditionalScan()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowOneDAdditionalScan ( )

Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes.

Allows engine for 1D barcodes to run additional scan.

◆ get_AllowOneDFastBarcodesDetector()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowOneDFastBarcodesDetector ( )

Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image. Mode helps to quickly recognize generated barcodes from Internet.

Allows engine for 1D barcodes to quickly recognize high quality barcodes.

◆ get_AllowOneDWipedBarsRestoration()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowOneDWipedBarsRestoration ( )

Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.

Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.

◆ get_AllowQRMicroQrRestoration()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowQRMicroQrRestoration ( )

Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.

Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.

◆ get_AllowRegularImage()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowRegularImage ( )

Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.

Allows to recognize regular image without any restorations.

◆ get_AllowSaltAndPaperFiltering()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowSaltAndPaperFiltering ( )

Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots.

Allows engine to recognize barcodes with salt and paper noise type.

◆ get_AllowWhiteSpotsRemoving()

bool Aspose::BarCode::BarCodeRecognition::QualitySettings::get_AllowWhiteSpotsRemoving ( )

Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.

Allows engine to recognize image without small white spots.

◆ get_HighPerformance()

static System::SharedPtr<QualitySettings> Aspose::BarCode::BarCodeRecognition::QualitySettings::get_HighPerformance ( )
static

HighPerformance recognition quality preset. High quality barcodes are recognized well in this mode.

using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.HighPerformance;

HighPerformance recognition quality preset.

◆ get_HighQuality()

static System::SharedPtr<QualitySettings> Aspose::BarCode::BarCodeRecognition::QualitySettings::get_HighQuality ( )
static

HighQuality recognition quality preset. This preset is developed for low quality barcodes.

using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.HighQuality;

HighQuality recognition quality preset.

◆ get_MaxBarCodes()

static System::SharedPtr<QualitySettings> Aspose::BarCode::BarCodeRecognition::QualitySettings::get_MaxBarCodes ( )
static

MaxBarCodes recognition quality preset. This preset is developed to recognize all possible barcodes, even incorrect barcodes.

using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.MaxBarCodes;

MaxBarCodes recognition quality preset.

◆ get_MedianSmoothingWindowSize()

int32_t Aspose::BarCode::BarCodeRecognition::QualitySettings::get_MedianSmoothingWindowSize ( )

Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.

Window size for median smoothing.

◆ get_NormalQuality()

static System::SharedPtr<QualitySettings> Aspose::BarCode::BarCodeRecognition::QualitySettings::get_NormalQuality ( )
static

NormalQuality recognition quality preset. Suitable for the most of barcodes

using (BarCodeReader reader = new BarCodeReader(@"c:\test.jpg"))
reader.QualitySettings = QualitySettings.NormalQuality;

NormalQuality recognition quality preset.

◆ set_AllowComplexBackground()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowComplexBackground ( bool  value)

Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.

Allows engine to recognize color barcodes on color background.

◆ set_AllowDatamatrixIndustrialBarcodes()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowDatamatrixIndustrialBarcodes ( bool  value)

Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots.

Allows engine for Datamatrix to recognize dashed industrial barcodes.

◆ set_AllowDecreasedImage()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowDecreasedImage ( bool  value)

Allows engine to recognize decreased image as additional scan. Size for decreasing is selected by internal engine algorithms. Mode helps to recognize barcodes which are noised and blurred but captured with high resolution.

Allows engine to recognize decreased image

◆ set_AllowDetectScanGap()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowDetectScanGap ( bool  value)

Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.

Allows engine to use gap between scans to increase recognition speed.

◆ set_AllowIncorrectBarcodes()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowIncorrectBarcodes ( bool  value)

Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.

Allows engine to recognize incorrect barcodes.

◆ set_AllowInvertImage()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowInvertImage ( bool  value)

Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.

Allows engine to recognize inverse color image.

◆ set_AllowMedianSmoothing()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowMedianSmoothing ( bool  value)

Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.

Allows engine to enable median smoothing.

◆ set_AllowMicroWhiteSpotsRemoving()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowMicroWhiteSpotsRemoving ( bool  value)

Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes.

Allows engine for Postal barcodes to recognize slightly noised images.

◆ set_AllowOneDAdditionalScan()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowOneDAdditionalScan ( bool  value)

Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes.

Allows engine for 1D barcodes to run additional scan.

◆ set_AllowOneDFastBarcodesDetector()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowOneDFastBarcodesDetector ( bool  value)

Allows engine for 1D barcodes to quickly recognize high quality barcodes which fill almost whole image. Mode helps to quickly recognize generated barcodes from Internet.

Allows engine for 1D barcodes to quickly recognize high quality barcodes.

◆ set_AllowOneDWipedBarsRestoration()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowOneDWipedBarsRestoration ( bool  value)

Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.

Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.

◆ set_AllowQRMicroQrRestoration()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowQRMicroQrRestoration ( bool  value)

Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.

Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.

◆ set_AllowRegularImage()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowRegularImage ( bool  value)

Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.

Allows to recognize regular image without any restorations.

◆ set_AllowSaltAndPaperFiltering()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowSaltAndPaperFiltering ( bool  value)

Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots.

Allows engine to recognize barcodes with salt and paper noise type.

◆ set_AllowWhiteSpotsRemoving()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_AllowWhiteSpotsRemoving ( bool  value)

Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.

Allows engine to recognize image without small white spots.

◆ set_MedianSmoothingWindowSize()

void Aspose::BarCode::BarCodeRecognition::QualitySettings::set_MedianSmoothingWindowSize ( int32_t  value)

Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.

Window size for median smoothing.