Both companies use open source facial recognition code in some places and proprietary models in others, but neither runs its core face-matching products on an off-the-shelf open source algorithm. Google contributes heavily to open source machine learning infrastructure and has released its own face-related models, while Amazon sells a proprietary cloud service and builds its own models, yet open source components appear throughout their internal pipelines.
The practical answer is "yes, selectively, with important limits," and understanding where the line falls matters if you're evaluating their products, auditing their claims, or deciding whether to build on open source yourself.
The distinction that resolves most confusion is between infrastructure and the recognition model. Open source frameworks such as TensorFlow, PyTorch, and ONNX are the plumbing; a trained face-recognition network is the product. Google and Amazon overwhelmingly open-source or consume the former and keep the latter close. That split explains why you can find their engineers' commits in public repositories while you cannot download the exact model behind a commercial face API.
The difference between open source tools and open source models
A facial recognition system is a stack, not a single program. At the bottom sit compute libraries and deep learning frameworks. Above that sit training pipelines, data augmentation tools, and model architectures. At the top sits the trained weights and the matching logic that turns a face image into an identity decision.
Open source can apply to any layer. TensorFlow, released by Google, is open source. PyTorch, now stewarded by the PyTorch Foundation under the Linux Foundation with heavy Meta involvement, is open source. Many face detection and embedding architectures—such as the InsightFace family, ArcFace-based models, RetinaFace detectors, and older classics like OpenCV's Haar cascades and Dlib's HOG detector—are publicly available. But "the architecture is published" and "the deployed product uses that exact model" are different claims.
When people ask whether Google or Amazon use open source facial recognition, they usually mean one of three things: Do they depend on community-built face models? Do they release their own models as open source? Or do their commercial APIs secretly wrap an open source project? Each has a different answer.
Google's position: a major open source contributor with proprietary face products
Google is one of the largest contributors to open source machine learning infrastructure in the world. TensorFlow and its ecosystem, JAX, and Keras are open source, and Google publishes research that often includes reference implementations. Its MediaPipe framework, which is open source, includes face detection, face mesh, and iris landmark models that developers can run on-device. Those are genuine, usable open source face-related components, and they are widely deployed in third-party apps.
However, Google's commercial face capabilities—such as face detection and face-based features in Google Cloud Vision, and the on-device face unlock on Pixel phones—rely on models Google trains and tunes internally. The MediaPipe face models are not the same as the biometric face unlock model used to authenticate a Pixel owner. Face unlock is a security feature with anti-spoofing requirements, and Google does not publish the matching model that gates device access.
Google also has a complicated history with face recognition specifically, distinct from face detection. In 2018 Google announced it would not offer general-purpose face recognition through its cloud APIs until policy questions were addressed, and it has been cautious about identity-matching products. That means the "Google face recognition API" that people imagine is largely not a public commercial product in the way Amazon Rekognition is.
Google's public face tooling skews toward detection, landmarks, and attributes rather than identifying who a person is.
So Google's honest profile is: heavy open source contributor, genuine open source face-detection models via MediaPipe, proprietary models for its own security and cloud features, and a deliberate gap in general face identification as a cloud service.
Amazon's position: proprietary Rekognition built on its own stack
Amazon's consumer-facing face recognition product is Amazon Rekognition, a proprietary AWS service. You send an image or video to an API and get back face detection, comparison, and search results. The models behind Rekognition are trained and owned by Amazon; there is no open source Rekognition model you can download and run yourself. AWS documentation treats the service as a managed black box with defined inputs, outputs, and accuracy claims, not as a distributable model.
That said, Amazon is deeply embedded in open source. It maintains and contributes to projects across the machine learning ecosystem and uses open source frameworks internally, as nearly every large technology company does. AWS has also released open source tools and reference architectures around its AI services.
The presence of open source in Amazon's engineering does not mean Rekognition is an open source algorithm; it means Amazon, like Google, uses open building blocks under a proprietary product.
Amazon has also faced scrutiny over Rekognition's accuracy across demographics and over its use by law enforcement, which led to temporary moratoriums by some customers and, at times, by Amazon itself on police use. Those debates concern the deployed proprietary system, and they illustrate why "is it open source" and "is it accountable" are separate questions.
You can inspect an open source model's weights and training choices; you generally cannot do that with a managed API.
Why the "open source" label is slippery in commercial AI
Three patterns create most of the confusion. First, companies publish model architectures and research papers while withholding the trained weights and training data. A paper describing a loss function like ArcFace is open science; the commercial system trained with a variant of it is not open source. Second, companies open-source frameworks and utilities and then build proprietary models on top.
Third, some products are genuinely open source end to end, but those tend to be community projects (InsightFace, FaceNet reimplementations, DeepFace) rather than the flagship offerings of Google or Amazon.
There is also a licensing dimension. Open source licenses range from permissive (Apache 2.0, MIT) to copyleft (GPL), and some face models carry research-only or non-commercial terms. A company can use a permissively licensed detector internally and still ship a closed product. "Uses open source" therefore says little about what you can reuse.
Where Google and Amazon do rely on open source face technology
Both companies benefit from open source in concrete, defensible ways. They use open frameworks to train and serve models. They adopt open file formats and inference runtimes so models run efficiently on different hardware. They contribute detection and landmark components to open projects. Google's MediaPipe face suite is a clear example of a company releasing usable open source face tooling.
Amazon's participation in open source AI communities and its support for open model formats similarly shows the infrastructure layer at work.
What they do not do is take a community face-identification model, drop it into a commercial identity product unchanged, and call it a day. The accuracy, bias, privacy, and liability requirements of a paid service push them toward models they control and can validate.
A compact comparison
The table below summarizes the comparable dimensions. It describes the general pattern rather than specific model versions, since neither company discloses full internal model provenance.
| Dimension | Amazon | |
|---|---|---|
| Open source ML frameworks | Major contributor (TensorFlow, JAX, Keras) | Consumer and contributor of open source tooling |
| Open source face models released | Yes, via MediaPipe (detection, mesh, landmarks) | Not a flagship release; proprietary focus |
| Commercial face recognition API | Limited general face ID; detection and attributes in Cloud Vision | Amazon Rekognition (proprietary) |
| Core matching model open source | No | No |
| Uses open source internally | Yes, extensively | Yes, extensively |
| You can self-host the flagship model | No | No |
The pattern is consistent: open infrastructure, closed product models.
What this means if you're choosing a face recognition approach
If you want to build with open source, the practical path is community models like InsightFace, which provides pretrained face detection and embedding models under permissive terms for many uses, or OpenCV and Dlib for lighter detection tasks. These give you transparency, self-hosting, and no per-call fees. The trade-off is that you own accuracy tuning, bias evaluation, anti-spoofing, and compliance.
If you want managed accuracy and don't want to operate models, Amazon Rekognition and Google Cloud's vision features are the proprietary route. You trade transparency and control for convenience and vendor validation. Neither route is inherently better; they fit different constraints.
A useful check before adopting any face system is to ask the vendor, in writing, which components are open source and under what license, whether the trained weights are yours to inspect, and how accuracy was measured across demographics. For open source projects, check the model card and license terms, since some pretrained weights are research-only.
Common misconceptions worth correcting
A few beliefs recur and deserve direct correction. "Google open-sourced its face recognition, so you can run it" conflates MediaPipe's detection models with Google's biometric authentication. "Amazon Rekognition is built on OpenCV" has no public basis; Rekognition is a proprietary deep learning service, and OpenCV is a computer vision library, not a recognition model. "If it uses TensorFlow, it's open source" mistakes the framework for the model.
The cleaner mental model: open source is the workshop, not the finished product. Google and Amazon both work in open workshops and sell finished products they keep closed. Recognizing that split prevents both overestimating what you can reuse and underestimating how much open source underpins modern AI.
If your next step is evaluating a face system, start by separating the detection, embedding, and matching layers, then ask which of those you need to own versus rent. That question, more than any open source label, determines the right choice.