Giter Site home page Giter Site logo

arcfacedemo's Introduction

ArcFaceDemo

Free SDK demo

如何使用?

  1. 下载代码: git clone --recursive https://github.com/asdfqwrasdf/ArcFaceDemo.git

  2. 前往官网申请appid和sdkkey.
    修改 ArcFaceDemo-master\src\main\java\com\arcsoft\sdk_demo\FaceDB.java 下面的对应的值:

    public static String appid = "xxxx"; 		
    public static String fd_key = "xxxx";    
    public static String ft_key = "xxxx";
    public static String fr_key = "xxxx";
    

    3. 下载sdk包之后,解压各个包里libs中的文件到 ArcFaceDemo-master\libs 下,同名so直接覆盖。

  1. Android Studio2.3.3 中直接打开或者导入Project,编译运行即可。

最低支持的API-LEVEL?

  14-26

demo如何使用?

  1. 点击第一个按钮 打开图片或者拍一张带人脸的照片,确认后自动执行人脸,弹出注册框,注册第一个人脸。
    注册界面底部会展示已注册的信息列表,点击列表项,则可以执行删除操作

  2. 点击第二个按钮 选择打开前置或者后置的镜头进行检测。


FAQ

  1. 编译通不过
    如果下载的是ZIP包,子模块android_extend代码不会自动拉取,所以需要手动拿一下代码。
      android_extend仅用来简化demo开发,和ArcFace SDK无关。      

  2. Gradle 错误提示 Error:Failed to find target with hash string 'android-24'.......

    一般Android Studio 窗口会有个链接(Install missing platform(s) and sync project)
    点击下载更新 android-24 即可解决(其他版本没测试过,建议不要随意更改)。

  3. 还有其他问题

    直接提交issue
    我们会尽快解决

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.