使用AR Core我想做类似Snapchat的人脸过滤和AR。是否有一个带有源代码的示例应用程序,我可以将其视为参考?
在撰写本文时,ARCore不适合面部跟踪和过滤。你可以使用OpenCV和他们的Face Recongition API。
对于具有里程碑意义的检测,有Facial Landmark API可供您在Google Play上找到非官方的demo app。
谷歌刚刚发布了他们的Augmented Faces SDK:
https://developers.google.com/ar/develop/unity/augmented-faces/
这将为您提供面部基本网格,以便您可以放置任何“过滤器”