Skip to content

Commit

Permalink
Prints skipped training images
Browse files Browse the repository at this point in the history
  • Loading branch information
anandbaburajan authored and ageitgey committed Dec 18, 2019
1 parent f737853 commit 5fe85a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/face_recognition_svm.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
# 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')
Expand Down

0 comments on commit 5fe85a1

Please sign in to comment.