sudo brew install boost
sudo brew install boost-python
ski-image
sudo pip install scikit-image
sudo pip install 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
According to here, you will need to include XQuartz. When I put it in this method, the error disappeared
Recommended Posts