![]() |
Aspose.Barcode for PHP via Java
22.4
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Static Public Member Functions | |
static | getHighPerformance () |
static | getNormalQuality () |
static | getHighQualityDetection () |
static | getMaxQualityDetection () |
static | getHighQuality () |
static | getMaxBarCodes () |
Protected Member Functions | |
init () | |
setJavaClass ($javaClass) | |
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
QualitySettings::__construct | ( | $qualitySettings | ) |
Reimplemented from BaseJavaClass.
QualitySettings::applyAll | ( | QualitySettings | $Src | ) |
Function apply all values from Src setting to this
QualitySettings | Src source settings |
|
final |
Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.
BarcodeException |
|
final |
Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots.
BarcodeException |
|
final |
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.
BarcodeException |
|
final |
Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.
BarcodeException |
|
final |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.
BarcodeException |
|
final |
Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.
BarcodeException |
|
final |
Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.
BarcodeException |
|
final |
Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes.
BarcodeException |
|
final |
Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes.
BarcodeException |
|
final |
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.
BarcodeException |
QualitySettings::getAllowOneDWipedBarsRestoration | ( | ) |
Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.
BarcodeException |
|
final |
Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.
BarcodeException |
|
final |
Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.
BarcodeException |
|
final |
Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots.
BarcodeException |
|
final |
Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.
BarcodeException |
QualitySettings::getCheckMore1DVariants | ( | ) |
Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
BarcodeException |
QualitySettings::getDetectorSettings | ( | ) |
Barcode detector settings.
|
final |
Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms.
|
static |
HighPerformance recognition quality preset. High quality barcodes are recognized well in this mode.
BarcodeException |
|
static |
HighQuality recognition quality preset. This preset is developed for low quality barcodes.
BarcodeException |
|
static |
HighQualityDetection recognition quality preset. Same as NormalQuality but with high quality DetectorSettings
BarcodeException |
|
inherited |
|
inherited |
|
static |
MaxBarCodes recognition quality preset. This preset is developed to recognize all possible barcodes, even incorrect barcodes.
BarcodeException |
|
static |
MaxQualityDetection recognition quality preset. Same as NormalQuality but with highest quality DetectorSettings. Allows to detect diagonal and damaged barcodes.
BarcodeException |
|
final |
Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.
BarcodeException |
|
static |
NormalQuality recognition quality preset. Suitable for the most of barcodes
BarcodeException |
QualitySettings::getReadTinyBarcodes | ( | ) |
Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
QualitySettings::getUseOldBarcodeDetector | ( | ) |
Switches to the old barcode detector.
Value: Switches to the old barcode detector.
|
protected |
Reimplemented from BaseJavaClass.
|
inherited |
|
inherited |
|
final |
Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode.
bool | $value | Allows engine to recognize color barcodes on color background. |
BarcodeException |
|
final |
Allows engine for Datamatrix to recognize dashed industrial Datamatrix barcodes. Slow mode which helps only for dashed barcodes which consist from spots.
bool | $value | Allows engine for Datamatrix to recognize dashed industrial barcodes. |
BarcodeException |
|
final |
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.
bool | $value | Allows engine to recognize decreased image |
BarcodeException |
|
final |
Allows engine to use gap between scans to increase recognition speed. Mode can make recognition problems with low height barcodes.
bool | $value | Allows engine to use gap between scans to increase recognition speed. |
BarcodeException |
|
final |
Allows engine to recognize barcodes which has incorrect checksumm or incorrect values. Mode can be used to recognize damaged barcodes with incorrect text.
bool | $value | Allows engine to recognize incorrect barcodes. |
BarcodeException |
|
final |
Allows engine to recognize inverse color image as additional scan. Mode can be used when barcode is white on black background.
bool | $value | Allows engine to recognize inverse color image. |
BarcodeException |
|
final |
Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes.
bool | $value | Allows engine to enable median smoothing. |
BarcodeException |
|
final |
Allows engine for Postal barcodes to recognize slightly noised images. Mode helps to recognize sligtly damaged Postal barcodes.
bool | $value | Allows engine for Postal barcodes to recognize slightly noised images. |
BarcodeException |
|
final |
Allows engine for 1D barcodes to recognize regular image with different params as additional scan. Mode helps to recongize low height 1D barcodes.
bool | $value | Allows engine for 1D barcodes to run additional scan. |
BarcodeException |
|
final |
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.
bool | $value | Allows engine for 1D barcodes to quickly recognize high quality barcodes. |
BarcodeException |
QualitySettings::setAllowOneDWipedBarsRestoration | ( | bool | $value | ) |
Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern.
bool | $value | Allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern. |
BarcodeException |
|
final |
Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes.
bool | $value | Allows engine for QR/MicroQR to recognize damaged MicroQR barcodes. |
BarcodeException |
|
final |
Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.
bool | $value | Allows to recognize regular image without any restorations. |
BarcodeException |
|
final |
Allows engine to recognize barcodes with salt and paper noise type. Mode can remove small noise with white and black dots.
bool | $value | Allows engine to recognize barcodes with salt and paper noise type. |
BarcodeException |
QualitySettings::setAllowWhiteSpotsRemoving | ( | 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.
bool | $value | Allows engine to recognize image without small white spots. |
BarcodeException |
QualitySettings::setCheckMore1DVariants | ( | bool | $value | ) |
Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
bool | $value | If True, allows engine to recognize 1D barcodes with checksum. |
QualitySettings::setDetectorSettings | ( | BarcodeSvmDetectorSettings | $value | ) |
Barcode detector settings.
|
final |
Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms.
bool | value Allows engine for 1D barcodes to quickly recognize high quality barcodes. |
|
protectedinherited |
|
final |
Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set.
int | $value | Window size for median smoothing. |
BarcodeException |
QualitySettings::setReadTinyBarcodes | ( | bool | $value | ) |
Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.
bool | $value | If True, allows engine to recognize tiny barcodes on large images. |
BarcodeException |
QualitySettings::setUseOldBarcodeDetector | ( | bool | $value | ) |
Switches to the old barcode detector.
Value: Switches to the old barcode detector.