jatinbittu13 commited on
Commit
1528743
1 Parent(s): 5703edd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -66,6 +66,7 @@ def verify(model, detection_threshold, verification_threshold):
66
 
67
 
68
  def take_ver_images (image):
 
69
  for file in os.listdir(os.path.join('application_data', 'verification_images')):
70
  os.remove(file)
71
  cv2.imwrite(os.path.join('application_data', 'verification_images', '{}.jpg'.format(uuid.uuid1())), image)
 
66
 
67
 
68
  def take_ver_images (image):
69
+ count=0
70
  for file in os.listdir(os.path.join('application_data', 'verification_images')):
71
  os.remove(file)
72
  cv2.imwrite(os.path.join('application_data', 'verification_images', '{}.jpg'.format(uuid.uuid1())), image)