dlib 实战

2016-10-13 Frank Python

环境

  • win10/centos7/Mac
  • dlib

下载源码

git clone git@github.com:davisking/dlib.git

训练人脸

cd python_examples
python train_object_detector.py ../examples/faces
#win10报错
RuntimeError: Unable to load image in file 2007_007763.jpg.
You must #define DLIB_JPEG_SUPPORT and link to libjpeg to read JPEG files.
# 待解决

#centos 报错
AttributeError: 'module' object has no attribute 'image_window'
# 因为没有桌面

win10和远程centos7都没有正常运行完example,后来在mac上运行成功。

标签: dlib

发表评论 登录

Top