Ibtehaj10 commited on
Commit
883e101
·
1 Parent(s): 68b39f3

Update Login.py

Browse files
Files changed (1) hide show
  1. Login.py +2 -2
Login.py CHANGED
@@ -637,7 +637,7 @@ if (ids in idS) and(str(Pswd) in Pwd):
637
  cv2.putText(frame,'Mobile',(50, 50),cv2.FONT_HERSHEY_PLAIN, 1,(0, 0, 255),2,cv2.LINE_4)
638
  kpil3_text.write(f"<h5 style='text-align: left; color:red;'>{mobile}{text}</h5>", unsafe_allow_html=True)
639
  db['Mobile']=mobile+' '+text
640
- name = "/screenshot/"+str(date_time) + '.jpg'
641
  print ('Creating...' + name)
642
 
643
  # writing the extracted images
@@ -661,7 +661,7 @@ if (ids in idS) and(str(Pswd) in Pwd):
661
 
662
 
663
  db['Watch']=watch
664
- name = "/screenshot/"+str(date_time) + '.jpg'
665
  print ('Creating...' + name)
666
  cv2.imwrite(name, frame)
667
 
 
637
  cv2.putText(frame,'Mobile',(50, 50),cv2.FONT_HERSHEY_PLAIN, 1,(0, 0, 255),2,cv2.LINE_4)
638
  kpil3_text.write(f"<h5 style='text-align: left; color:red;'>{mobile}{text}</h5>", unsafe_allow_html=True)
639
  db['Mobile']=mobile+' '+text
640
+ name = "screenshot/"+str(date_time) + '.jpg'
641
  print ('Creating...' + name)
642
 
643
  # writing the extracted images
 
661
 
662
 
663
  db['Watch']=watch
664
+ name = "screenshot/"+str(date_time) + '.jpg'
665
  print ('Creating...' + name)
666
  cv2.imwrite(name, frame)
667