iosios11face-recognitionimage-recognitionapple-vision

Classify faces from VNFaceObservation


I'm working with Vision framework to detect faces and objects on multiple images and works fantastic.

But I have a question that I can't find on documentation. The Photos app on iOS classify faces and you can click on face and show all the images with this face.

How can I classify faces like Photos app? Is there any unique identifier or similar to do this?

Thanks!


Solution

  • You might want to check out this repo https://github.com/KimDarren/FaceCropper

    I tested this and works very well, you can even customise as per your need.