tzepart/qr_decoder

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

This is QR decoder on base this QR-decoder with function of precompression.

v0.1.1 2019-01-29 15:36 UTC

This package is auto-updated.

Last update: 2021-11-29 02:48:44 UTC


README

This is QR decoder on base this QR-decoder with function of precompression.

Example console command for precompression for directory:

./bin/console.php --path data/good_data/ --compress="yes"

Example console command for precompression for separate file:

./bin/console.php --path data/good_data/check_1.jpg --compress="yes"

Example Using without console command

<?php

use \DecoderQR\Helper\FileHelper;
use DecoderQR\DecoderQR;

$dataPath = '/path/to/decoder/file.png';
$compressFlag = true;

$fileHelper = new FileHelper($dataPath);
$results = (new DecoderQR($fileHelper))->getResults($compressFlag);
var_dump($results); //output decoding results