You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package uses an offscreen renderer for rendering face models, and display the result using DearPyGui.
This doesn't do much beside letting you visualize your face recognition result.
Windows offscreen rendering capability is spotty so this is only really working on linux.
This however, runs quite well as we test in WSL.
Install
This repository uses a fork of pyrender which computes vertex for linear blendshape on GLSL shader for slightly faster interactive manipulation.
It would be installed via requirement.txt.
Wayland (Ubuntu)
On ubuntu the context might return 0
See more: mcfletch/pyopengl#104
But a potential fix for now is to directly edit
site-packages/OpenGL/contextdata.py
defgetContext( context=None ):
"""Get the context (if passed, just return) context -- the context ID, if None, the current context """ifcontextisNone:
context=platform.GetCurrentContext()
# if context == 0:# from OpenGL import error# raise error.Error(# """Attempt to retrieve context when no valid context"""# )returncontext
Animation Format
Animation are simply dictionaries stored as a pickle file.