Creating msqrd or snapchat filters using javascript

匆匆过客 提交于 2019-12-08 09:56:39

问题


I am trying to implement msqrd/snapchat fiters in a fashion related phonegap mobile app. Is there any way I can implement these filters using javascript?


回答1:


I think you are looking for a library that performs facial recognition and masking using Constrained Local Models. Fortunately there's someone who has made a JavaScript library for that: https://github.com/auduno/clmtrackr




回答2:


The best way to do that is to use Jeeliz Facefilter API here : https://github.com/jeeliz/jeelizFaceFilter There are various integration examples with different 3D engines (THREE.JS, BABYLON.JS, A-FRAME) or CSS3D. It is faster than clmtrackr and it works on mobile devices.



来源:https://stackoverflow.com/questions/38369447/creating-msqrd-or-snapchat-filters-using-javascript

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