Coder Social home page Coder Social logo

joe2hpimn / zeusee-face-anti-spoofing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeusees/zeusee-face-anti-spoofing

0.0 1.0 0.0 90.07 MB

开源配合型人脸活体检测 Open Source Face Anti-spoofing

Home Page: http://www.zeusee.com

License: Apache License 2.0

CMake 1.46% Java 12.68% C++ 80.49% C 5.13% Objective-C 0.19% Makefile 0.05%

zeusee-face-anti-spoofing's Introduction

Zeusee 配合型人脸活体检测

在移动端进行人脸识别应用开发的时候,往往存在用户会使用翻拍照片录像等来欺骗人脸识别系统,因此活体检测是人脸识别和人脸验证中非常重要的一个部分,介于目前开源活体检测代码的较少,但配合型活体检测实现相对比较简单,因此我们对其做了简单的实现, 并开源了所有的代码。

更新

单目配合型活体检测

由于移动端传感器的有限性,在广泛只有单目前置摄像机的情况下,非配合型的人脸活体检测实现相对比较复杂。需要的数据成本也相对较高。而配合性活体检测仅需要通过用户简单的低头摇头操作即可极大降低用户的欺骗攻击成本。

基本设计思路参考

173E22129766229FF647619667D0176E

Tips:上图有部分流程并未完全实现

CPP 代码的使用

C++代码仅提供姿态检测
#include "AliveDetector.h"
int main()
{
    AliveDetector *aliveDetector = new AliveDetector(detector_path);
    while(/*<read Frame>*/){
        int state = aliveDetector->detect( Frame);
        // 检测一帧返回人脸状态
        // 检测不出人脸或人脸数超过1    -1
        // 正常                        0
        // 摇头                        1
        // 低头                        2
        // 抬头                        3
        }
    return 0;
}

Android Demo

1、提供了简单的Demo工程 2、NDK为版本为16

联系和交流:

关于单目非配合活体检测我们正在进行数据收集与算法开发,技术交流、捐献数据可以加入下群。

zeusee-face-anti-spoofing's People

Contributors

szad670401 avatar yangkezun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.