Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
0268e274
Commit
0268e274
authored
Mar 14, 2019
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docs
parent
e72d5c71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
compile.xml
docs/docs/compile.xml
+18
-15
No files found.
docs/docs/compile.xml
View file @
0268e274
...
...
@@ -9,21 +9,24 @@
<center><h1>
Using dlib from Python
</h1></center>
<p>
Go to the base folder of the dlib repository and run
<tt>
python setup.py install
</tt>
.
Once that command finishes running
you are ready to use dlib from Python. Note that you need to
have CMake and a working C++ compiler installed for this to
work.
</p>
<p>
Also note that various optional features like GUI support (e.g.
dlib.image_window) and CUDA acceleration will be automatically enabled or
disabled based on what is available on your computer. When you run
the install command it will print messages telling you what it is
using. Read those messages and take appropriate action if you
don't like the results. For example, Linux and OSX users may have
to install libX11 to use the GUI tools. If you care about this
then read the messages since they tell you how to get these
optional features installed.
Either run
<tt>
pip install dlib --verbose
</tt>
or grab the latest sources
from github, go to the base folder of the dlib repository,
and run
<tt>
python setup.py install
</tt>
. Once either of these commands
finishes running you are ready to use dlib from Python. Note
that you need to have CMake and a working C++ compiler
installed for this to work.
</p>
<p>
Also note that various optional features like GUI support (e.g.
dlib.image_window) and CUDA acceleration will be automatically
enabled or disabled based on what is available on your computer.
When you run the install command it will print messages telling
you what it is using. Read those messages and take appropriate
action if you don't like the results. For example, Linux and
OSX users may have to install libX11 to use the GUI tools. If
you care about this then read the messages since they tell you
how to get these optional features installed.
</p>
<p>
Alternatively, if you want to add more python bindings to dlib's
...
...
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