FacesAlgorithmDemo Ingles
FacesAlgorithmDemo Ingles
2/MegaMatcher
12.2 Algorithm Demo
User's guide
1 Introduction 1
1.1 System Requirements 1
3 Application 4
3.1 Windows 4
3.1.1 Main Window 4
3.1.2 Options Dialog 5
3.1.3 Menu Commands 6
3.1.4 Simple Usage Examples 7
3.2 Linux 7
3.3 Mac OS X 8
5 IP Cameras Configuration 11
Index a
iii
1 Introduction
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo application is designed with aim to demonstrate the capabilities of 1
Neurotechnology faces recognition engine. The program is a Windows 7/8/10 compatible GUI application.
Evaluation software supports image acquisition from the external video source (such as Web or IP cameras ( see page 11)). It
can also read face images from still images (.bmp, .tif, .png, .jpg, .gif files).
1. Enrollment. Software processes the face image, extracts features and writes them to the database.
2. Identification. This mode performs new face image identification against face templates stored in the database.
Hardware requirements:
• Microsoft Windows 7 / 8 / 10, 32-bit or 64-bit. Note that some fingerprint scanners are supported only on 32-bit OS or only
from 32-bit applications.
• Microsoft .NET framework 4.5 or later (for .NET components usage)
• Microsoft Visual Studio 2012 or newer (for application development with C++ / C# / VB .NET)
• Sun Java 1.7 SDK or later (for application development with Java)
Linux specific requirements:
• Linux 3.10 or newer kernel (32-bit or 64-bit) is required. If a fingerprint scanner is required, note that some scanners have
only 32-bit support modules and will work only from 32-bit applications.
• glibc 2.17 or newer
• GStreamer 1.10.x or newer with gst-plugin-base and gst-plugin-good is required for face capture using camera/webcam or
rtsp video. GStreamer 1.4.x or newer is recommended.
1
• libgudev-1.0 219 or newer (for camera and/or microphone usage)
• alsa-lib 1.1.6 or newer (for voice capture)
• gcc 4.8 or newer (for application development)
• GNU Make 3.81 or newer (for application development)
• Sun Java 1.8 SDK or newer (for application development with Java) 1
2
2 Face Feature Points
Feature points
The image below shows the face bounding rectangle and detected 68 face features:
This option can be enabled in faces sample applications by selecting Detect all feature points.
3
3 Application
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo incorporates Neurotechnology face recognition algorithm. Using this demo
application face images can be enrolled from still images (from image files) or video streams (from cameras) and identification
task performed.
3.1 Windows
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo application in Windows OS can be started from
FacesAlgorithmDemo.exe.
Person can be enrolled using "Enroll" command. After enrolling a person's image from file the main window looks like this:
1. Top face detection pane, used to display video or still images and result of face detection algorithm overlaid on image.
2. Left pane is application log, used for system information and application progress messages.
4
3. Right pane is matching results pane for listing id of the subject in the database, most similar to matched image. Subjects
are considered “similar” if their score value exceeds matching FAR (False acceptance rate) set via Options
(Tools->Matching) dialog. Also in this pane matching score is displayed.
Extraction
• Template size - size of face image templates when enrolling from image. Can be used Large, Medium or Small template. It
is recommended to use large template size.
• Minimal ocular distance – minimum distance between eyes.
• Face confidence threshold – value which controls the requirements for face detection. The greater this value is the more
strict rules are applied when looking for faces in an image.
• Maximal Roll - this value is used to define the maximum value in degrees of rolled face image which can be enrolled or
identified.
• Maximal Yaw - this value is used to define the maximum value in degrees of yawed face image which can be enrolled or
identified.
• Quality threshold – controls how strict rules are applied when determining the quality of a found face for extraction.
• Liveness mode - can choose 3 liveness detection modes: passive, active or none (liveness detection is not used). For more
information see section Face Liveness Detection ( see page 9).
• Liveness threshold – value which controls the requirements for face liveness. The greater this value is the more strict rules
are applied when deciding if the face is live.
• Detect all feature points – if checked, eyes, nose, lips and face feature points will be detected. Otherwise, only eyes will be
detected.
5
• Detect base feature points – if checked, eyes' centers and nose tip will be detected.
• Detect gender – if checked, gender will be detected.
• Detect properties – if checked, face properties will be detected.
• Recognize expression – if checked, facial expression will be detected.
• Recognize emotion – if checked, emotions will be detected.
• Create thumbnail image – if checked, a thumbnail image will be created during extraction.
• Width – width of the thumbnail image.
Matching
• Matching speed – defines matching speed. When the most accurate matching results are required it is recommended to
use Low speed. But in this case matching task is performed slower. If the maximum matching speed is required it is
recommended to use High matching speed. Note: Template size also affects matching speed. The highest possible
matching speed is achieved when Small template and High speed is used.
• Matching threshold - threshold that separates identical from different face templates. Matching threshold is linked to false
acceptance rate (FAR, different templates erroneously accepted as of the same) of matching algorithm. The higher is
threshold, the lower is FAR and higher FRR (false rejection rate, same templates erroneously accepted as different) and
vice a versa.
• Maximal results count – maximum number of matching results returned.
• First result only – if checked, only the first positive result will be returned during matching.
6
Tools » Clear Database Empty faces database.
Tools » Options… Display options dialog.
Help » About Display information about Faces algorithm demo application.
3.2 Linux
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo application on Linux can be started from FacesAlgorithmDemo file. There
7
are separate distribution for 32 bits and 64 bits operating system. See Windows ( see page 4) part to find out how to use this
application.
3.3 Mac OS X
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo application on Mac OS can be started from FacesAlgorithmDemo.app
file. See Windows ( see page 4) part to find out how to use this application.
8
4 Face Liveness Detection
Neurotechnology faces recognition algorithm is capable to differentiate live faces from non live faces (e.g. photos).
Liveness modes
Faces recognition algorithm has 5 modes for liveness check:
• Passive. In this mode user should hold his head still for a few seconds. Face recognition algorithm calculates the score
and checks if the face is live.
• Active. In this mode user should follow the commands on the screen by moving his head or blinking eyes. Face recognition
algorithm checks if the face is live.
• Simple. In this mode user should follow commands on the screen and turn face from side to side. It is simplified version of
active liveness recognition.
• Custom. In this mode it is required to turn head to four directions (up, down, left, right) in a random order (follow-up points
are same as Active mode).
• None. In this mode face liveness check is not performed.
Passive and active modes can be combined for a better liveness check. The images below show how faces liveness check is
performed when passive and active modes are combined.
2. When passive liveness check was performed, active liveness check starts. User is asked to turn his face (head) on the
target. The arrow shows turn direction:
9
Active liveness check also has eyes blink step when user asks to blinks his eyes several times:
3. Also, simple liveness check can be used. In this mode user should keep rotating yaw and follow on screen commands.
Combining both passive and active liveness check modes higher accuracy can be achieved. Please check Faces samples in
the SDK for more information how to use liveness check.
4
4. When custom liveness mode is used, user is required to turn his head in 4 randomly selected directions (up, down, left and
right).
10
5 IP Cameras Configuration
VeriLook 12.2/MegaMatcher 12.2 Algorithm Demo can be used with most IP cameras. Some of recommended IP cameras
need configuration:
11
Index
A
Application 4
F
Face Feature Points 3
Face Liveness Detection 9
I
IP Cameras Configuration 11
Introduction 1
L
Linux 7
M
Mac OS X 8
Main Window 4
Menu Commands 6
O
Options Dialog 5
S
Simple Usage Examples 7
System Requirements 1
W
Windows 4