If you look at the apple photos db you'll see that there is a bunch of cached pre-analysis you can leverage for items in apple photos.