bkremenovic/fingerprint-matching

Laravel / Lumen package that allows you to match fingerprints scanned with SecuGen Hamster Plus device (using minutiae templates)

dev-master 2017-11-02 01:11 UTC

This package is auto-updated.

Last update: 2024-11-06 01:02:33 UTC


README

Laravel / Lumen package that allows you to match fingerprints scanned with SecuGen Hamster Plus device (using minutiae templates)

Include a package into your project using composer:

composer require bkremenovic/fingerprint-matching dev-master

Install dependencies:

sudo apt install python
sh vendor/bkremenovic/fingerprint-matching/install.sh

Open your config/app.php and add the following to the providers array:

Bkremenovic\Fingerprint\FingerprintServiceProvider::class,

In the same config/app.php and add the following to the aliases array:

'Fingerprint' => Bkremenovic\Fingerprint\Facades\Fingerprint::class,

Usage

Use match() method using a fingerprint to match as a first parameter, and fingerprint samples folder as a second parameter. If the fingerprint has been successfully matched, it will return a string containing filename of the matching sample. Otherwise, it will return null.

Example:

Fingerprint::match("fingerprints/samples/", "/tmp/filebkdEfX");

Or match with an uploaded file

Fingerprint::match("fingerprints/samples/", $request->file('fingerprint'));