Skip to content

Commit

Permalink
Change validation images
Browse files Browse the repository at this point in the history
  • Loading branch information
erickrdgs committed Aug 3, 2018
1 parent 2ad321c commit 6e319a3
Show file tree
Hide file tree
Showing 13 changed files with 118 additions and 40 deletions.
1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

143 changes: 109 additions & 34 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions code/recognition-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@

# Limiar
if dists[min] <= 0.5:
name = "Barack Obama"
else:
name = "Unknown"

cv2.rectangle(img, (l, t), (r, b), (0, 0, 255), 2)
cv2.putText(img, name, (r, t), cv2.FONT_HERSHEY_COMPLEX_SMALL, 0.5, (0, 0, 255))
cv2.rectangle(img, (l, t), (r, b), (0, 255, 255), 2)
cv2.putText(img, "Obama", (r, t), cv2.FONT_HERSHEY_COMPLEX_SMALL, 1, (0, 0, 255))

cv2.imshow("Face Recognition", img)
cv2.waitKey(0)
Expand Down
Binary file modified photos/validation/Validation1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/Validation2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/Validation3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/Validation4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/Validation5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/Validation7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/validation11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added photos/validation/validation16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photos/validation/validation8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e319a3

Please sign in to comment.