MakeItTalk
MakeItTalk copied to clipboard
glfw popup
how to cancel glfw's popup? and how to do off-screen rendering?
I do it using x11 server.
First you need to install it:
apt-get install -y xvfb x11-utils
pip install pyvirtualdisplay==0.2.* PyOpenGL==3.1.* PyOpenGL-accelerate==3.1.*
And import it in your code:
import pyvirtualdisplay
_display = pyvirtualdisplay.Display(visible=False, # use False with Xvfb
size=(1400, 900))
_ = _display.start()
Works for me in google colab