openface
我按照以下步骤安装在虚拟环境中。
git clone https://github.com/cmusatyalab/openface
cd openface
python setup.py install
执行后它给了我以下输出python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Writing C:\Users\Haneesh\PycharmProjects\Medium\venv\Lib\site-packages\openface-0.2.1-py3.6.egg-info
但是当我openface
在 python 中导入时,会出现以下错误
(venv) C:\Users\Haneesh\PycharmProjects\Medium\openface>.\util\align-dlib.py .\training-images\ align outerEyesAndNose .\aligned-images\ --size 96
Traceback (most recent call last):
File "C:\Users\Haneesh\PycharmProjects\Medium\openface\util\align-dlib.py", line 24, in <module>
import openface
ImportError: No module named openface
我也尝试在 python 控制台中导入 openface,但没有成功。