WeChat public platform Message Interface Development (20) face recognition for image recognition

Source: Internet
Author: User
? This system tutorial takes the application of the weather god (WeatherGod account, which supports weather name, pinyin, area code, zip code, voice triggering, and geographic location query in nearly 2500 cities in China) on the public platform as an example, describes the interface development process. You are welcome to pay attention to this account and use the voice
This system tutorial takes the application of the weather god (WeatherGod account, which supports weather name, pinyin, area code, zip code, voice triggering, and geographic location query in nearly 2500 cities in China) on the public platform as an example, describes the interface development process. You are welcome to follow this account and use voice to query the local weather. for the QR code, see the bottom.


In the past few small applications, it seems that the response is not cool or hot, and everyone is not interested. Today, we will give you a bright eye: face recognition on the public platform.

Original article: http://www.cnblogs.com/txw1958/archive/2013/02/04/weixin-if20-face-recognition.html

Some time ago I saw a report on the Internet: head of the computer science department of Sichuan University, associate professorWei XiaoyongWe have developed an image-based attendance system. We use facial recognition for class names to 'face swiping .'


When naming a name, you only need to take a picture of the students in the classroom from multiple angles, then upload the photo to the server, and automatically splice it into an integral picture, the system then automatically numbers and identifies the student profile picture in the photo, and finally displays the student's personal information, with "It's me" and "notme (not me)" next to It). In this way, you can immediately know who is attending and who is skipping.

What's more, this is statistically significant: it can even analyze students'Interpersonal relationshipEvenPersonality interestFor example, it is based on the locations where students like to sit in class and who they like to sit next to get raw data. after a period of time, we can analyze who is in love with whom, who broke up with whom and then joined again. Who always likes to sit alone in the corner (autistic). a boy and a boy sit together every six months (Cheyou ???), In an instant, I feel that this space is infinite ......



Let's get down to the truth:

First, let's take a look at what is face recognition and look at Baidu's definition: face recognition is a computer technology that uses analysis and comparison of face visual feature information for identity authentication. Face recognition is a hot field of computer technology research. it can detect face light and shade, automatically adjust dynamic exposure compensation, face tracking detection, and automatically adjust image amplification. it is a biometric feature recognition technology, it is used to distinguish the biological characteristics of an organism (generally a person. Original article: http://www.cnblogs.com/txw1958/archive/2013/02/04/weixin-if20-face-recognition.html

Technical process of face recognition (from Baidu Encyclopedia)

Generally, it consists of three steps:
(1) First, create a facial image file. That is to say, the camera collects the facial image files of a person's face or takes their photos to form a facial image file, and stores these facial image files in Faceprint encoding.
(2) obtain the current human face image. This is the face image captured by the camera, or input a photo, and generate a facial code for the current face image file.
(3) compare the current surface code with the inventory. This section compares the current face code with the face code in the archive. The above "facial pattern code" is based on the essential features and the beginning of the face. This facial code can resist changes in light, skin tones, facial hair, hair styles, glasses, expressions, and posture, with powerful reliability, so that it can accurately recognize a person from one million people. The face recognition process can be automatically, continuously, and in real time using common image processing devices.


Face recognition on public platforms

1. image acquisition

First, you need to obtain images sent by users. the public platform supports Image reception. However, there seems to be few applications in this area. what you can find on the Internet is text-based, it is said that the yellow rooster is very busy every day...

The format of an image message is as follows:

  
  gh_13d1a3a7x46a
   
  oKaHDjt60aAyPvQmUX3ddyix_zG8
   
  
   1357543196
   
  image
   
  http://mmsns.qpic.cn/mmsns/L4qjYtOibummV7J7pbpWKZTiaRoeicicD151CGsQ5AW761Kmn5Hk83r5lQ/0
   
  
   5830603629728080261
   
 

XML format explanation original: http://www.cnblogs.com/txw1958/archive/2013/02/04/weixin-if20-face-recognition.html
ToUserName: message recipient number, generally the public platform account number.
FromUserName message sender ID
CreateTime message creation time
MsgType message type; image message
PicUrl URL
MsgId message ID


2. image recognition

The following is the actual use result:

Beautiful/handsome index identification technology

Kinship and paternity verification technology

Male/female flavor identification technology


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.