Ubuntu16.04 安装dlib face_recognition

前端之家收集整理的这篇文章主要介绍了Ubuntu16.04 安装dlib face_recognition前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

http://www.pyimagesearch.com/2017/03/27/how-to-install-dlib/

  1. Installing CMake,Boost,Boost.Python,and X11 can be accomplished easily with apt-get :
$ sudo apt-get install build-essential cmake
$ sudo apt-get install libgtk-3-dev
$ sudo apt-get install libboost-all-dev
  1. 创建venv环境,进入venv,并用pip安装face_recognition
pip3 install face_recognition
  1. 测试安装是否成功
import dlib
import face_recognition

猜你在找的Ubuntu相关文章