jaschweder / secugen
Fingerprint image processor
v1.0.0
2018-02-01 12:01 UTC
Requires
- php: >=7.0
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: ^6.5
This package is not auto-updated.
Last update: 2024-11-13 04:15:33 UTC
README
This package is used to integrate Secugen API in PHP language.
Getting started
use Jaschweder\FingerprintImage\Image; use Jaschweder\FingerprintImage\Processor; use Jaschweder\FingerprintImage\Format; $image = new Image; $processor = new Processor($image); // Normal JPEG file $image->load(__DIR__ . '/tests/mocks/normal.jpg'); $processor->run(); // HEX file $image->load(__DIR__ . '/tests/mocks/hex.txt', Format::HEX); $processor->run(); $tmp = __DIR__ . '/.temp'; if (!file_exists($tmp)) { mkdir($tmp); } $image->save(__DIR__ . '/.temp/output.jpg');
Author
Jonathan A. Schweder jonathanschweder@gmail.com