What is the best api for compare/recognize faces?

Hi,
Can you please tell me what is the best way using api, recognize faces and grouping them.