Machine learning. Tools: Python, TensorFlow, scikit-learn
A program that learns to identify people in photos. It turns each face into a list of 128 numbers and classifies those numbers.
This project takes labeled photos of faces and learns to identify the person in each one. It turns each face into a list of 128 numbers, called an embedding, and trains a simple classifier on those numbers.
It is based on a 2017 tutorial by Cole Murray. The tutorial's code no longer installs on current versions of Python, so this project rebuilds the same steps with TensorFlow 2. No code from the original is included.
Each step is a separate command that saves its output to a file, so any step can be run again on its own.
A demo runs every step on 72 generated images of three made-up identities. The classifier identified all 18 test images correctly. The generated images are easy to tell apart, so this shows that the pipeline works, not how accurate it would be on real faces.