[Demo] applet with you Fun brush facial recognition program for a small example of the treasure applet

Foreword

Note: This example only supports enterprise Alipay account.

Brush facial recognition is an authentication service by collecting the user's facial features, and comparison with the authoritative data source to determine whether the user is currently logged on account of himself and reality. See this example Products and access guidelines, brush face authentication .

_2019_06_06_9_57_23

Prerequisites

Get the template code

Download the template message Demo.zip file , and extract it to a local.

Steps for usage

_2019_06_06_9_58_21

Add Features

1. Enter the applet development center , in my applet , select the appropriate applet, applet access to the details page.
2. In a small program development and management details page feature list , click on the upper right corner to add the function button, add obtain membership information, features, brush facial recognition feature .

_2019_06_06_9_59_49
_2019_06_06_10_00_13

After the entry into force of the brush facial recognition feature to be signed, please click on the far right of the action bar features list signed ; the finished product after the signing process, the status is under review , is expected to complete the signing reviewed within one business day; after approval, status changes have been take effect , you can call the brush facial recognition feature.

_2019_06_06_10_02_10

Back-end development

Open the Java> src> main> resources> application.properties file, fill in the parameters needed to run the service.

_2019_06_06_10_03_00
_2019_06_06_10_03_20

Open the applet IDE Quick Example

Open the applet developer tools, click New Project , in creating a project by rapid sample applet next column, select the brush face authentication , click Next , you can quickly create a brush face authentication applet applet developer tools.

_2019_06_06_10_05_48
_2019_06_06_10_06_14

Front-end development

The quick-start small brush facial recognition program pages> index> api.js after file baseUrl modify back-end services for the actual domain name, you can program the development of small front-end interface.

_2019_06_06_10_07_10

online experience

_2019_06_06_10_09_30

Developers exchange

Scan code to join Ali cloud cloud applet support group for more live discussions and exchange of technical issues you watch

_jpeg

Guess you like

Origin yq.aliyun.com/articles/704699