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 .
Prerequisites
- Completed developer settled and created a small program .
- It has been downloaded and installed a small program developer tools .
Get the template code
Download the template message Demo.zip file , and extract it to a local.
Steps for usage
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 .
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.
Back-end development
Open the Java> src> main> resources> application.properties file, fill in the parameters needed to run the service.
- If the applet back-end service application deployed on the cloud, concrete steps to participate cloud applications -Spring Boot version .
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.
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.
- Original link: https://docs.alipay.com/mini/ide/wkx34c
online experience
Developers exchange
Scan code to join Ali cloud cloud applet support group for more live discussions and exchange of technical issues you watch