Skip to content

chengxy-nds/ArcSoftFaceDemo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 9 commits ahead, 21 commits behind itboyst:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

整理了一些Java方面的架构、面试资料(微服务、集群、分布式、中间件等),有需要的小伙伴可以关注公众号【程序员内点事】,无套路自行领取

关注公众号:程序员小富

更多有意思、涨知识的项目等着你

有任何技术问题,欢迎随时沟通


开发环境准备:

###开发使用到的软件和工具:

  • Jdk8、mysql5.7、libarcsoft_face.dll(so)、libarcsoft_face_engine.dll(so)、libarcsoft_face_engine_jni.dll(so)、idea

  • 注:libarcsoft_face.dll(so)、libarcsoft_face_engine.dll(so)、libarcsoft_face_engine_jni.dll(so)、app-id、sdk-key可以到虹软官网 http://ai.arcsoft.com.cn/ 免费申请下载

  • 本地配置:

    • 配置环境(推荐jdk8,mysql5.7,maven3,idea)
    • 引擎库libarcsoft_face、libarcsoft_face_engine、libarcsoft_face_engine_jni。把dll或so文件拷贝到java.library.path所包含的路径下,注意区分X86和X64,和当前jdk版本一致。
  • 初始化项目 创建数据库arcsoft_face_demo,执行脚本arcsoft_face_demo.sql

  • 使用idea启动项目

    • 修改配置文件src\main\resources\application.properties
      • 填写数据库地址:spring.datasource.druid.url
      • 填写数据库用户名:spring.datasource.druid.username
      • 填写数据库密码:spring.datasource.druid.password
      • 填写人脸识别id:config.freesdk.app-id
      • 填写人脸识别key:config.freesdk.sdk-key
  • 启动项目

    • 右键Application,选择Run ‘Application’
  • 项目访问地址

更详细的流程参考:

项目流程图

About

ArcSoft基于虹软人脸识别2.0 Java服务端Demo代码,最完整的服务端Demo。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 63.6%
  • FreeMarker 35.5%
  • JavaScript 0.9%