提交 5fe85a1a 编写于 作者: A Anand Baburajan 提交者: Adam Geitgey

Prints skipped training images

上级 f7378537
......@@ -56,6 +56,8 @@ for person in train_dir:
# Add face encoding for current image with corresponding label (name) to the training data
encodings.append(face_enc)
names.append(person)
else:
print(person + "/" + person_img + " was skipped and can't be used for training")
# Create and train the SVC classifier
clf = svm.SVC(gamma='scale')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册