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
f2f4e9d0
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "38466c369f5c539ec068e9e19bbe26a0f591ff2e"
Commit
f2f4e9d0
authored
Mar 12, 2015
by
Jack Culpepper
Browse files
run on telling example
parent
9b78932a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
python_examples/face_detector_scores_idx.py
python_examples/face_detector_scores_idx.py
+13
-0
No files found.
python_examples/face_detector_scores_idx.py
0 → 100644
View file @
f2f4e9d0
from
PIL
import
Image
import
numpy
as
np
import
dlib
img
=
np
.
array
(
Image
.
open
(
'../examples/faces/2008_002506.jpg'
))
detector
=
dlib
.
get_frontal_face_detector
()
dets
,
scores
,
idx
=
detector
.
run
(
img
,
1
)
for
i
,
d
in
enumerate
(
dets
):
print
d
,
scores
[
i
],
idx
[
i
]
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