mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
clarified python usage instructions
This commit is contained in:
parent
fba1e06436
commit
c4ba79883c
@ -11,10 +11,12 @@
|
||||
# our segmentation model we can use it to find names in new sentences, as we will show.
|
||||
#
|
||||
# COMPILING THE DLIB PYTHON INTERFACE
|
||||
# You need to compile the dlib python interface before you can use this file. To do
|
||||
# this, 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
|
||||
# Dlib comes with a compiled python interface for python 2.7 on MS Windows. If
|
||||
# you are using another python version or operating system then you need to
|
||||
# compile the dlib python interface before you can use this file. To do this,
|
||||
# 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
|
||||
|
@ -14,11 +14,12 @@
|
||||
# come to the top of the ranked list.
|
||||
#
|
||||
# COMPILING THE DLIB PYTHON INTERFACE
|
||||
# You need to compile the dlib python interface before you can use this file.
|
||||
# To do this, 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
|
||||
# Dlib comes with a compiled python interface for python 2.7 on MS Windows. If
|
||||
# you are using another python version or operating system then you need to
|
||||
# compile the dlib python interface before you can use this file. To do this,
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user