Updated Machine Learning Photo Classification in Photos 5 (markdown)

Rhet Turnbull
2020-08-25 14:18:16 -07:00
parent c5cf048cc5
commit 595ef1bcae

@@ -1,6 +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)
- [Photos 5](https://github.com/RhetTbull/osxphotos/wiki/psi.sqlite-schema-(Photos-5))
See also this [post](https://simonwillison.net/2020/May/21/dogsheep-photos/) by Simon Willison.