Photo collection

Machine Learning in Linux: PhotoPrism – AI-Powered Photos App

Facial Recognition

One of the most interesting features of PhotoPrism is its AI-powered facial recognition. This lets you find pictures of your family and friends without any fuss or bother.

Face recognition with PhotoPrism
Click image for full size

New faces are detected as you scan your library. They are then grouped by similarity.

To recognize faces, PhotoPrism uses a three stage process. First it extracts crops from your images using the Pigo face detection library (based on the Pixel Intensity Comparison-based Object detection paper). These are then fed into TensorFlow to compute 512-dimensional vectors for characterization. In the final step, the DBSCAN algorithm attempts to cluster these so-called face embeddings so that they can be assigned to people with a few clicks.

The face recognition accuracy is much higher than we expected.

Next page: Page 4 – Places

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Facial Recognition
Page 4 – Places
Page 5 – Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mo T
Mo T
1 year ago

There’s a package for PhotoPrism in the AUR. Is that an easier install?

Luke Baker
Luke Baker
1 year ago

Steve, maybe worth adding PhotoPrism to the Google Photos alternatives?