Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Public Attributes | |
const | FAST = 0 |
const | NORMAL = 1 |
const | SLOW = 2 |
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.
This sample shows how to use Deconvolution mode$reader = new BarCodeReader("test.png", null, array(DecodeType::CODE_39_FULL_ASCII, DecodeType::CODE_128));$reader->getQualitySettings()->setDeconvolution(DeconvolutionMode::SLOW);foreach($reader->readBarCodes() as $result){print("BarCode CodeText: " . $result->getCodeText());}
const DeconvolutionMode::FAST = 0 |
Enables fast deconvolution methods for high quality images.
const DeconvolutionMode::NORMAL = 1 |
Enables normal deconvolution methods for common images.
const DeconvolutionMode::SLOW = 2 |
Enables slow deconvolution methods for low quality images.