R
R
Rustem Saifullin2020-10-07 23:55:23
iOS
Rustem Saifullin, 2020-10-07 23:55:23

Is it possible to get photos from the people album on iPhone?

Good afternoon, for my project, you need to recognize faces in photos, and I decided not to do this a second time if Apple already has this (pictured). Is it possible to get these albums through the code? If so, how? Through PHLibrary I could not find these albums.5f7e2b2b99b2e654877397.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rustem Saifullin, 2020-10-24
@i_rustem

In short, it doesn't seem possible.

D
dollar, 2020-10-08
@dollar

I doubt that Apple will just take and share people's data with any code. Most likely, even if this happens in the future, this will be accompanied by an appropriate option in the privacy settings. Open these settings and see if there are "people with a photo" there. As far as I know there is no such option.
On the other hand, you can parse the XMP profile of an image file and extract some data from there. I don't know for sure if it's possible to access from apps directly on the iPhone. But if you download all the photos to your computer, then you can further analyze the files with whatever you like.

The data looks something like this (one face in the photo):
5f7e59483e816860869816.png

It remains only to find a match between the full name and id of persons.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question