LoginSignup
5

More than 5 years have passed since last update.

macでdlibのインストールのメモ

Last updated at Posted at 2015-11-16

boostのインストール

参考

sudo brew install boost
sudo brew install boost-python 

ski-image

sudo pip install scikit-image

dlibインストール

sudo pip install dlib

dlib実行時のエラー

50071 FATAL [1] dlib.gui_core: Unable to connect to the X display.
Traceback (most recent call last):
  File "./gen_detecter.py", line 81, in <module>
    win_det = dlib.image_window()
RuntimeError: Failed to initialize X11 resources

こちらによれば、XQuartzを入れる必要がありそう。
こちらの方法で入れたら、エラーが消えた

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5