Git Product home page Git Product logo

arcfacedemo's Introduction

ArcfaceDemo

基于虹软android ArcfaceDemo(arcface 2.0)的扩展 相比于官网发布的arcface2.0 android demo:

功能修改:

1.针对在部分设备上画框会有左右镜像或者上下镜像的情况,添加了上下镜像绘制和左右镜像绘制

2.针对在部分设备上相机打开自动旋转了90度的情况,CameraHelper.Builder添加additionalRotation(90的倍数)以自定义额外的相机旋转角度

3.CameraHelper可根据传入的控件宽高获取最佳相机比例(如果没有相同比例的,就选最接近的)

4.使用Image模式的活体检测,即 支持多人脸活体检测+人脸识别

效果展示: 正常预览 圆角预览

ftRect转化为view所需的Rect流程

ftRect转化为view所需的Rect流程


2019.07.12更新

1.使用arcface 2.2 sdk
2.弃用以Rect作为trackId的方案,直接使用arcface2.2新增的faceId作为上下帧相同人脸的判断依据

arcfacedemo's People

Contributors

wangshengyang1996 avatar

Watchers

James Cloos 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.