
All about Facial Recognition for Businesses


Facial Recognition isn’t confined to the realms of computer science. It has solid business applications.
One of the hottest buzzwords of this decade is Facial Recognition.
Itโs the part of applied machine learning that can detect and identify human faces, a problem that has been notoriously difficult for computers up to now. And with this has burst open a whole new world of exciting possibilities and challenges for businesses, governments, and individuals alike.
If youโre a business leader and have been wondering what the fuss is all about, and whether thereโs some utility in this new development, weโve got you covered. In this article, weโll look at the history of Facial Recognition, its development, current uses, controversies, deployment, and many more facets.
By the end of it, youโll have a solid grasp of what the Facial Recognition technology is all about, and what its implications are for businesses.
Letโs get started!
Evolution of Facial Recognition
For all the hype and media coverage surrounding Facial Recognition, the technology has been around for some time. The first serious algorithmic work in detecting faces was the Viola-Jones Object Detection Framework published in 2001. Though a general-purpose framework for identifying objects within images, it was quickly applied to face detection with very good success. The main reason for this algorithmโs popularity was its speed; while the training process was excruciatingly slow, the detection process was extremely fast.
As early as 2001/2004, the average desktop computer running this algorithm was able to process a 300px X 300px frame in 0.07 seconds (more here). The accuracy rates, though not comparable to what humans can achieve, were impressive at 90%.
However, real progress wasnโt made until the decade of 2010-2020, when Convolutional Neural Networks emerged as the best method to perform facial detection. The reason was the availability of raw processing power and gigantic system memories made available through cloud computing by Infrastructure-as-a-Service (IaaS) providers. For the first time in history, computers were consistently beating humans in recognizing faces, especially when a large number of random faces were involved.

How does Facial Recognition work?
Facial recognition is a multi-step process, with several specialized sub-systems involved.
Hereโs what the various stages mean:
Detection / Tracking: This part of the preprocessing stage is responsible for identifying and tracking faces in the given image or video file. Once this process is complete, we know for sure that thereโs a face in the given input, and it can be processed further. The tracking phase is also responsible for tracking certain parts, particular features or expressions in a face, should that be needed.
Alignment: The problem of facial recognition is compounded because faces in a given image or video do not follow any guidelines. The person may be zoomed-in or out, peeking from behind a tree, or present in a side profile, making the problem of face detection even harder. This is where face alignment comes in: it tells us where in the given image/video the face lines, and what are the contours for facial features.

Feature extraction: As the name suggests, during this phase of the process (weโre now in the Recognition stage), the individual features of the face, such as eyes, nose, chin, lips, etc., are extracted in the form that can be used by algorithms in the next stage. At this stage, the computer has collected enough hard data to tell a face apart uniquely.
Feature matching/classification: In this stage, the inputs received from feature extraction are matched against the given database to deduce the identity of the person. This phase is also known as classification, because the algorithm may be needed to categorize faces instead of individually identifying them.
Once this process is over, we know for sure whether the given face is part of the database we compared against or not. The final output may also contain tagging, the way weโre used to seeing on Facebook.

Deployment considerations: Server-side vs. client-side
Facial recognition can work both on the server as well as on the device that the user is interacting with. For example, when you upload a photo to Facebook, the algorithms are run on the server side; on the other hand, an ID system that uses your face to unlock the device needs to run on the client side. So, which one is better?
Honestly, itโs not about which one is better. Both server-side and client-side deployments have their strengths, and in practice, businesses deploy a hybrid system. The recommended practice is to train your models on the server-side, where training data and processing resources are without limit. Once the models have been trained, these can be packaged and deployed on the client-side, which improves the speed of the system as well as maintains the userโs privacy.
Sending everything to the server introduces a delay, which can be bad or unacceptable in certain cases. At the same time, keeping everything on the client-side will result in weaker models.
How accurate is Facial Recognition?
Accuracy is not a very well-defined term in facial recognition. The main reason is that itโs a fuzzy problem with all sorts of messed up inputs (low light, face partially covered by hair, camera-quality, etc.) and even deceptive inputs (more on this later!). As a result, the neural networks involved in facial recognition need to be tweaked for the problem at hand, limiting their scope. So, while an industrial facial recognition system might boast of 100% accuracy (which is often the case), the same system may not be even 20% accurate when asked to identify faces in a crowded photo.
In one research, a particular type of facial recognition algorithm was able to achieve 98.52% accuracy, higher than the human accuracy of 97.53% achieved in the same test. In another study conducted in forensics, the combination of human judgment and algorithms yielded the best results in some cases.
Bottom line — for focused, well-defined applications, facial recognition is the best tool we have.
Where is Facial Recognition being used?
Even in the short period that viable algorithms have been developed, Facial Recognition has found incredibly useful and exciting applications. Some of these are conspicuous, but some are so subtly and fundamentally woven into the everyday life that we hardly pause to think about whatโs underneath.
Facebook is perhaps the most common example of modern facial recognition systems at work. As soon as you upload a photo, the social network is able to detect faces. While some time ago you were asked to tag friends, now Facebook is able to do so on its own.

A cool new application by Facebook is the feature of informing users when photos containing their face are uploaded by someone, even if theyโve not been tagged in those photos.
Snapchat makes heavy uses of face detection and recognition for many of its features, most notably, the funny filters that are such a rage.

For these filters to work, the contours and features of the subjectโs face need to be detected perfectly, otherwise the overlays wonโt look realistic. Same goes for Face Swap, another popular feature in Snapchat. In case youโre interested in diving deeper into Snapchatโs capabilities in facial recognition, see here.
Uber has been battling privacy and safety concerns for a while now, and the newest weapon in the companyโs arsenal is facial recognition. The company has rolled out a new feature where its driver-partnersโ identity is verified by using their faces. The company says on its blog that after testing several facial recognition tech vendors, they settled on Microsoft Face API for its high quality. Interestingly, this real-time ID check works well in low-light conditions, and is able to detect glasses.
With facial recognition proving successful in the wild, itโs easy to predict that it might soon replace other identification methods at educational institutions, hospitals, libraries, etc.
Retail crime prevention is a natural extension of the application of facial recognition. The retail industry loses an estimated $45 billion every year to shoplifters and other retail crimes, with very little to counter it with. Now, companies like FaceFirst are helping retailers use facial recognition to detect previous offenders and alert security officers.
Police surveillance is beginning to leverage facial recognition like all the other institutions out there. For example, in the UK, the police of South Wales are using cameras fitted on vans to make surveillance of crowds easier.

While this newfound superpower in the hands of the police has sparked heated public debates over individual privacy, the police believe it will help them restrict wrongdoers better. As Richard Lewis, deputy chief constable of South Wales police told the Financial Times:
If you identify someone who has committed an offence [previously], you basically say: we know youโre here, please behave yourself.
Healthcare recently had an unexpected application, where facial recognition helped detect a rare genetic disorder called DiGeorge Syndrome.
The DiGeorge Syndrome appears in about 1 in 6,000 children and results in deformities in several parts of the body. The healthcare problem, in this case, is more severe for poorer countries, who donโt have the resources to go for expensive diagnosis methods. As such, facial recognition, with an astounding accuracy of 96.6%, offers new hope for victims of DiGeorge Syndrome.
In the Airlines industry, facial recognition adoption is picking up, and itโll soon replace the conventional boarding passes. Currently, there are limited but promising results in helping identify passengers as they leave the country. In fact, the Transport Security Administration (TSA) of the US has laid out a plan for widespread use of facial recognition-based biometrics.
Controversial uses of Facial Recognition
Technology empowers us, though its good or bad use is up to us. No doubt, then, that something as potent and radical as facial recognition is being put to use in a way that raises concern about fundamental human rights and ethics.
The most prominent example of controversial uses of facial recognition is Chinaโs enormous surveillance system that employs an estimated 200 million cameras to keep an eye on its 1.4 billion citizens.

The system tracks people and evaluates their actions, constantly updating a metric called citizen score. While thereโs some value in having a powerful state-controlled surveillance system (tracking debt-defaulters, for example), most see it as the arrival of the dystopian future George Orwell imagined. Itโs a future where governments have unlimited power over the individual, and privacy is non-existent.
The second example of debatable use of facial recognition also comes (unsurprisingly?) from China. This time itโs the school system adopting facial recognition to make sure students are โattentiveโ during classes. The new facial recognition system, though not widespread yet, replaces ID cards, library cards, attendance systems, etc., using the studentโs face for identification.

But the creepy part is that this system monitors studentsโ attention levels, use of mobile phone, etc., and alerts the teacher when a certain threshold is crossed.
While video surveillance powered by facial recognition isnโt exclusive to Chinaโthe US has been making efforts to use it to curb gun violence in schoolsโitโs China that seems to be taking this further than any other country.
Comparison of popular Facial Recognition APIs
When it comes to making use of Facial Recognition, what options do you have? In this section, weโll take a look at whatโs in common use, and how the various solutions stack up against each other.
Before we begin, though: a reminder. These APIs are evolving extremely rapidly, and youโre likely to come across blog posts that say this API lacks this feature or that feature. Donโt make your decisions based on that. Analyze your business needs first, carefully check the features offered, go for a trail, and only then make up your mind.
OpenCV
AI research is a sinkhole with no bottom. Training and perfecting a facial recognition system is hard, and is best left to conglomerates with deep pockets and an army of researchers at hand. However, if your needs are simple and you like to have full controlโand of course, are ready for the upkeep of a tiny/small engineering teamโOpenCV might just work for you.
Itโs an Open source Computer Vision library that is remarkably accurate and is available for all programming platforms. Hereโs a hair-raising example of how you can spin up a face-detection system with Python and OpenCV in 25 lines of code!
Now, you may come across some blogs that say OpenCV doesnโt have face recognition. Well, itโs a complete lie, and hereโs proof. All in all, OpenCV can be a great choice for your business if the needs are simple and specific.
Amazon Rekognition
Rekognition is a heavy-duty offering from one of the largest cloud providers out there โ AWS. Itโs a fully managed, powerful service for the AWS platform, and if youโre already making use of AWS for deployment, Rekognition is probably the best choice.
Some of the mind-blowing features offered by Rekognition are:
- Real-time analysis (as you upload an image or video to S3)
- Extensive facial analysis (gender, color of hair, facial expression, eyes open or not, etc.)
- Pathing (capturing paths of identified objects in videos)
- Scene and activity detection (indoors/outdoors, โplaying soccerโ, etc.)
- Moderating unsafe content (nudity, for example)
The biggest plus with Rekognition is also the biggest minus โ youโll really struggle to use it with non-AWS services to the point where youโll just have to give up.
Kairos
In sharp contrast to Rekognition, Kairos provides you the AI over an API (the rhyming is unintentional, we swear!), letting you take complete control of your data and servers. Kairos pitches itself as a privacy-first service, and is extremely critical of Amazon and other companies colluding with the government (so is ACLU, by the way).
Kairos works both on images and videos and has all the nice features youโd expect from a modern face recognition API. It does some of the astonishing features found in Rekognition, but if you donโt need them and are already managing your data, why bother?!
For those who are extra paranoid about privacy and donโt even want to send data over the wire for processing, Kairos has an on-premise deployment, but the pricing depends on your use case and can be quite steep.
Google Cloud Vision
Google has chosen to differentiate between its face recognition services for images and videos. The image API is known as Cloud Vision, while the video-focused service is called Video Intelligence.
While the image-focused service is pretty similar to what AWS has to offer, the video service has a nice feature of cataloging and searching. This will be useful for companies that have large video archives they might want to analyze or search through.
That said, Video Intelligence lacks facial recognition features as of writing, and these appear to be offered only in Cloud Vision. Object tracking and text detection are also in beta, putting it much behind Amazonโs offerings.
Azure Face API
With Microsoft taking their cloud offerings more seriously than the desktop ones (finally), the Azure Face API is one delightful offering. It has all the interesting features youโd expect (detection, identification, face grouping, similar faces search, emotion, etc.), and works equally well with videos.
Now, this isnโt strictly related to facial recognition, but itโs worth mentioning that Azure also offers a customer computer vision service, which allows you to use your inputs and train models as per your needs.
Just like Googleโs service, thereโs a playground available right on the home page, which makes testing the API a lot of fun!
Are there significant differences among the top managed face recognition services? Not really. Thereโs intense competition in the field right now, and new features are being rolled out faster than pizzas. If youโre tied to a particular ecosystem already, using their own face recognition service makes sense. Otherwise, you might want to choose a different vendor if your needs are specific (controlling own data, needing plain detection only, etc.).
Anti-Facial Recognition Systems
Just as some researchers have dedicated their lives to perfecting facial recognition technology, others are busy developing techniques to fool them. One such interesting development is Adversarial Glasses, which look otherwise normal to human beings but have fooled expert facial recognition systems.

That said, these glasses are not available in the market yet, though the researchers say that these can be 3D-printed easily.
Another interesting development was the launch of ekล glasses on Kickstarter. Although the product now stands canceled, it worked on a remarkably simple idea: plain, everyday sunglasses for $45 that simply reflected the light, causing cameras and video surveillance devices to go bonkers.
Just like the cybersecurity domain, โhackersโ and researchers are locking horns in facial recognition for the race to perfection. In around 2014, we saw the popularity of camouflage makeup that bestowed invisibility against facial recognition, but are not viable anymore. Will there be an AES encryption of facial recognition? Only time will tell!
Is Facial Recognition for you?
The kind of business that can benefit from facial recognition is that one that involves peopleโyes, which means every business out there! While the current uses of facial recognition seem to be championed by governments, large businesses, or tech startups, thereโs no reason why your business canโt benefit from it.
The possibilities are truly endless when we combine a little bit of creative thinkingโgreeting and identifying customers in a hotel, locating your friend in a sea of people, finding people with similar faces (maybe to be used as actors), detecting personalities for job interviews (again, weโre just letting the imagination run wild here; there may not be anything substantial in such a study), customizing banking experience when a high-value client walks in . . . There are endless ways to use facial recognition at levels small and large to make your business perform better.
Conclusion
Pretty soon facial recognition will become so widespread and so common that we wonโt even notice it (like mobile phones?). The underlying technology has been nearly perfected, but in the real world itโs not just about detecting facesโitโs about what we can do with that ability.
Sounds fascinating and interested in learning more? Check out this brilliant course about Computer Vision.
More great readings on Cloud Computing
-
An Introduction Guide to AWS FargateNaman Yash on June 14, 2022
-
10 Cloud-Based Cross Browser Testing Tools [2022]Saptak Chaudhuri on June 13, 2022
-
8 Best Virtualization Monitoring Tools for Medium to Big BusinessSatish Shethi on June 10, 2022
-
12 Best Hosting Platforms for the Germany MarketAmrita Pathak on June 11, 2022
-
Infrastructure as a Service (IaaS): Everything You Need To KnowNaman Yash on June 7, 2022
-
Deliver Your Application Content Faster to the Users with G-Core Labs CDNAmrita Pathak on May 26, 2022
Join Geekflare Newsletter
Every week we shareย trending articlesย andย toolsย in our newsletter. More than 10,000 people enjoy reading, and you will love it too.