Skip to content

tohenk/node-dpfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Persona Fingerprint Bridge

Introduction

Digital Persona Fingerprint Bridge (DPFB) aims to provide fingerprint acquisition in the browser environment. It is designed to be compatible across browsers. For identification purpose on server side, use a backend like Identity Authenticator.

How Does It Work

The workflow is described as follow:

    FP BRIDGE --- BROWSER --- SERVER --- FP SERVER
            Client side <- | -> Server side

Both FP BRIDGE and FP SERVER heavily utilize socket.io for its communication.

FP BRIDGE is a socket.io server while the BROWSER is a client. Normally it is listening at port 7879. FP BRIDGE accepts commands described below.

  • fp-required-features, it will return the numbers of fingerprints needed for enrollment.

  • fp-set-options, set the options, pass an options object with:

    • enrollWithSamples to include fingerprint samples when enrolling.
  • fp-acquire, start fingerprint acquisition for identification.

    Listen for the following events when capturing:

    • fp-acquire-status which contains the capture status.
    • fp-acquire-complete which contains the fingerprint data.
  • fp-enroll, start fingerprint enrollment.

    Listen for the following events when enrolling:

    • fp-enroll-status which contains the capture status.
    • fp-enroll-complete which contains the fingerprint data.
    • fp-enroll-finished which contains the zipped fingerprint datas.
  • fp-stop, stop fingerprint acquisition or enrollment.

Usage

Requirements

  • node-gyp must already been installed with its dependencies (build tools), to do so, type npm install -g node-gyp.
  • Digital Persona U.are.U SDK has been installed.

Building Distribution Package

Before building, be sure the make dependencies are all up to date, issue npm update to do so.

Building for 32-bit Windows Platform

npm run build:32
npm run make:32

The package then can be found in the app/out/make folder.

Building for 64-bit Windows Platform

npm run build:64
npm run make:64

The package then can be found in the app/out/make folder.

Running FP BRIDGE

Directly execute Digital Persona Fingerprint Bridge.exe from distribution package or issue npm start if using source or when developing. When using npm start make sure to build the binding correctly according to the running operating system, either issue npm run build:32 or npm run build:64.

Live Demo

Live demo is available here.

Known Limitations

  • It is currently support Windows only.
  • When capturing fingerprint, DPFB app must have focused to be able receive captured data.

About

Digital Persona Fingerprint Bridge

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •