I've been looking into the amazing world of openCV for a coming little project of mine. I've managed to track my face using the webcam and do some of the other operations that opvenCV provides. I would like to be able to take one and only one snapshot of each different face that is detected. So I am trying to work out a way to tell whether the tracked face has been captured before or not. Is there a way with openCV to compare two faces and figure out whether it's the same person or not? Something tells me that this is not a straight forward task and requires some advanced deep learning magic, but I'd be curious to hear any thoughts.