Aspose.Barcode for Python via Java Generation and Recognition API docs
|
QualitySettings allows to configure recognition quality and speed manually. More...
Inherits BaseJavaClass.
Public Member Functions | |
def | __init__ (self, qualitySettings) |
def | init (self) |
def | getXDimension (self) |
Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar. More... | |
def | setXDimension (self, value) |
Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar. More... | |
def | getMinimalXDimension (self) |
Minimal size of XDimension in pixels which is used with UseMinimalXDimension. More... | |
def | setMinimalXDimension (self, value) |
Minimal size of XDimension in pixels which is used with UseMinimalXDimension. More... | |
def | getBarcodeQuality (self) |
Mode which enables methods to recognize barcode elements with the selected quality. More... | |
def | setBarcodeQuality (self, value) |
Mode which enables methods to recognize barcode elements with the selected quality. More... | |
def | getDeconvolution (self) |
Deconvolution (image restorations) mode which defines level of image degradation. More... | |
def | setDeconvolution (self, value) |
Deconvolution (image restorations) mode which defines level of image degradation. More... | |
def | getInverseImage (self) |
Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance). More... | |
def | setInverseImage (self, value) |
Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance). More... | |
def | getComplexBackground (self) |
Mode which enables or disables additional recognition of color barcodes on color images. More... | |
def | setComplexBackground (self, value) |
Mode which enables or disables additional recognition of color barcodes on color images. More... | |
def | getAllowIncorrectBarcodes (self) |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. More... | |
def | setAllowIncorrectBarcodes (self, value) |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. More... | |
def | applyAll (self, Src) |
Function apply all values from Src setting to Dst : More... | |
Public Member Functions inherited from BaseJavaClass | |
def | getJavaClass (self) |
def | setJavaClass (self, javaClass) |
def | getJavaClassName (self) |
def | isNull (self) |
def | printJavaClassName (self) |
Static Public Member Functions | |
def | initQualitySettings (qualitySettings) |
def | getHighPerformance () |
HighPerformance recognition quality preset. More... | |
def | getNormalQuality () |
NormalQuality recognition quality preset. More... | |
def | getHighQualityDetection () |
HighQualityDetection recognition quality preset. More... | |
def | getMaxQualityDetection () |
MaxQualityDetection recognition quality preset. More... | |
def | getHighQuality () |
HighQuality recognition quality preset. More... | |
Public Attributes | |
detectorSettings | |
Public Attributes inherited from BaseJavaClass | |
javaClass | |
javaClassName | |
Static Public Attributes | |
string | javaClassName = "com.aspose.mw.barcode.recognition.MwQualitySettings" |
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
def __init__ | ( | self, | |
qualitySettings | |||
) |
Reimplemented from BaseJavaClass.
def applyAll | ( | self, | |
Src | |||
) |
Function apply all values from Src setting to Dst :
Src | Src source settings |
def getAllowIncorrectBarcodes | ( | self | ) |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values.
Mode can be used to recognize damaged barcodes with incorrect text. :#return: Allows engine to recognize incorrect barcodes.
def getBarcodeQuality | ( | self | ) |
Mode which enables methods to recognize barcode elements with the selected quality.
Barcode element with lower quality requires more hard methods which slows the recognition. :
self | Mode which enables methods to recognize barcode elements with the selected quality. |
def getComplexBackground | ( | self | ) |
Mode which enables or disables additional recognition of color barcodes on color images.
:#return: Additional recognition of color barcodes on color images.
def getDeconvolution | ( | self | ) |
Deconvolution (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. :
|
static |
HighPerformance recognition quality preset.
High quality barcodes are recognized well in this mode.
|
static |
HighQuality recognition quality preset.
This preset is developed for low quality barcodes.
|
static |
HighQualityDetection recognition quality preset.
Same as NormalQuality but with high quality DetectorSettings
def getInverseImage | ( | self | ) |
Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance).
:
|
static |
MaxQualityDetection recognition quality preset.
Same as NormalQuality but with highest quality DetectorSettings. Allows to detect diagonal and damaged barcodes.
def getMinimalXDimension | ( | self | ) |
Minimal size of XDimension in pixels which is used with UseMinimalXDimension.
:
|
static |
NormalQuality recognition quality preset.
Suitable for the most of barcodes
def getXDimension | ( | self | ) |
Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar.
:
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
|
static |
def setAllowIncorrectBarcodes | ( | self, | |
value | |||
) |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values.
Mode can be used to recognize damaged barcodes with incorrect text. :
value | Allows engine to recognize incorrect barcodes. |
def setBarcodeQuality | ( | self, | |
value | |||
) |
Mode which enables methods to recognize barcode elements with the selected quality.
Barcode element with lower quality requires more hard methods which slows the recognition. :
value | Mode which enables methods to recognize barcode elements with the selected quality. |
def setComplexBackground | ( | self, | |
value | |||
) |
Mode which enables or disables additional recognition of color barcodes on color images.
:#param value: Additional recognition of color barcodes on color images.
def setDeconvolution | ( | self, | |
value | |||
) |
Deconvolution (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. :
value | Deconvolution mode which defines level of image degradation. |
def setInverseImage | ( | self, | |
value | |||
) |
Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance).
:
value | Additional recognition of barcodes on images with inverse colors |
def setMinimalXDimension | ( | self, | |
value | |||
) |
Minimal size of XDimension in pixels which is used with UseMinimalXDimension.
:
value | Minimal size of XDimension in pixels which is used with UseMinimalXDimension. |
def setXDimension | ( | self, | |
value | |||
) |
Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar.
detectorSettings |
|
static |