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 [link no longer available](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) : Members only. Login. or Join.

Related Reports

London Live Police Face Recognition Visited on Feb 13, 2020
London police have officially begun using live facial recognition in select areas of the UK capital, sparking significant controversy. IPVM...
Clearview AI Alarm - NY Times Report Says "Might End Privacy" on Jan 20, 2020
Over the weekend, the NY Times released a report titled "The Secretive Company That Might End Privacy as We Know It" about a company named...
Wyze Massive Data Leak on Dec 26, 2019
Wyze has exposed millions of user's data, as reported by Twelve Security, and confirmed by IPVM, who has spoken with Twelve Security and reviewed...
Ireland National Children's Hospital Chooses Hikvision End-to-End With Facial Recognition on Dec 05, 2019
The world's most expensive hospital project ever, the New Children's Hospital in Ireland, has chosen an all-Hikvision surveillance system including...
France Declares School Facial Recognition Illegal Due to GDPR on Oct 31, 2019
France is the latest European country to effectively prohibit facial recognition as a school access control solution, even with the consent of...
Covert Elevator Face Recognition on Oct 24, 2019
Covert elevator facial recognition has the potential to solve the cost and complexity of elevator surveillance while engendering immense privacy...
UK Facial Recognition Essex Errors Report on Jul 05, 2019
Facial recognition trials in the UK have generated significant controversy and debate over the past few years. This week, it flared again when Sky...
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...
Hikvision AI Problems Criticized By Chinese Publication on Apr 09, 2019
Hikvision's facial recognition works poorly, causes delays and worsens learning, according to a new investigation by one of China's leading...

Most Recent Industry Reports

Proxy Presents Mobile Credentials For BLE Devices and Access on May 29, 2020
Proxy presented Mobile Credentials For BLE Devices and Access at the May 2020 IPVM Startups show. Inside this report: A 30-minute video...
ISC West 2020 Moves To The Basement on May 29, 2020
The twice cancelled/postponed show will now not only be held in a different month (October) but on a different floor, moving down to the...
Integrators Avoiding Coronavirus Air Travel on May 29, 2020
IPVM asked integrators if air travel is part of their 2020 plans to see how significantly Coronavirus will impact future...
Viakoo Presents Cyber Hygiene for Cameras on May 28, 2020
Viakoo presented its 'Cyber Hygiene' and 'Service Assurance' products at the April 2020 IPVM New Products show. Inside this report: A...
Seek Scan Thermal Temperature Screening System ReTested on May 28, 2020
Now that IPVM has tested Dahua, Hikvision, and Sunell, we are returning to Seek, the first blackbody system we tested and retested it with our...
Directory of 110 "Fever" Camera Suppliers on May 28, 2020
This directory provides a list of "Fever" scanning thermal camera providers to help you see and research what options are available. There are...
Fever Cameras Are Medical Devices, Per The FDA, Dahua, Feevr, Hikvision, InVid Contrary Claims Are False on May 28, 2020
Fever cameras are medical devices, despite what euphemisms various sellers use. The US FDA clearly categorizes them as medical devices and...
Wyze Raises $10 Million And Seeks Services Expansion on May 27, 2020
Wyze has raised $10 million, the company's first disclosed raise since the $20 million announced at the beginning of 2019. Inside this note,...
"Fever Camera" Show June 2020 Next Tuesday on May 27, 2020
IPVM is excited for the world's first "Fever Camera" show, to be held next Tuesday June 2nd and Wednesday the 3rd from 11am to 3pm EDT, giving you...
Startup Videoloft Presents Cloud Storage on May 27, 2020
Videoloft presented offsite cloud storage at the May 2020 IPVM Startups show. A 30-minute video from Videoloft including IPVM...