Go to file
KevinDuan b139da6a4f update version 2022-06-08 10:58:17 +08:00
data Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
debian update version 2022-06-08 10:58:17 +08:00
doc/man Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
po Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
src Fix build errors 2022-06-08 10:11:51 +08:00
.editorconfig Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
AUTHORS Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
COPYING Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
ChangeLog Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
Makefile.am Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
NEWS Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
README Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
autogen.sh Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00
configure.ac Import Upstream version 0.9.63kord3~rc20 2022-06-06 18:21:55 +08:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Biometric Authentication
--------------------------

## Introduction
A biometric identification framework. Provide unified DBus interface for
application layer, used for various biometric identification and authentication.

The framework is divided into three layers: service layer, core layer and
drive layer.

### Service Layer

The service layer uses the DBus bus to provide the upper application with
operation interfaces such as feature enroll, feature verify, feature identify,
feature search, feature delete, etc. Meanwhile, it also provides notification
of device status changes event and notification of USB device hotplug event.

### Core Layer

The core layer abstracts the common operation of all kinds of biometric
recognition, constructs the underlying framework of biometric recognition,
and provides the general function and unified data storage method.

### Driver Layer

The driver layer adapts various hardware, one driver corresponds to a kind
of hardware, and completes the hardware related characteristic operation.

---

## Compilation & Install

### Least parameter compilation

```
./autogen.sh
./configure --disable-dependency-tracking
make
```

### Complete parameter compilation (in ubuntu, x86_64 architectures)

```
export prefix=/usr
./autogen.sh
./configure --build=x86_64-linux-gnu \
    --prefix=/usr \
    --includedir=\${prefix}/include \
    --mandir=\${prefix}/share/man \
    --infodir=\${prefix}/share/info \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-silent-rules \
    --libdir=\${prefix}/lib/x86_64-linux-gnu \
    --libexecdir=\${prefix}/lib/x86_64-linux-gnu \
    --disable-dependency-tracking \
    --enable-static \
    --enable-shared \
    --with-bio-db-dir=/var/lib/biometric-auth/ \
    --with-bio-db-name=biometric.db \
    --with-bio-config-dir=/etc/biometric-auth/ \
    --with-bio-driver-dir=/usr/lib/biometric-authentication/drivers \
    --with-bio-extra-dir=/usr/lib/biometric-authentication/drivers/extra \
    --libexecdir=\${prefix}/lib/biometric-authentication
make
```

### Install
Note: Root permissions may be required for installation

```
make install
```