Commit c4ba7988 authored by Davis King's avatar Davis King

clarified python usage instructions

parent fba1e064
...@@ -11,10 +11,12 @@ ...@@ -11,10 +11,12 @@
# our segmentation model we can use it to find names in new sentences, as we will show. # our segmentation model we can use it to find names in new sentences, as we will show.
# #
# COMPILING THE DLIB PYTHON INTERFACE # COMPILING THE DLIB PYTHON INTERFACE
# You need to compile the dlib python interface before you can use this file. To do # Dlib comes with a compiled python interface for python 2.7 on MS Windows. If
# this, run compile_dlib_python_module.bat. This should work on any operating system so # you are using another python version or operating system then you need to
# long as you have CMake and boost-python installed. On Ubuntu, this can be done easily # compile the dlib python interface before you can use this file. To do this,
# by running the command: sudo apt-get install libboost-python-dev cmake # run compile_dlib_python_module.bat. This should work on any operating system
# so long as you have CMake and boost-python installed. On Ubuntu, this can be
# done easily by running the command: sudo apt-get install libboost-python-dev cmake
import dlib import dlib
......
...@@ -14,11 +14,12 @@ ...@@ -14,11 +14,12 @@
# come to the top of the ranked list. # come to the top of the ranked list.
# #
# COMPILING THE DLIB PYTHON INTERFACE # COMPILING THE DLIB PYTHON INTERFACE
# You need to compile the dlib python interface before you can use this file. # Dlib comes with a compiled python interface for python 2.7 on MS Windows. If
# To do this, run compile_dlib_python_module.bat. This should work on any # you are using another python version or operating system then you need to
# operating system so long as you have CMake and boost-python installed. On # compile the dlib python interface before you can use this file. To do this,
# Ubuntu, this can be done easily by running the command: # run compile_dlib_python_module.bat. This should work on any operating system
# sudo apt-get install libboost-python-dev cmake # so long as you have CMake and boost-python installed. On Ubuntu, this can be
# done easily by running the command: sudo apt-get install libboost-python-dev cmake
import dlib import dlib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment