"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "38466c369f5c539ec068e9e19bbe26a0f591ff2e"
Commit f2f4e9d0 authored by Jack Culpepper's avatar Jack Culpepper
Browse files

run on telling example

parent 9b78932a
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]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment