hovup / fingerlprint Goto Github PK
View Code? Open in Web Editor NEWFINGERPRINT TOOLS FOR ERLANG
FINGERPRINT TOOLS FOR ERLANG
FINGER PRINT TOOLS FOR ERLANG OVERVIEW ~~~~~~~~ The port driver makes a comparison between 2 FMD's for check if match or not. Before start, ensure that in you environment system exists the nexts paths: ERL_ROOT = /usr/local/lib/erlang ISAMPLERFLAGSUaU = /opt/DigitalPersona/UareUSDK/Linux/Samples/UareUSample/ IFLAGSUaU = /opt/DigitalPersona/UareUSDK/Include/ LFLAGSUaU = /opt/DigitalPersona/UareUSDK/Linux/lib/x86 BUILDING ~~~~~~~~ To build the port driver and shared object: $ make lib=fingerlprint The param lib is for naming the port driver shared object (.so) All c_src & src code must be compiled and a lib directory must contain a fingerlprint.so, this is the shared object to communicate erlang and C HOW TO USE AND IMPLEMENT ~~~~~~~~~~~~~~~~~~~~~~~~ Now we are available to start and test: NOTE: You must got any valid FMD to send in the port driver, a FMD is a binary term in erlang To start application: $ make demo An erlang shell must be opened, now type the next line to ensure that fingerlprint is started: > application:which_applications(). [{fingerlprint,"Finger Print Tools","0.2"}, ..... % skip output Now just send two FMD's in the port and wait for the respone, example: > FMDx = <<.....>> > FMDy = <<.....>> > fingerlprint:compare([FMDx, FMDy]). .... % skip output There are four possibles responses: 1.- when comparison match: {ok, {access, 'YES'}} 2.- when comparison not match: {ok, {access, 'NO'}} 3.- when cannot allocate memmory: {ok, {error, 'Cannot allocate memmory'}} 4.- when comparison fails: {ok, {error, 'UNKNOWN', Error}} DISTRIBUTED ~~~~~~~~~~~ If you want call the erlang port driver fingerlprint from another node, just start it on a valid nodename, sets the same cookie and call the function with a simple rpc. AUTHOR ~~~~~~ Jorge Garrido <[email protected]>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.