NovatecConsulting / FaceRecognition-in-ARKit

Detects faces using the Vision-API and runs the extracted face through a CoreML-model to identiy the specific persons.
MIT License
832 stars 114 forks source link

From where do you show the image icon of the recognized person ? #7

Closed umarF closed 6 years ago

umarF commented 6 years ago

Hi,

I went through the code but I couldnt make out how are you able to show the image icon of the person who's recognized like Boris with his image.

Where are those image being pulled from ? and which part of code handles it.

Thanks.

m-ruhl commented 6 years ago

Hi @umarF,

The images were included as resources in the app, but I didn't upload those here.

It just looks for an image as the person's name: https://github.com/NovaTecConsulting/FaceRecognition-in-ARKit/blob/6f8d886a861a162475402c5f4dfa200c376e6b28/faceIT/SCNNode%2BText.swift#L41

umarF commented 6 years ago

Thanks.