如何在Windows python中安装Openface

Viv*_*shi 7 python windows installation face-recognition deep-learning

我是Openface的新手.由于某些原因,我想在Windows中使用python安装Openface.如果有人能引导我完成这件事,那就太棒了.我在网上搜索过,但没有一篇文章谈到windows python的安装.可能是我问了一个非常简单的问题,但请帮我解决这个问题.

Bra*_*mos 7

我不知道直接在Windows上使用OpenFace,但是如果您开始进行此工作,请对存储库进行必要的任何更改。我希望仅Linux功能会存在一些兼容性问题。

解决方法是使用Docker机器在Windows上预构建的OpenFace Docker容器。其中一些来自《OpenFace安装指南》。首先在Windows上启动Linux Docker计算机。然后从此处拉出OpenFace泊坞窗容器:

docker pull bamos/openface
docker run -p 9000:9000 -p 8000:8000 -t -i bamos/openface /bin/bash
cd /root/openface
./demos/compare.py images/examples/{lennon*,clapton*}
./demos/classifier.py infer models/openface/celeb-classifier.nn4.small2.v1.pkl ./images/examples/carell.jpg
./demos/web/start-servers.sh
Run Code Online (Sandbox Code Playgroud)