Spaces:
Runtime error
Runtime error
Update Login.py
Browse files
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 = "
|
| 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 = "
|
| 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 |
|