Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
c4ba7988
Commit
c4ba7988
authored
Jun 08, 2013
by
Davis King
Browse files
clarified python usage instructions
parent
fba1e064
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
python_examples/sequence_segmenter.py
python_examples/sequence_segmenter.py
+6
-4
python_examples/svm_rank.py
python_examples/svm_rank.py
+6
-5
No files found.
python_examples/sequence_segmenter.py
View file @
c4ba7988
...
@@ -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
...
...
python_examples/svm_rank.py
View file @
c4ba7988
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment