How China's Pay By Facial Recognition Works

By: Charles Rollet, Published on Apr 02, 2019

Many social media posts have variously celebrated or warned about the growing use of facial recognition for payments in China. An example of one such video is shown to the right.

When one looks at such videos, an obvious question is: how do they do that accurately? There are many millions of people in China and, in these videos, the person seems to simply look at the camera and is promptly recognized.

However, the system is not omniscient. While facial recognition for payments in China is real, it relies on verificationnot identificationa key difference.

In this post, we examine how facial recognition payments really work in China, and how it fundamentally relies on the country's system of national ID cards.

How It Works

In many convenience stores and restaurants in China, it is indeed possible to pay without bringing a cellphone or cash. But it is not as simple as just looking into a camera at the check-out counter. There are actually two steps:

  1. Look into the camera
  2. Enter your cellphone number on the screen

The cellphone number is used to bring up your personal details and an existing photo of your face. That existing photo is compared to the one just taken, and if it is a match, the payment goes through.

Why It Is Possible: Alipay

Alipay is the mobile payments arm of Chinese e-commerce giant Alibaba (in China similar to Amazon in the US). Over 900 million, mostly Chinese people, have Alipay accounts, which require a national ID card, bank account, and mobile phone to activate. Alipay users can also enable facial recognition by taking a selfie with their cellphone. Therefore, just by plugging in a phone number at check-out, Alipay can directly access a high-res image of a user's face along with bank account details. 

Alipay released a video showcasing how this system works here

Get Notified of Video Surveillance Breaking News
Get Notified of Video Surveillance Breaking News

As the video shows, a phone number is required, not just a face. The still below demonstrates:

The video also claims that the camera is able to correctly match users despite heavy make-up, different hair color, and other people being present in the photo, as the still below demonstrates:

This is certainly possible, though the more a facial recognition system allows variance in appearance, the greater the risk that it could mismatch to another person. However, since they are doing verification, not identification, the risk is reduced.

Verification vs Identification

Therefore, payment via facial recognition in China is not done by comparing someone's photo to mass numbers of people in an existing database. Technically, this is called '1:N' or one-to-many identification. This is the kind of facial recognition that would need to be done by video surveillance cameras in shopping malls looking for shoplifters or in cities looking for terrorists, etc.

One example of this somewhat science fiction approach is Dahua's 2017 marketing video where they (impossibly) generate a facial recognition match of a person with a hat, in a shadow, looking away from the camera:

While looking directly into a camera's FoV improves image quality vs public surveillance cameras, identification is still difficult to do accurately and reliably when comparing to even thousands of people and would be vastly more difficult in trying to match across millions or hundreds of millions in China. People look alike, especially across large groups and especially when the system is trying to tolerate differences in hairstyle, makeup, weight gain, etc. 

Rather, in the China payments case, '1:1' verification is being used: Alipay's software is only comparing the photo taken at check-out to an existing photo that is part of someone's Alipay account. As such, the system just needs to assess how probable the face presented at the camera is to the reference image on file.

National ID Card System Crucial

A major factor making such a system easier is that Chinese citizens, by law, must have a detailed national ID card, officially called a Resident Identity Card or  居民身份证. These detailed cards are issued by police and function as a sort of domestic passport. Because a national ID card is required to activate Alipay, an Alipay account is effectively as trustworthy as a legal ID. 

(In the US, however, many people have a driver's license as their only official ID. Because they are relatively easy to get and commonly faked, driver's licenses from many states are not enough to even fly domestic. )

Privacy Concerns

While a national ID card system that is used and shared with corporations for payments adds convenience, it does raise privacy concerns about the data being shared. For example, the ACLU has spoken out against national ID cards expressing concerns about them being used to expand surveillance. Of course, inside China, this is the norm.

Other countries do have national ID card systems, like France. However, in France, having such a card is not obligatory and many people do not have one. Compulsory national ID cards have a controversial past in France, as they were instrumental in deporting Jews to camps during WW2; when France attempted to make biometric ID cards compulsory in 2011, the proposal was heavily criticized and ultimately dropped.

Partly because of the lack of such a history, China is well-known for giving short shrift to privacy issues. For example, the CEO of Baidu (China's Google) once said that Chinese people care less about privacy. Still, there are signs this is changing. China passed a personal privacy law in 2018 described by some as "more onerous" than the EU's GDPR. Alipay, for its part, claimed in its promo video that:

We don't store data. We also protect data by using encryption. We want to do everything in our capacity to protect users' privacy and security online.

Popularity in China

IPVM understands that while facial recognition payment is possible in many Chinese outlets, most people still prefer to use their cellphone. The way this is done is by scanning the unique Alipay barcode that is part of their Alipay 'wallet' at check-out. This does not require inputting a cellphone number or posing for a picture and is therefore significantly faster.

However, if one was to leave a cellphone at home, Alipay's facial recognition feature does enable payments without needing anything at hand, a significant convenience.

UPDATE: Face Pay for ATMs

A LinkedIn post shows a man using facial recognition instead of a card at a China ATM. "No card needed anymore, just bring your face", the poster claims.

Screen Shot 2019-04-04 at 4 01 09 PM

IPVM has confirmed that some ATMs in China do use facial recognition. However, this is the same system as using your face to pay for groceries, i.e. it is based on verification not identification. What the LinkedIn post does not show is that a phone number or national ID number is typically required as well.

5 reports cite this report:

China Subway Facial Recognition System Examined on Jun 24, 2019
A China city of 6+ million people has installed facial recognition-enabled gates in subways, allowing commuters to enter stations by simply showing...
China Jaywalking Facial Recognition Guide on May 27, 2019
News reports touting the PRC's AI prowess often showcase facial recognition cameras being used to automatically catch and fine jaywalkers. In...
Covert Facial Recognition Using Axis and Amazon By NYTimes on May 20, 2019
What if you took a 33MP Axis camera covering one of the busiest parks in the US and ran Amazon Facial Recognition against it? That is what the...
19 Facial Recognition Providers Profiled on Apr 23, 2019
IPVM interviewed 19 facial recognition providers at ISC West to understand their claimed accuracy, success and positioning. 9 from China, where...
UK Camera Commissioner Calls for Regulating Facial Recognition on Apr 15, 2019
IPVM interviewed Tony Porter, the UK’s surveillance camera commissioner after he recently called for regulations on facial recognition in the...
Comments (4) : PRO Members only. Login. or Join.

Related Reports

US State Department: "Chinese Tech Giants" "Tools of the Chinese Communist Party" on Sep 12, 2019
The US State Department has called out "Chinese tech giants" for being "tools of the Chinese Communist Party" in a blunt new speech that makes...
Hikvision Lobbying Against And Preparing For Potential US Sanctions on Sep 09, 2019
Hikvision has been lobbying against and preparing for potential US sanctions, according to US government records, financial filings and partner...
Mobotix First CNPP CCTV Cybersecurity Certification Examined on Sep 05, 2019
Mobotix recently became the first video surveillance manufacturer to receive the CNPP cybsersecurity certification for its cameras, in which they...
Megvii Financials and Growth Examined on Aug 30, 2019
Megvii has already received more than a billion dollars in investment. Now, the company, a top China facial recognition provider, has filed for an...
In China, Foreign AI Companies Banned or Disadvantaged, Says Top China AI Company on Aug 28, 2019
Non-China (PRC) companies are prejudiced and unfairly targeted inside of the PRC's booming AI market, which not only denies them revenue inside of...
UK Facewatch GDPR Compliance Questioned on Aug 27, 2019
Even as the GDPR strictly regulates biometrics, a UK company called Facewatch is selling anti-shoplifter facial recognition systems to hundreds of...
China Dahua To Replace Their Software With US Pepper on Aug 22, 2019
What does a US government banned company do to improve its security positioning in the US? Well, Dahua is unveiling a novel solution, partnering...
First GDPR Facial Recognition Fine For Sweden School on Aug 22, 2019
A school in Sweden has been fined $20,000 for using facial recognition to keep attendance in what is Sweden's first GDPR fine. Notably, the fine is...
Anyvision Facial Recognition Tested on Aug 21, 2019
Anyvision is aiming for $1 billion in revenue by 2022, backed by $74 million in funding. But does their performance live up to the hype they have...
Uniview Beats Intel In Trademark Lawsuit on Aug 19, 2019
Uniview has won a long-running trademark lawsuit brought by Intel, with Beijing's highest court reversing an earlier Intel win, centered on...

Most Recent Industry Reports

ONVIF Suspends Huawei on Sep 20, 2019
Huawei has been 'suspended', and effectively expelled, from ONVIF so long as US sanctions remain on the mega Chinese manufacturer. Inside this...
Open Access Controller Guide (Axis, HID, Isonas, Mercury) on Sep 19, 2019
In the access control market, there are many software platforms, but only a few companies that make non-proprietary door controllers. Recently,...
Axis Perimeter Defender Improves, Yet Worse Than Dahua and Wyze on Sep 19, 2019
While Axis Perimeter Defender analytics improved from our 2018 testing, the market has improved much faster, with much less expensive offerings...
Directory of 68 Video Surveillance Startups on Sep 18, 2019
This directory provides a list of video surveillance startups to help you see and research what companies are new or not yet broadly known. 2019...
Uniview Prime Series 4K Camera Tested on Sep 18, 2019
Is the new Uniview 'Prime' better than the more expensive existing Uniview 'Pro'? In August, IPVM tested Uniview 4K 'Pro' but members advocated...
US Army Base To Buy Banned Honeywell Surveillance on Sep 17, 2019
The U.S. Army's Fort Gordon, home to their Cyber Center of Excellence, has issued a solicitation to purchase Honeywell products that are US...
Vivotek "Neural Network-Powered Detection Engine" Analytics Tested on Sep 17, 2019
Vivotek has released "a neural network-powered detection engine", named Smart Motion Detection, claiming that "swaying vegetation, vehicles passing...
Schmode is Back, Aims To Turn Boulder AI Into Giant on Sep 16, 2019
One of the most influential and controversial executives in the past decade is back. Bryan Schmode ascended and drove the hypergrowth of Avigilon...
Manufacturers Unhappy With Weak ASIS GSX 2019 And 2020 Shift on Sep 16, 2019
Manufacturers were generally unhappy with ASIS GSX, both for weak 2019 booth traffic and a scheduling shift for the 2020 show, according to a new...