updated docs

This commit is contained in:
Davis King 2019-03-14 07:59:22 -04:00
parent e72d5c71f1
commit 0268e27481

View File

@ -9,21 +9,24 @@
<center><h1>Using dlib from Python</h1></center> <center><h1>Using dlib from Python</h1></center>
<p> <p>
Go to the base folder of the dlib repository and run <tt>python setup.py install</tt>. Either run <tt>pip install dlib --verbose</tt> or grab the latest sources
Once that command finishes running from github, go to the base folder of the dlib repository,
you are ready to use dlib from Python. Note that you need to and run <tt>python setup.py install</tt>. Once either of these commands
have CMake and a working C++ compiler installed for this to finishes running you are ready to use dlib from Python. Note
work. </p> 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. <p>
dlib.image_window) and CUDA acceleration will be automatically enabled or Also note that various optional features like GUI support (e.g.
disabled based on what is available on your computer. When you run dlib.image_window) and CUDA acceleration will be automatically
the install command it will print messages telling you what it is enabled or disabled based on what is available on your computer.
using. Read those messages and take appropriate action if you When you run the install command it will print messages telling
don't like the results. For example, Linux and OSX users may have you what it is using. Read those messages and take appropriate
to install libX11 to use the GUI tools. If you care about this action if you don't like the results. For example, Linux and
then read the messages since they tell you how to get these OSX users may have to install libX11 to use the GUI tools. If
optional features installed. you care about this then read the messages since they tell you
how to get these optional features installed.
</p> </p>
<p> <p>
Alternatively, if you want to add more python bindings to dlib's Alternatively, if you want to add more python bindings to dlib's