Java source code in Github: faceRecognition

This demo is based on Microsoft Cognitive Service. If you have no idea about that, please click here.

Prerequisites

  • Microsoft Face Recognition API
  • Camera
  • Tomcat
  • Use Chrome and change its autoplay-policy 

Steps

  • Change Authentication.java
  • Change logback.xml
  • Build and deploy to tomcat

Demo

  • Look at the camera and click "Take photo"

  • Wait for a while and response could be seen as below

 

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐