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
c1b1ac95
"cmake/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "cb2bc69b5538bf1f3d1b999987b28b5d1ac90ba0"
Commit
c1b1ac95
authored
Jan 22, 2018
by
Davis King
Browse files
Removed references to boost.python since it's no longer needed.
parent
989e72e0
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
52 additions
and
79 deletions
+52
-79
docs/docs/faq.xml
docs/docs/faq.xml
+0
-27
python_examples/cnn_face_detector.py
python_examples/cnn_face_detector.py
+4
-4
python_examples/correlation_tracker.py
python_examples/correlation_tracker.py
+3
-3
python_examples/face_alignment.py
python_examples/face_alignment.py
+3
-3
python_examples/face_clustering.py
python_examples/face_clustering.py
+3
-3
python_examples/face_detector.py
python_examples/face_detector.py
+3
-3
python_examples/face_jitter.py
python_examples/face_jitter.py
+3
-3
python_examples/face_landmark_detection.py
python_examples/face_landmark_detection.py
+3
-3
python_examples/face_recognition.py
python_examples/face_recognition.py
+3
-3
python_examples/find_candidate_object_locations.py
python_examples/find_candidate_object_locations.py
+3
-3
python_examples/global_optimization.py
python_examples/global_optimization.py
+3
-3
python_examples/max_cost_assignment.py
python_examples/max_cost_assignment.py
+3
-3
python_examples/sequence_segmenter.py
python_examples/sequence_segmenter.py
+3
-3
python_examples/svm_binary_classifier.py
python_examples/svm_binary_classifier.py
+3
-3
python_examples/svm_rank.py
python_examples/svm_rank.py
+3
-3
python_examples/svm_struct.py
python_examples/svm_struct.py
+3
-3
python_examples/train_object_detector.py
python_examples/train_object_detector.py
+3
-3
python_examples/train_shape_predictor.py
python_examples/train_shape_predictor.py
+3
-3
No files found.
docs/docs/faq.xml
View file @
c1b1ac95
...
@@ -54,33 +54,6 @@ cmake --build . --config Release
...
@@ -54,33 +54,6 @@ cmake --build . --config Release
<!-- ****************************************** -->
<!-- ****************************************** -->
<question
text=
"Why won't the Python bindings compile/work?"
>
To compile dlib's Python bindings you need a correctly installed copy of Boost.Python.
If you are getting errors either during compile time or when you try to import dlib
then it is
<b>
very likely
</b>
that you have installed Boost.Python incorrectly.
<p>
<b>
It is critical that the copy of Boost.Python you are using is compiled against the specific
version of the Python interpreter you are trying to use.
</b>
If this is not the case then it won't work.
Here are some reasons why you might not have a correct install of Boost.Python
<ul>
<li>
You downloaded Boost.Python binaries from the internet and
they aren't build for whatever Python you are using. The fix
for this is to either find the correct Boost.Python binaries
or build Boost.Python yourself.
</li>
<li>
You have more than one copy of Python installed on your computer. The build scripts will try to use
whatever python is in your path when you build. So you need to be consistent about what python interpreter you are using.
Everything, both dlib and boost, need to be compiled against the specific Python interpreter you want to use. The simplest thing to do is to
delete other Python interpreters from your machine so there is no confusion.
</li>
</ul>
Other problems users have reported are compiler errors related to X11. This is pretty much always
caused by Anaconda, which includes broken X11 headers in its distribution. Delete Anaconda if you have
this problem.
</p>
</question>
<!-- ****************************************** -->
<question
text=
"Why is dlib slow?"
>
<question
text=
"Why is dlib slow?"
>
Dlib isn't slow. I get this question many times a week and 95% of the time it's from someone
Dlib isn't slow. I get this question many times a week and 95% of the time it's from someone
using Visual Studio who has compiled their program in Debug mode rather than the optimized
using Visual Studio who has compiled their program in Debug mode rather than the optimized
...
...
python_examples/cnn_face_detector.py
View file @
c1b1ac95
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
# and you have CUDA installed since this makes things run *much* faster.
# and you have CUDA installed since this makes things run *much* faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
@@ -82,4 +82,4 @@ for f in sys.argv[2:]:
...
@@ -82,4 +82,4 @@ for f in sys.argv[2:]:
win
.
clear_overlay
()
win
.
clear_overlay
()
win
.
set_image
(
img
)
win
.
set_image
(
img
)
win
.
add_overlay
(
rects
)
win
.
add_overlay
(
rects
)
dlib
.
hit_enter_to_continue
()
dlib
.
hit_enter_to_continue
()
\ No newline at end of file
python_examples/correlation_tracker.py
View file @
c1b1ac95
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/face_alignment.py
View file @
c1b1ac95
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
# installed.
# installed.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires OpenCV and Numpy which can be installed
# Also note that this example requires OpenCV and Numpy which can be installed
# via the command:
# via the command:
...
...
python_examples/face_clustering.py
View file @
c1b1ac95
...
@@ -24,9 +24,9 @@
...
@@ -24,9 +24,9 @@
# installed.
# installed.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/face_detector.py
View file @
c1b1ac95
...
@@ -33,9 +33,9 @@
...
@@ -33,9 +33,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/face_jitter.py
View file @
c1b1ac95
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
# installed.
# installed.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires OpenCV and Numpy which can be installed
# Also note that this example requires OpenCV and Numpy which can be installed
# via the command:
# via the command:
...
...
python_examples/face_landmark_detection.py
View file @
c1b1ac95
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/face_recognition.py
View file @
c1b1ac95
...
@@ -36,9 +36,9 @@
...
@@ -36,9 +36,9 @@
# installed.
# installed.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/find_candidate_object_locations.py
View file @
c1b1ac95
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/global_optimization.py
View file @
c1b1ac95
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
# python setup.py install
# python setup.py install
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
dlib
import
dlib
...
...
python_examples/max_cost_assignment.py
View file @
c1b1ac95
...
@@ -18,9 +18,9 @@
...
@@ -18,9 +18,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
dlib
import
dlib
...
...
python_examples/sequence_segmenter.py
View file @
c1b1ac95
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
sys
import
sys
import
dlib
import
dlib
...
...
python_examples/svm_binary_classifier.py
View file @
c1b1ac95
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
dlib
import
dlib
...
...
python_examples/svm_rank.py
View file @
c1b1ac95
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
dlib
import
dlib
...
...
python_examples/svm_struct.py
View file @
c1b1ac95
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
import
dlib
import
dlib
...
...
python_examples/train_object_detector.py
View file @
c1b1ac95
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
python_examples/train_shape_predictor.py
View file @
c1b1ac95
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
# things run faster.
# things run faster.
#
#
# Compiling dlib should work on any operating system so long as you have
# Compiling dlib should work on any operating system so long as you have
# CMake
and boost-python
installed. On Ubuntu, this can be done easily by
# CMake installed. On Ubuntu, this can be done easily by
running the
#
running the
command:
# command:
# sudo apt-get install
libboost-python-dev
cmake
# sudo apt-get install cmake
#
#
# Also note that this example requires scikit-image which can be installed
# Also note that this example requires scikit-image which can be installed
# via the command:
# via the command:
...
...
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