Putting a 3D face filter by using the Vision API

感情迁移 提交于 2020-01-02 06:15:31

问题


The similar question has been asked here: Add 2D or 3D Face Filters like MSQRD/SnapChat Using Google Vision API for iOS. However, it has not been answered yet.

Essentially, my work assignment is to put a 3D face filter on a person's face while the phone's front-facing camera is being used.

Given that the Mobile Vision API/the GitHub Android Vision project provide a way to detect a human face and stick some drawable images on it, but what my users want is a 3D object (cat or dog face) like what Facebook, Instagram, Snapchat, etc. have done.

I am also looking at Unity/Vuforia, but I have no idea how to integrate a Unity project to our Android app. What I want is to use a button to turn on/select this feature.

Added at 8th June 2018 Based on my reading, I believe Vuforia isn't designed for making a Face Filter on Android, and it's not that difficult to use the Android API on Unity. But, I have no idea how to do it another way around such as clicking a button to call the Unity Facial Filter plugged-in(like XZIMG) function to use the Facial Mask / Filter feature with the camera.

来源:https://stackoverflow.com/questions/50515317/putting-a-3d-face-filter-by-using-the-vision-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!