File: README

package info (click to toggle)
biometric-authentication 0.9.61-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,040 kB
  • sloc: ansic: 8,332; python: 646; makefile: 345; xml: 232; sh: 170
file content (73 lines) | stat: -rw-r--r-- 2,153 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# 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
```