Replies: 8 comments 35 replies
-
Yes it is possible. JEEFACEFILTERAPI.init({
NNC: NEURALNETWORKMODEL,
videoSettings: {
videoElement: FAKEVIDEOELEMENT
},
// ... otherSettings
}); Where you init const arrayBuffer = new Uint8Array(vw*vh*4); // vw and vh are video width and height in pixels
FAKEVIDEOELEMENT = {
isFakeVideo: true, //always true
arrayBuffer: arrayBuffer,// the WeChat video arrayBuffer
videoHeight: vh, // height in pixels
videoWidth: vw, //width in pixels
needsUpdate: true // boolean
}; and Once you update |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply , Here is demo |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi, xavierjs I have tested the latest version you uploaded, then It can run normally in the monitor of Weixin Devtool. unfortunately, It cannot be shown the cube within face in real phone, but the background video mesh is show normally. I did different experiments , It doesn't work. actually, I am not an professional in webgl area, ask for your help. |
Beta Was this translation helpful? Give feedback.
-
The first thing is to setup the env in your local machine. so you do some tests for yourself. |
Beta Was this translation helpful? Give feedback.
-
It should work on https://github.com/xavierjs/minicodear, |
Beta Was this translation helpful? Give feedback.
-
Hi @wulixu Whats up on this issue? |
Beta Was this translation helpful? Give feedback.
-
I found comment about wechat in the file jeelizFaceFilter.moduleNoDOM.js
![image](https://user-images.githubusercontent.com/1032477/142969613-9cade31b-3358-454f-8683-0b7e2c17e033.png)
Is there any demos or tutorial about this topic?
Beta Was this translation helpful? Give feedback.
All reactions