tzepart/qr_decoder

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: 2023-01-29 04:01:27 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