From deab1bf5915eed1bb707cecb529187c833c54686 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Tue, 25 Aug 2020 14:16:36 -0700 Subject: [PATCH] Created Machine Learning Photo Classification in Photos 5 (markdown) --- Machine-Learning-Photo-Classification-in-Photos-5.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Machine-Learning-Photo-Classification-in-Photos-5.md diff --git a/Machine-Learning-Photo-Classification-in-Photos-5.md b/Machine-Learning-Photo-Classification-in-Photos-5.md new file mode 100644 index 0000000..c9fe75d --- /dev/null +++ b/Machine-Learning-Photo-Classification-in-Photos-5.md @@ -0,0 +1,6 @@ +In Catalina, Apple added machine learning to Photos to automatically classify photos based on subject of the photo. For example, if you search for "trees", Photos will show all photos with trees even if you haven't tagged or labeled the photos as such. osxphotos provides access to these through the [labels](https://github.com/RhetTbull/osxphotos#labels) property. + +The data for the image classification labels is stored in `Photos Library.photoslibrary/database/search/psi.sqlite` which has the following schema: +- [Photos 5](foo) + +See also this [post](https://simonwillison.net/2020/May/21/dogsheep-photos/) by Simon Willison.