Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Public Attributes | |
const | HIGH = 0 |
const | NORMAL = 1 |
const | LOW = 2 |
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.
This sample shows how to use BarcodeQuality mode$reader = new BarCodeReader("test.png", null, array(DecodeType::CODE_39_FULL_ASCII, DecodeType::CODE_128));$reader->getQualitySettings()->setBarcodeQuality(BarcodeQualityMode::LOW);foreach($reader->readBarCodes() as $result){print("BarCode CodeText: " . $result->getCodeText());}
const BarcodeQualityMode::HIGH = 0 |
Enables recognition methods for High quality barcodes.
const BarcodeQualityMode::LOW = 2 |
Enables recognition methods for Low quality barcodes.
const BarcodeQualityMode::NORMAL = 1 |
Enables recognition methods for Common(Normal) quality barcodes.