top of page
  • 作家相片LIPS

LIPSFace HW 系列 3D 人臉辨識相機套件入門指南

已更新:2023年1月13日


Overview

LIPSFace™ HW Series On-Device 3D Facial Recognition Camera Kit is designed for facial recognition applications. The camera kit supports both facial recogntion and liveness detection to deliver accurate and anti-spoofing 3D facial recognition. With depth accuracy of 0.3% @100cm, the camera kit effectively blocks spoofing attacks and makes user authentication more secure. Equipped with 940nm VCSEL, LIPSFace™ HW Series is suitable for the deployment in both indoor and outdoor environments with harsh light conditions.

LIPSFace™ HW Series enables you to build a facial authentication solution that prevents unauthorized access with a less than 0.001% Spoof Acceptance Rate (SAR), 99.00% True Acceptance Rate (TAR), and a one in one million False Acceptance Rate (FAR). With a fast and easy enrollment, only registered users are authenticated — and Face Recognition speed takes less than a second. On-device 3D facial recognition & anti-spoofing authentication can store up to 1,000 IDs.

Platforms Supported


  • Windows 10 (tested on windows 10, msvc 2017)

  • Linux Ubuntu 18.04/20.04 LTS (tested on ubuntu 18, gcc 7.5+)

Software Architecture

Build

Use CMake version 3.1 or above:

$ cd C:\Program Files\OpenNI2\LIPS_Samples\Ni2FaceRecognition-gl
$ mkdir Build
$ cd Build
$ cmake ..

Sample Code - Face Recognition


The sample code shows basic usage of the library. It shows how to register a new user, how to recognize a user, and how to delete faces in database.


Notice: The sample codes as below are based on HW120/125 SDK v1.0.3.0 “LIPS_Samples/Ni2FaceRecognition-gl/Source/main.cpp”


1. Face recognition - Connect to device and perform face recognition.


If you use LIPSFace SDK v1.0.3.0

unsigned short face_id = 0x0000;
devDevice.setProperty( LIPS_DEVICE_FACE_RECOGNITION, &face_id, sizeof( unsigned short ) );
unsigned short int result;
devDevice.getProperty( LIPS_DEVICE_FACE_RECOGNITION, &result );

If you use LIPSFace SDK v1.0.3.1 or later

devDevice.setProperty( LIPS_DEVICE_FACE_RECOGNITION, NULL, NULL );
unsigned short int result;
devDevice.getProperty( LIPS_DEVICE_FACE_RECOGNITION, &result );

2. Face registration - Enroll one face id for a new user


If you use LIPSFace SDK v1.0.3.0

unsigned short int face_id = 0x0000;
devDevice.setProperty( LIPS_DEVICE_FACE_REGISTRATION, &face_id, sizeof( unsigned short ) );
unsigned short int result;
devDevice.getProperty( LIPS_DEVICE_FACE_REGISTRATION, &result );

If you use v1.0.3.1 or later

devDevice.setProperty( LIPS_DEVICE_FACE_REGISTRATION, NULL, NULL );
unsigned short int result;
devDevice.getProperty( LIPS_DEVICE_FACE_REGISTRATION, &result );

3. Face Deletion - Delete a registered user's face id from the database on device

unsigned short face_id = 0xFFFF;
devDevice.setProperty( LIPS_DEVICE_FACE_DELETE_DATABASE, &face_id, sizeof( unsigned short ) );
unsigned short int result;
devDevice.getProperty( LIPS_DEVICE_FACE_DELETE_DATABASE, &result );

For more information regarding LIPSFace™ HW Series SDK, please visit LIPS Developer Documentation page for detail.

45 次查看0 則留言
bottom of page