Created Machine Learning Photo Classification in Photos 5 (markdown)

Rhet Turnbull
2020-08-25 14:16:36 -07:00
parent c003d75856
commit deab1bf591

@@ -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.