npc0 commited on
Commit
60f5060
·
1 Parent(s): 66e2753

listdir see if image exist

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -6,6 +6,8 @@ if not os.path.exists("biden.jpg"):
6
  urllib.request.urlretrieve("https://github.com/ageitgey/face_recognition/blob/master/examples/obama.jpg?raw=true")
7
  urllib.request.urlretrieve("https://github.com/ageitgey/face_recognition/blob/master/examples/obama2.jpg?raw=true")
8
 
 
 
9
  import face_recognition
10
 
11
  # Often instead of just checking if two faces match or not (True or False), it's helpful to see how similar they are.
 
6
  urllib.request.urlretrieve("https://github.com/ageitgey/face_recognition/blob/master/examples/obama.jpg?raw=true")
7
  urllib.request.urlretrieve("https://github.com/ageitgey/face_recognition/blob/master/examples/obama2.jpg?raw=true")
8
 
9
+ print(os.listdir())
10
+
11
  import face_recognition
12
 
13
  # Often instead of just checking if two faces match or not (True or False), it's helpful to see how similar they are.