mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
printing error (#1568)
This commit is contained in:
parent
165d1e356b
commit
2cf6b9d556
@ -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 want 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')
|
||||||
|
Loading…
Reference in New Issue
Block a user