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
2cf6b9d5
Commit
2cf6b9d5
authored
Nov 25, 2018
by
Nishant Charas
Committed by
Davis E. King
Nov 25, 2018
Browse files
printing error (#1568)
parent
165d1e35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python_examples/train_object_detector.py
python_examples/train_object_detector.py
+1
-1
No files found.
python_examples/train_object_detector.py
View file @
2cf6b9d5
...
@@ -127,7 +127,7 @@ detector1 = dlib.fhog_object_detector("detector.svm")
...
@@ -127,7 +127,7 @@ detector1 = dlib.fhog_object_detector("detector.svm")
# In this example we load detector.svm again since it's the only one we have on
# In this example we load detector.svm again since it's the only one we have on
# hand. But in general it would be a different detector.
# hand. But in general it would be a different detector.
detector2
=
dlib
.
fhog_object_detector
(
"detector.svm"
)
detector2
=
dlib
.
fhog_object_detector
(
"detector.svm"
)
# make a list of all the detectors you wan to run. Here we have 2, but you
# make a list of all the detectors you wan
t
to run. Here we have 2, but you
# could have any number.
# could have any number.
detectors
=
[
detector1
,
detector2
]
detectors
=
[
detector1
,
detector2
]
image
=
dlib
.
load_rgb_image
(
faces_folder
+
'/2008_002506.jpg'
)
image
=
dlib
.
load_rgb_image
(
faces_folder
+
'/2008_002506.jpg'
)
...
...
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