nitgen-bsp icon indicating copy to clipboard operation
nitgen-bsp copied to clipboard

Python extension for Nitgen fingerprint recognition devices

========= NitgenBSP

:Info: See github <http://github.com/fiorix/nitgen-bsp>_ for the latest source. :Author: Alexandre Fiori [email protected]

About

NitgenBSP is a Python extension based on the Nitgen SDK for Linux <http://www.nitgen.com/eng/product/enbsp_sdk.html>. It currently supports Nitgen fingerprint recognition devices such as Fingkey Hamster <http://www.nitgen.com/eng/product/finkey.html> and Fingkey Hamster II <http://www.nitgen.com/eng/product/finkey2.html>_.

Implementation details

  • It has been tested under Ubuntu Linux 9.10
  • Require root access level (actually depends on file permission of /dev/nitgen0)
  • Only supports the device auto-detection mode (I don't have 2 devices do try manual selection)
  • Supports verification with the FIR Handle and Text-Encoded FIR (not the FULL FIR)
  • Allows the Text-Encoded FIR to be saved on remote database for later verification
  • Text-Encoded FIR does not allow multi-byte encoding, however, supports adding payload (user data) within
  • Ships with PIL <http://www.pythonware.com/products/pil/>_ support and allows saving fingerprint images as JPG, PNG, etc
  • Supports the Nitgen in-memory Search Engine API

Documentation and Examples

The source code ships with built-in Python Docstring documentation for class reference. It also ships with examples in the examples/ <http://github.com/fiorix/nitgen-bsp/tree/master/examples/>_ subdirectory.

However, using NitgenBSP is pretty straightforward even for those with no experience with biometric devices. Here is an example of simple usage::

#!/usr/bin/env python

coding: utf-8

import NitgenBSP

if name == "main": nbio = NitgenBSP.Handler()

finger = nbio.capture()
image = finger.image()
image.save("out.png")

print "your fingerprint text-encoded FIR is:", finger.text()

Credits

Thanks to (in no particular order):

  • Nitgen Brazil

    • For providing documentation and granting permission for this code to be published