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: 2024-03-29 02:23:35 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