tzepart/qr_decoder

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

Installs: 800

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/tzepart/qr_decoder

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

This package is auto-updated.

Last update: 2025-09-29 02:20:45 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