Closed yeemachine closed 3 years ago
No idea, I can't seem to reproduce this problem, could you provide a minimal demo for reproduction?
I couldn't reproduce it either with a minimal demo, using Math.random on the param values. Must be the amount of memory the facial tracking takes. I'll close this for now.
Hi again. I've been having some performance issues in the Live2D face tracked web app I'm currently developing. I am currently updating the Live2D parameters as shown below how you've demoed in a pen in the past, but it seems that after a couple of minutes on my iphone/mac, the CPU will start spiking in temp, throttle the frame rate for a couple seconds, and then go back to normal, before eventually forcing a page refresh.
The page still runs fine with both the Live2D model and Tensorflow face tracking running concurrently but stutters when the values are being updated in the update functions.
Any clue on if this is a Live2D inherent issue? or if there's a better way to set these params? Or if inherent animations within Live2D models will cause conflicts with setParamFloat? The output from face capture is fairly noisy, and does update every animationFrame.