Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.53 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.53 KB

GoFprint: A Go library to work with libfprint via cgo

gopher tatooed

This package comes with functions that wrap libfprint's C functions in order to work directly with fingerprint devices (tested only with URU4000) while using Go's garbage collection features and its data structures like []byte.

Installation

To install this package, all you have to do is run the following command.

$ go get github.com/caws/go-fprint

Get started

Before anything, remember to install libfprint following the instructions otherwise you won't be able to use the bindings.

You'll find more information in the examples folder, however, I'll be updating this section with explanations about how to use these bindings sometime in the future.

Examples

In the examples folder you can find two examples for single fingerprint verification and multiple fingerprint verification.

To run the example, do the following:

$ cd gofprint/examples/singlePrint
$ go build singlePrint.go
$ sudo ./singleFprint

PS: You need to use the sudo command to allow low level access to the device.

Issues

I tried to clean up the code and get rid of all the bugs that I could before releasing it as a package, however, bugs are stubborn and sometimes hide in plain sight.

So, in case you find a bug, let me know or create a pull request. I'll be more than happy to review and accept it if need be.

Charles Washington