FAQ

How to make motion capture work?

  1. No loose clothing
  2. No solid color clothes
  3. Keep the full body in the image, no half body
  4. Keep the camera static

ImportError: cannot import name ‘OSMesaCreateContextAttribs’ from ‘OpenGL.osmesa’ (/home/qing/miniconda3/envs/easymocap/lib/python3.9/site-packages/OpenGL/osmesa/init.py)

Check Install pyrender in a server:

ImportError: (‘Unable to load OpenGL library’, ‘OSMesa: cannot open shared object file: No such file or directory’, ‘OSMesa’, None)

In Linux, you should make sure that you have installed osmesa. See Install osmesa with sudo

NoSuchDisplayException: Cannot connect to “None”

Run export PYOPENGL_PLATFORM=osmesa.