Introduction to Alibaba Cloud Face Recognition (1)

Introduction to Alibaba Cloud Face Recognition (1)

Introduction to Alibaba Cloud Face Recognition (1)

If we write a face recognition program by ourselves is very troublesome, we need to write the code ourselves, import the relevant packages, and build a convolutional neural network. Now Alibaba Cloud has encapsulated the algorithm, and face recognition can be easily and quickly implemented through API interface calls.

Today I will teach you how to compare two faces on Alibaba Cloud.

1. First, you need to open an Alibaba Cloud account and enable the face recognition function.

Introduction to Alibaba Cloud Face Recognition (1)

2. The OSS object storage service needs to be activated because images need to be stored in it. OSS is a service dedicated to storing unstructured data in Alibaba Cloud. After opening OSS, you need to create a bucket and upload pictures to the Object.

Introduction to Alibaba Cloud Face Recognition (1)

3. Log in to the user security information interface and copy the Access Key and Key secret.

Introduction to Alibaba Cloud Face Recognition (1)

4. Log in to the face recognition console, enter the relevant code and the url of the two pictures in the request body column, be sure to remember the format as shown in the figure, do not write wrong, otherwise the result will not be output, click the debug interface later.

Introduction to Alibaba Cloud Face Recognition (1)

5. Check the output result, the confidence acquaintance of the two pictures is 87.377%.

Introduction to Alibaba Cloud Face Recognition (1)

how about it? It's much faster to build a framework than you write the code by hand, try it yourself!

Introduction to Alibaba Cloud Face Recognition (1)

·END·
Please scan the code to follow


Let's
Introduction to Alibaba Cloud Face Recognition (1)
Wechat: Artificial Intelligence and Algorithm Learning

Guess you like

Origin blog.51cto.com/14993422/2548632