Skip to content

Commit

Permalink
Update verify_user.py
Browse files Browse the repository at this point in the history
update comment for each feature
  • Loading branch information
nguyen-tho authored Nov 17, 2023
1 parent ba0daef commit 3136c7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions verify_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ def find_user(image, data_path, model_name='VGG-Face'):
return [str(user_name), round(acc*100, 3)]
#return max_count_name, acc

find_identity()
#check_attendance('tho')
#check_realtime('tho')
find_identity() #find identity of user by a realtime video
#check_attendance('tho') verify a user based on an image captured by webcam
#check_realtime('tho')# verify user using a realtime video on webcam

def check_attendance_v2():
image = capture_image()
Expand All @@ -232,4 +232,4 @@ def check_attendance_v2():

cv2.destroyAllWindows()

#check_attendance_v2()
#check_attendance_v2() #check identity based on an image captured by webcam

0 comments on commit 3136c7e

Please sign in to comment.